Symbolic Substitution
Symbolic substitution substitutes information in a Process. When IBM® Connect:Direct® encounters an ampersand (&) followed by 1-8 alphanumeric characters, it substitutes a string represented by the ampersand and alphanumeric characters. For example:
|
Resolves to:
|
Separate multiple symbolics with spaces, as shown in the following:
|
Symbolic resolution occurs before concatenation.
The following example encloses a string in double quotation marks to resolve the symbolic &FILTYP.
|
Double quotation marks are not valid for symbolic substitution in Microsoft Windows. Use the SYMBOL statement and concatenation instead.
If you are using symbolic substitution for SNODEID and want to pass both a user ID and password, you must have separate symbolic names for each entity, that is, a symbolic name for the user ID and another for the password.
For example, if you code the following:
|
IBM Connect:Direct will interpret &MYSTUFF as one block rather than as two entities–a user ID and password.
To pass two pieces of information in this example, code it like the following:
|