Previous Topic: Copying Model Objects Between ModelsNext Topic: Defining and Editing User-defined Options


Using Substitution Variables

The following substitution variables let you symbolically pass various list entry attributes to the command or user-option that is to operate on the model object list. You can use these substitution variables with the Execute a Model Object List (YEXCMDLLST) command, on the Edit Model Object List panel Command line, and with user-defined options.

The prefix for the substitution variables may be either '&' or '@'. If you are using PDM to maintain your user option list, you need to use '@' as the prefix. You can also specify an alternate character in the Toolkit data area, YPEXCHA.

Substitution Variable

Corresponding Model Object Attribute

&YN

Object name

&Y@

Object surrogate

&YT

Object type

&YA

Object attribute

&YO

Object owner name

&YW

Object owner surrogate

&YY

Object owner type

&YR

Object group surrogate

&YM

Model list name

&YI

Object implementation name

&YP

Object promotion type

&YS

Object SEU type

&YU

User name

&YL

Model library name

&YG

Change type

&YF

Function type

&YZ

Assimilated file

Note: If you are unable to enter '@' into the command parameter (for example, if it is numeric), you can either use the RQSDTA parameter on the YEXCMDLLST command and enter the command as a string, or you can specify RQSDTA(*USROPT) and specify a PDM user-defined option.

Enclose the &YN, &YO substitution variables in quotes since they can result in text containing blanks.