Previous Topic: Generic Remove MemberNext Topic: Generic Duplicate Object


Generic Delete Object

The Toolkit generic command, Delete Object (YDLTOBJ), enables you to delete a list of objects, by means of a single instruction.

For instance, the following single instruction would build a list of all files in library QGPL, display the list for editing and confirmation, and then delete all the objects in the edited list.

YDLTOBJ OBJ(QGPL/*ALL) OBJTYPE(*FILE) EDIT(*YES)