Previous Topic: Nesting of CLISTsNext Topic: Use of the PROMPT Keyword


Argument Substitution for CLISTs

CA IDMS Masterkey supports symbolic substitution for CLISTs using the same notation (@1 through @16) described in the Argument Substitution section.

The substitution values are presented to the CLIST processor following any CLIST syntax or at execution time. See the following examples.

Example 1

 I CLIST STEP_TWO DICTNAME TEST A B C D

In this example, CLIST "STEP_TWO" stored in dictionary TEST is executed and the values A B C and D are substituted for @1 @2 @3 and @4, respectively, wherever they appear in the CLIST or subordinate CLISTs.

Example 2

 I CLIST STEP_TWO DICTNAME TEST @1 @2 @3 @4

In example 2, the CLIST "STEP_TWO" stored in the TEST dictionary is executed and the substitution values are supplied at execution time. All other rules of substitution are followed.