Previous Topic: Generic Duplicate ObjectNext Topic: Debug Aids


Generic Command Change

The Toolkit generic command, Change Command (YCHGCMD), enables you to change the attributes of one or more commands by means of a single instruction. The attributes which you may change include the product library (PRDLIB), mode (MODE), environment allowed (ALLOW) and text (TEXT).

For instance, the following single instruction would build a list of all commands in library QGPL, display the list for editing and confirmation, and then change the product library of the commands to be QGPL.

YCHGCMD CMD(QGPL/*ALL) PRDLIB(QGPL) EDIT(*YES)