DLTGENOBJ – Delete Generic Object

0 Comments

DLTGENOBJ

DLTGENOBJ – Delete IBM i Objects using GENERIC values

Powerful and Dangerous. Useful and Risky. Time-Saving and testicle tightening.

Nick Litten.

The DLTGENOBJ command let use delete all objects that match a generic file name mask in one deft swoop.

EXAMPLE – Deleting all TEST* Objects in QTEMP

To delete all objects beginning with TEST in lib(QTEMP):

DLTGENOBJ OBJ(QTEMP/TEST) TYPE(*ALL)

I created a variety of object types in my QTEMP library all beginning with the TEST:

When I run the generic delete command, with extreme caution, I delete TEST* in QTEMP for all object types:

dltgenobj qtemp/test* *all                          
Deleting completed normally: 00011 objects deleted

CAUTION

Use this command with extreme caution.

refer to CAUTION. Read it again.

About the author 

Software Projex

Home of free IBM i | System i | iSeries | AS400 software utilities since the twentieth century.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
Subscribe to get the latest updates
>