Previous Topic: Specifying Text Strings in Rules

Next Topic: Enclosing Character Strings in Quotes


Specifying Character Strings

You can specify character strings with or without quotes. For example, these keyword phrases are equivalent:

OSCMD(S   DEALLOC)
OSCMD('S   DEALLOC')

Both quoted and unquoted strings can contain the names of environmental variables. The current value of the variable replaces the name within the string. For example, if the current job is DSIJS11A, CA Automation Point makes this substitution in a SESSCMD statement: SESSCMD(CANCEL &JOBNAME)

Substitution:

SESSCMD(CANCEL DSIJS11A)

If a normal delimiter such as a blank, comma, right parenthesis, or quote does not follow a variable name, terminate the variable name with a period (.) to distinguish it from the characters that follow.

Example:

This example uses a period to delimit a variable name. &JESCHAR is a status variable containing the JES2 command character (such as $).

The statement SESSCMD(&JESCHAR.SI4) becomes:

SESSCMD($SI4)

You can use concatenation in any CA Automation Point rules keyword supporting text strings, except the WHEN keyword.