Previous Topic: Using Substitution VariablesNext Topic: Executing a Model Object List


Defining and Editing User-defined Options

You can define your own subfile select options associated with a command string. User-defined options must be alphabetic; numeric options are reserved for use by CA 2E. You can use these options on the Edit Model Object List panel and you can specify them as the action to be performed on the Execute a Model Object List (YEXCMDLLST) command.

A user-defined option consists of one or two characters to be associated with a command string. This command string may contain embedded substitution variables that see attributes of the model object list entry. The variables supported are the same as those listed above for the Execute Model Object List (YEXCMDLLST) command.

User-defined options are contained in the User-Defined Options (QAUOOPT) file that is shipped with Toolkit. The default names for the user option library, file, and member are contained in your model profile and can be changed. Use PDM to create and edit user-defined options in the file/member specified in the model profile.

Note: You should copy the User-Defined Options file to a user library (for example, your model library) in order to preserve user-defined options when installing a new release of Toolkit.

The following table lists examples of user-defined options:

Option

Command

YC

CHGCURLIB @YL

OD

YDSPMDLOD OBJSGT(@Y@)

YS

DSPSPLF FILE(@YI) JOB(@YI)

JL

DSPJOBLOG

SL

SBMJOB ??CMD(SAVLIB LIB(&N))

WS

WRKSBMJOB

DF

YDOCMDLFUN MDLFILE('@YO') MDLFUN('@YN')

 

 

Note: You can use the / option on the Edit Model Object List panel as a temporary user-defined selection option.

For more information on the / selection option, see the Command Line section in this chapter.