COBOL options to use with the installation verification procedures

The Db2 COBOL samples can be run with some compiler options, which control compilation.

IBM® tested these options, which are shown in the table below.

If you have a problem executing the Db2 COBOL samples, ensure that your compiler options are consistent with the Enterprise COBOL options in the table below. Remember that if you are using CICS®, the options that you need to use depend on the CICS environment. To verify that you are using the correct options in your CICS environment, refer to COBOL programming restrictions and requirements.
COBOL options COBOL options COBOL options
  • ADV
  • BUFSIZE(4096)
  • DATA(31)
  • FLAG(I)
  • INTDATE(ANSI)
  • LANGUAGE(EN)
  • LINECOUNT(60)
  • NOADATA
  • NOAWO
  • NOCMPR2
  • NOCOMPILE(S)
  • NOCURRENCY
  • NODBCS
  • NODECK
  • NODUMP
  • NODYNAM
  • NOEXIT
  • NOFASTSRT
  • NOFLAGMIG
  • NOFLAGSTD
  • NOIDLGEN
  • NOLIB
  • NOLIST
  • NOMAP
  • NONAME
  • NONUMBER
  • NOOFFSET
  • NOOPTIMIZE
  • NOSEQUENCE
  • NOSSRANGE
  • NOTERM1 or TERM2
  • NOTEST
  • NOTYPECHK
  • NOVBREF
  • NOWORD
  • NOXREF
  • NUMPROC(NOPFD)
  • OBJECT
  • OUTDD(SYSOUT)
  • PGMNAME(LONGUPPER)
  • QUOTE
  • RENT3
  • RMODE(AUTO)
  • SIZE(MAX)
  • SOURCE
  • SPACE(1)
  • TRUNC(STD)
  • ZWB
Notes:
  • 1 Refers to jobs DSNTEJ2C, DSNTEJ3C, and DSNTEJ4C only.
  • 2 Refers to job DSNTEJ5C only.
  • 3 See the CICS documentation for actual options to use.

For more detailed instructions, see Enterprise COBOL for z/OS and Language Environment Programming Guide.