
Symbolic Replacements JMCL Parameters
9-12 User Reference
Symbolic Replacements
Symbolic replacements "replace" a set of characters that are found in your JCL.
Symbolic replacements are useful for JCL subparameters or comments.
BIM-EPIC inserts the replacement value into the statement and shifts to the right any data
following the replacement symbol. For example:
* JMCL &1='INVENTRY.INPUT'
// TLBL SORTOUT,'&1',,,,,,2
would result in:
// TLBL SORTOUT,'INVENTRY.INPUT',,,,,,2
You must take care to avoid truncation of the statement. The statement must not exceed 71
columns with the replacement value inserted.
Symbolic replacements are not valid on POWER JECL statements or in SYSIPT data. Any
other statement (including JMCL statements) can use a symbolic replacements.
Assign values to symbolic replacements on OPTION statements.
The symbolic replacement parameter has the format "&n", where n is a number between 0 and
9. Use it to replace characters with the value you assign to the symbol.
You can have up to 10 of these parameters in effect at the same time. Each one remains in
effect until it is re-assigned in a JMCL or OPTION statement or it is nullified with RESET, or
end-of-job occurs.
&
n
='
constant
'
n identifies symbol being assigned.
constant specifies the value assigned to the symbol. The symbol must be enclosed in
apostrophes and can contain spaces.
In the following example, the DLBL is changed to
// DLBL INPUT,'PAYROLL.INPUT'
* JMCL &1='PAYROLL.INPUT'
// DLBL INPUT,'&1'
Description
WARNING!
&n
Syntax
Example
Komentarze do niniejszej Instrukcji