> The below information given to us by IBM states we are required by CICS to > use LINK (or XCTL) and can't use CALL; we pass a COMMAREA and use EXEC CICS > commands within our called module.
COBOL does support the CALL statement under CICS even when you have EXEC CICS statements in the called programs. Please see the Migration Guide at http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/igy3mg50/5.4.1.3 or the before mentioned COBOL Performance Tuning paper on pages 28-29. Both of these tell you how to add the required parms: If your Enterprise COBOL program was processed by a CICS translator (either separate or integrated), then a caller of that program must pass the CICS EXEC interface block (DFHEIBLK) and the communication area (DFHCOMMAREA) as the first two parameters of the CALL statement. If your Enterprise COBOL program was not processed by a CICS translator, then you need to pass DFHEIBLK and DFHCOMMAREA only if they are explicitly coded in the called subprogram. Rick Arellanes IBM COBOL Development and Performance ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
