Include one of the following types of code in each application program requiring access to CA Datacom CICS Services. When the code is compiled, the IBM Linkage Editor automatically includes the DBCSRPR module.
Include the following statements anywhere in the program.
EXTRN DBCSRPR WXTRN DATACOM,DBNTRY
Insert the following statements at the end of the program.
BAD-RETURN.
GOBACK.
DUMMY-DB-CALL.
CALL 'DBCSRPR'.
Insert the following statements just before the last program statement.
BAD_RETURN: RETURN;
DUMMY_DB_CALL: CALL DBCSRPR;
Note: For the ASSEMBLER, COBOL, and PL/I examples, a DD statement for z/OS or a DLBL statement for z/VSE must be added to the SYSLIB for z/OS or OBJ SEARCH for z/VSE concatenation in the link-edit step, to reference the CA Datacom CICS Services product load library in z/OS or object library in z/VSE. Also, you must provide an include for the command-level interface modules: ASSEMBLER (DFHEILIA), COBOL (DFHEILIC), and PL/I (DFHEILIP) for z/OS or DFHELII for z/VSE.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|