You can place symbolic variables in any combination in SYSIN01 control statements to create composite parameter values. You can use a period (.) as a terminating character for the symbolic variable, but this is not required. If a period is present, it is removed from the resultant field content.
Example
REMOTE_FILE=C:\REMOTE_FILE-&TIME(HH)-&TIME(MM)-&TIME(SS)
Important! The symbolic variable expression cannot exceed the maximum length allowed by the parameter. In the case of REMOTE_FILE, the maximum length is 256 characters.
This results in the value for REMOTE_FILE being set to:
C:\REMOTE_FILE-15-31-28
Important! If you specify a symbolic parameter on the command line, you need to enclose it in double quotes, so that Windows does not interpret the ampersand character (&) as a special command line character. So this example would become one of the following:
If you specify a symbolic parameter in a configuration file, there is no need for double quotes.
| Copyright © [set copyright date variable] CA. All rights reserved. |
|