Assembling and link-editing EXTRACT programs
You must assemble (or compile) and link-edit DFHCSDUP user programs as batch programs, not as CICS® applications, and you need link-edit control statements appropriate to the language in which they are written.
About this task
Note: DFHCSDUP user programs should not be translated,
or unpredictable results could occur.
When you compile the COBOL versions of the sample programs, you must specify the compiler attributes RENT and NORES. 1
When you link-edit the programs,
you must specify the following link-edit control statements:
- An ENTRY statement that defines the entry name as DFHEXTRA
- An INCLUDE statement for a CICS-supplied stub that must be included in your user program
- A CHANGE statement to change the dummy CSECT name in the CICS-supplied stub from EXITEP to the name of your user program.
When you link-edit the COBOL versions of the sample programs, you must specify RMODE(24).
These requirements are explained in more detail for each of the languages (assembler, COBOL, and PL/I ) shown in the following sample job streams.
1 The RENT compiler attribute prevents
an abend C03 ('Data set was not closed properly') occurring after
the sample program receives an abend such as B37 ('Data set size is
smaller than output').