Using the $DLAGEN macro
Some options required for a DELTA List cannot be obtained from the IMS Stage-1 input source. Defaults for most of these may be provided as parameters to the DLA#GEN procedure. However, defaults provided for the procedure will be used for DELTA List elements that implement changes to IMS. The use of defaults may not be acceptable if different values are desired for some DELTA List elements.
One way to provide these values is to simply add the keyword to the IMS macro. For example, to create a DELTA List TERMINAL element with a mask value of XT******, code the following TERMINAL macro:
Although these keywords are valid and are accepted by the DLA#GEN procedure, they are not valid for a normal IMS system generation.
An alternative method has been provided so that the IMS Stage-1 input can be left intact and usable. This method requires adding a $DLAGEN macro immediately preceding the IMS macro with any necessary additional keywords. For example, instead of the above TERMINAL macro, you can code the following macro:
TERMINAL NAME=NODE0001
A dummy $DLAGEN macro is provided in the DLASAMP library. The DLASAMP library can be included in the SYSLIB concatenation during a normal IMSGEN so that the $DLAGEN macros are ignored. With this method, the same Stage-1 input source can be used for a normal IMSGEN or for a DELTA List generation.
You can also use $DLAGEN macros to change the defaults provided for the DLA#GEN procedure. In addition, you can use the macros to add comments, IMS commands, and RELOAD elements to the DELTA List. $DLAGEN allows tailoring of the DELTA List by processing only selected IMS macros.
Note that $DLAGEN macros are not required. Use of $DLAGEN is completely optional, but it provides much greater control over the DELTA List to be generated. The various forms of the $DLAGEN macro are described in the following examples.
This section contains the following topics:
Related topic