You can specify
CICS®
translator options when you
use the PL/I, COBOL, XL C, or C++ compiler.
About this task
For a description of all the translator options, see
Defining translator options.
Many translator
options do not apply when using the integrated
CICS
translator,
for example those associated with translator listings. If these options
are specified, they are ignored. The EXCI option is not supported
for PL/I, but is supported for batch COBOL, C and C++ programs that
use the EXCI command level API.
The
following translator options can be used effectively with the integrated
CICS
translator:
- APOST or QUOTE
- CPSM or NOCPSM
- CICS
- DBCS
- DEBUG or NODEBUG
- DLI
- EDF or NOEDF
- FEPI or NOFEPI
- GRAPHIC
- LENGTH or NOLENGTH
- LINKAGE or NOLINKAGE
- NATLANG
- SP
- SYSEIB
Procedure
-
To specify
CICS translator options when using the PL/I compiler, specify the compiler option, PP(CICS), with the translator options enclosed in apostrophes and inside parentheses.
-
To specify
CICS translator options when using the COBOL compiler, specify the compiler option, CICS, with the translator options enclosed in apostrophes and inside parentheses.
For example:
CICS('opt1 opt2 optn ...')
Note: The XOPTS translator option must be changed to the CICS compiler option. XOPTS is not accepted when using the integrated CICS translator.
For more information about specifying COBOL compiler options, see the Enterprise COBOL for z/OS Programming Guide.
-
To specify
CICS translator options when using the XL C and C++ compiler specify the compiler option, CICS, with the translator options inside parentheses and separated by commas.
For example:
CICS(opt1,opt2,optn ...)
Alternatively, you can specify translator options on a #pragma statement in the program source on the XOPTS or CICS keyword.
For more information about specifying C and C++ compiler options, see z/OS XL C/C++ User's Guide.