Generating once for z/OS batch and CICS

When you generate for z/OS batch, you can ensure that the prepared load module will run in z/OS batch or CICS. The generation requires use of the DUALMODE symbolic parameter to ensure that the appropriate EGL modules are chosen at run time.
Here are other considerations:
If you are accessing DB2 and need to replace the DB2 interface module, you can create a linkedit part and reference it from the build descriptor that you use for z/OS batch generation. The linkedit part might look as follows, with the text on each line starting in column 2:
 ENTRY %EZEALIAS%
 REPLACE DSNELI
 INCLUDE INPUT(%EZEALIAS%)
 INCLUDE SYSLIB(DSNCLI) 
 NAME %EZEALIAS%(R)

Adding and referencing that linkedit part results in execution of a relink step that is found in the FDABCL and FDAPCL build scripts for z/OS batch. However, you must modify the build scripts as follows:


Feedback