Previous Topic: Define Type SyntaxNext Topic: The Define Type Sequence Action


Rules for Using Symbolics in Data Set Names in Type Definition Parameters

Endevor symbols (&C1) and user-symbols (&#) can be used in the data set definitions for the TYPE definition parameters BASE LIBRARY, DELTA LIBRARY, INCLUDE LIBRARY, and SOURCE OUTPUT LIBRARY. In addition, Endevor symbols and user-defined symbols can be nested to form a valid user-defined symbol name that is resolved at run time. A character string beginning with &# can also be concatenated with one or more Endevor symbols to form a valid user-defined symbol name that is resolved at run time.

Be careful when coding both nested and concatenated User defined and Endevor defined symbols. When using these coding techniques the data set name is not finally resolved until run time. If an incorrect data set name is specified the result could be an allocation error at run time.

Example--Endevor Symbol Defined in BASE LIBRARY IS dataset-name

This example shows an Endevor symbol (&C1) in the BASE LIBRARY IS dataset-name.

IPRFX.IQUAL.&C1SUBSYS.BASE

Example--User-defined Symbol in BASE LIBRARY IS dataset-name

This example shows a user-defined symbol (&#) defined in the dataset-name.

IPRFX.IQUAL.&#USERVAL.BASE

Example-Nested User-defined Symbol in BASE LIBRARY IS dataset-name

This example shows nested user-defined symbol that forms a valid user-defined symbol name that will be resolved at run time.

IPRFX.IQUAL.&#&SUBSYS.BASE

In this example &#&C1SUBSYS would be resolved at run time to &#PAY which would then be resolved to the value defined for the User symbol #PAY.

Example-Nested Character String Beginning with &# in BASE LIBRARY IS dataset-name

This example shows a character string beginning with &# can also be concatenated with one or more Endevor symbols to form a valid User defined symbol name that will be resolved at run time.

IPRFX.IQUAL.&#DIV&SUBSYS.BASE

In this example &#DIV&C1SUBSYS would be resolved at run time to &#DIVPAY which would then be resolved to the value defined for the User

symbol #DIVPAY.