July 9

DLTGENOBJ – Delete Generic Object

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:

DLTGENOBJ

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
DLTGENOBJ
11 TEST* objects have been deleted

CAUTION

Use this command with extreme caution.

refer to CAUTION. Read it again.


Tags

DLTGENOBJ


You may also like

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Get in touch

Name*
Email*
Message
0 of 350
>