Commands (YDOCMDLACP - YOPRMDLLST) › YEXCMDLLST (Execute a Model Object List) Command › Parameters › CMD
CMD
The command string containing the details of the command that is executed for each entry in the model object list.
Note: For convenience, this parameter is a command string (*CMDSTR). This allows the command that is to be executed to be prompted and syntax- checked prior to execution. In some instances this prevents substitution variables from being defined for a given parameter, such as making it impossible to specify the object type (&YT) in a parameter that has a fixed set of allowed values. When this happens you must use the RQSDTA parameter to specify the command to be executed.
The following substitution variables are supported:
- &YN—Object name, 25 character string.
- &Y@—Object surrogate, 7 decimal.
- &YT—Object type, 3 character (FIL, FUN, ACP, etc).
- &YA—Object attribute, 3 character (RPG, INF, STS, RTV, etc).
- &YO—Object owner name, 25 character string.
- &YW—Object owner surrogate, 7 decimal.
- &YY—Object owner type, 3 character string.
- &YR—Object group surrogate, 7 decimal.
- &YM—Model list name, 10 character string.
- &YI—Object implementation name, 10 character string.
- &YP—Object promotion type, 3 character (ADD, CHG, GEN, etc).
- &YS—Object SEU type, 10 character (RPG, DSPF, PRTF, etc).
- &YU—User name, 10 character.
- &YL—Model library name, 10 character.
- &YC—User option text. The text is retrieved from the specified user options member.
- &YG—Object change type, 8 character (*PRIVATE, *PUBLIC, etc).
- &YF—Function type, 10 character (EXCEXTFUN, EDTRCD, etc).
- &YZ—Assimilated file, a 1-character string set to Y or N. Indicates whether the FIL or owning FIL object is an assimilated file from an external database.
- &Y6—DBFGEN value (LGL ACP only), 1 character string (D or S)
- &Y7—DBFACC value (LGL ACP only), 1 character string (G or T)
- &Y8—MNTSTS value (LGL ACP only), 1 character string (I, D or R)
- &Y9—UNQKEY value (LGL ACP only), 1 character string (U, F, L, C or blank)