Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Compiling and running CICS programs

COBOL for Windows TXSeries programs must use the thread-safe version of the COBOL runtime library. Compile such programs using the THREAD compiler option.

TRUNC(BIN) is a recommended compiler option for a COBOL program that will run under CICS. However, if you are certain that the nontruncated values of BINARY, COMP, or COMP-4 data items conform to PICTURE specifications, you might improve program performance by using TRUNC(OPT).

You can use a COMP-5 data item instead of a BINARY, COMP, or COMP-4 data item as an EXEC CICS command argument. COMP-5 data items are treated like BINARY, COMP, or COMP-4 data items if BINARY(NATIVE) and TRUNC(BIN) are in effect.

You must use the PGMNAME(MIXED) compiler option for programs that use CICS Client.

Do not use the DYNAM, NOLIB, or NOTHREAD compiler option when you translate COBOL programs with the separate or integrated CICS translator. All other COBOL compiler options are supported.

Runtime options: Use the FILESYS runtime option to specify the file system to use for files when no specific file system has been selected by means of an ASSIGN clause.

related concepts
Integrated CICS translator

related tasks
Compiling from the command line
TXSeries for Multiplatforms: CICS Application Programming Guide

related references
Compiler options
FILESYS
Appendix B. zSeries host data format considerations


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)