NEW_ keywords
With OPTIONS DBMODE(UPDATE)
you
can change the "name" of an object, by modifying its key fields. In
the same way, with OPTION DBMODE(COPY)
new
key fields must be specified to save a copy to. To do this, the key
fields of any HCL Workload Automation for Z object
can have alternate names specified by using a NEW_
prefix
for any of the key fields you wish to alter.
For example:
OPTIONS DBMODE(COPY)
ADSTART ADID(MYAPPL1) NEW_ADID(MYAPPL1COPY)
The key fields can be identified by looking in the default OUTPUT
definitions
shipped with Workload Automation Programming Language in
the SEQQWAPL library.
Note: This does not apply to temporary Operator Instructions. They
cannot have their validity range changed by
NEW_
keywords.
To modify the validity of temporary Operator Instructions they must
be deleted and created again.