IEF-RUNTIME-PARM1 and IEF-RUNTIME-PARM2 are the first two parameters that are passed from CA Gen generated programs. These must be coded on the entry statement of the stub and always be passed in this order to subordinate routines.
For the IMS applications, these parameters are the IO-PCB and alternate IO-PCB. In the CICS applications, these parameters are DFHEIBLK and DFHCOMMAREA. These parameters are not used for TSO and batch applications.
A special modification is needed for action blocks that are compiled with the CICS translator (precompiler). If you add the CICS commands or reference fields in DFHEIBLK, use the translator, and remove IEF-RUNTIME-PARM1 and IEF-RUNTIME-PARM2 from the linkage section and from the USING statement at the beginning of the PROCEDURE DIVISION. The translator inserts DFHEIBLK and DFHCOMMAREA to replace them. Failure to remove IEF-RUNTIME-PARM1 and IEF-RUNTIME-PARM2 result in an ASRA abend on the first move of data to the export views.
If the target TP monitor is CICS, but you added no CICS commands to the External Action Block and do not reference fields of the DFHEIBLK, you can compile without using the CICS translator. If you do so, do not remove IEF-RUNTIME-PARM1 and IEF-RUNTIME-PARM2.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|