Where to Use Compiler Options in COBOL and CICS Program

After writing your COBOL program with CICS. The next point is compiling the program. If we want a load module, you need to first translate and then compile it with the COBOL compiler.

In the COBOL program, before identification division the following compiler options you can mention.

COBOL compiler options

CBL(DYNAM, RENT)

CICS translate commands

PROCESS XOPTS(CICS,NOLINKAGE)

CBL(DYNAM,RENT)
Identification Division.
.
.

With the above options, your program will compile successfully and a load module will be created.

Related

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.