ILE COBOL Programmer's Guide


Using the PROCESS Statement to Specify Compiler Options

The PROCESS statement is an optional part of the ILE COBOL source program. You can use the PROCESS statement to specify options you would normally specify at compilation time.

Options specified in the PROCESS statement override the corresponding options specified in the CRTCBLMOD or CRTBNDCBL CL command.

The following rules apply:

The following tables indicate the allowable PROCESS statement options and the equivalent CRTCBLMOD or CRTBNDCBL command parameters and options. Defaults are underlined. Descriptions of the PROCESS statement options correspond to the parameter and option descriptions under Parameters of the CRTCBLMOD Command.

Note:
Not every parameter of the CRTCBLMOD and CRTBNDCBL commands has a corresponding option in the PROCESS statement. In addition, several options are only available on the process statement. For descriptions of the options that are only on the PROCESS statement, see PROCESS Statement Options.

PROCESS Statement Options CRTCBLMOD/CRTBNDCBL
OUTPUT Parameter Options
OUTPUT
NOOUTPUT
*PRINT
*NONE

PROCESS Statement Option CRTCBLMOD/CRTBNDCBL
GENLVL Parameter Option
GENLVL(nn) nn

PROCESS Statement Options CRTCBLMOD/CRTBNDCBL
OPTION Parameter Options
SOURCE
SRC
NOSOURCE
NOSRC
*SOURCE
*SRC
*NOSOURCE
*NOSRC
NOXREF
XREF
*NOXREF
*XREF
GEN
NOGEN
*GEN
*NOGEN
NOSEQUENCE
SEQUENCE
*NOSEQUENCE
*SEQUENCE
NOVBSUM
VBSUM
*NOVBSUM
*VBSUM
NONUMBER
NUMBER
LINENUMBER
*NONUMBER
*NUMBER
*LINENUMBER
NOMAP
MAP
*NOMAP
*MAP
NOOPTIONS
OPTIONS
*NOOPTIONS
*OPTIONS
QUOTE
APOST
*QUOTE
*APOST
NOSECLVL
SECLVL
*NOSECLVL
*SECLVL
PRTCORR
NOPRTCORR
*PRTCORR
*NOPRTCORR
MONOPRC
NOMONOPRC
*MONOPRC
*NOMONOPRC
RANGE
NORANGE
*RANGE
*NORANGE
NOUNREF
UNREF
*NOUNREF
*UNREF
NOSYNC
SYNC
*NOSYNC
*SYNC
NOCRTF
CRTF
*NOCRTF
*CRTF
NODUPKEYCHK
DUPKEYCHK
*NODUPKEYCHK
*DUPKEYCHK
NOINZDLT
INZDLT
*NOINZDLT
*INZDLT
NOBLK
BLK
*NOBLK
*BLK
STDINZ
NOSTDINZ
STDINZHEX00
*STDINZ
*NOSTDINZ
*STDINZHEX00
NODDSFILLER
DDSFILLER
*NODDSFILLER
*DDSFILLER
Not applicable *NOIMBEDERR
*IMBEDERR
STDTRUNC
NOSTDTRUNC
*STDTRUNC
*NOSTDTRUNC
CHGPOSSGN
NOCHGPOSSGN
*CHGPOSSGN
*NOCHGPOSSGN
Not applicable *NOEVENTF
*EVENTF
MONOPIC
NOMONOPIC
*MONOPIC
*NOMONOPIC
NOCRTARKIDX
CRTARKIDX
*NOCRTARKIDX
*CRTARKIDX

PROCESS Statement Options CRTCBLMOD/CRTBNDCBL
CVTOPT Parameter Options
NOVARCHAR
VARCHAR
*NOVARCHAR
*VARCHAR
NODATETIME
DATETIME
*NODATETIME
*DATETIME
NOCVTPICXGRAPHIC
CVTPICXGRAPHIC
CVTPICGGRAPHIC
NOCVTPICGGRAPHIC
*NOPICXGRAPHIC
*PICXGRAPHIC
*PICGGRAPHIC
*NOPICGGRAPHIC
NOCVTPICNGRAPHIC
CVTPICNGRAPHIC
*NOPICNGRAPHIC
*PICNGRAPHIC
NOFLOAT
FLOAT
*NOFLOAT
*FLOAT
NODATE
DATE
*NODATE
*DATE
NOTIME
TIME
*NOTIME
*TIME
NOTIMESTAMP
TIMESTAMP
*NOTIMESTAMP
*TIMESTAMP
NOCVTTODATE
CVTTODATE
*NOCVTTODATE
*CVTTODATE

PROCESS Statement Options CRTCBLMOD/CRTBNDCBL
OPTIMIZE Parameter Options
NOOPTIMIZE
BASICOPT
FULLOPT
*NONE
*BASIC
*FULL

PROCESS Statement Options CRTCBLMOD/CRTBNDCBL
FLAGSTD Parameter Options
NOFIPS
MINIMUM
INTERMEDIATE
HIGH
*NOFIPS
*MINIMUM
*INTERMEDIATE
*HIGH
NOOBSOLETE
OBSOLETE
*NOOBSOLETE
*OBSOLETE

PROCESS Statement Options EXTDSPOPT(a b c) CRTCBLMOD/CRTBNDCBL
EXTDSPOPT Parameter Options
DFRWRT
NODFRWRT
*DFRWRT
*NODFRWRT
UNDSPCHR
NOUNDSPCHR
*UNDSPCHR
*NOUNDSPCHR
ACCUPDALL
ACCUPDNE
*ACCUPDALL
*ACCUPDNE

PROCESS Statement Option CRTCBLMOD/CRTBNDCBL
FLAG Parameter Option
FLAG(nn) nn

PROCESS Statement Options CRTCBLMOD/CRTBNDCBL
LINKLIT Parameter Options
LINKPGM
LINKPRC
*PGM
*PRC

PROCESS Statement Options SRTSEQ(a) CRTCBLMOD/CRTBNDCBL
SRTSEQ Parameter Options
HEX
JOB
JOBRUN
LANGIDUNQ
LANGIDSHR
"LIBL/sort-seq-table-name"
"CURLIB/sort-seq-table-name"
"library-name/sort-seq-table-name"
"sort-seq-table-name"
*HEX
*JOB
*JOBRUN
*LANGIDUNQ
*LANGIDSHR
*LIBL/sort-seq-table-name
*CURLIB/sort-seq-table-name
library-name/sort-seq-table-name
sort-seq-table-name

PROCESS Statement Options LANGID(a) CRTCBLMOD/CRTBNDCBL
LANGID Parameter Options
JOBRUN
JOB
"language-identifier-name"
*JOBRUN
*JOB
language-identifier-name

PROCESS Statement Options ENBPFRCOL(a) CRTCBLMOD/CRTBNDCBL
ENBPFRCOL Parameter Options
PEP
ENTRYEXIT
FULL
*PEP
*ENTRYEXIT
*FULL

PROCESS Statement Options PRFDTA(a) CRTCBLMOD/CRTBNDCBL
PRFDTA Parameter Options
NOCOL
COL
*NOCOL
*COL

PROCESS Statement Options CCSID(a b c) CRTCBLMOD/CRTBNDCBL
CCSID Parameter Options
a = Locale single-byte data CCSID
JOBRUN
JOB
HEX
coded-character-set-identifier
*JOBRUN
*JOB
*HEX
coded-character-set-identifier
b = Non-locale single-byte data CCSID
JOBRUN
JOB
HEX
coded-character-set-identifier
Not applicable
c = Non-locale double-byte data CCSID
JOBRUN
JOB
HEX
coded-character-set-identifier
Not applicable

PROCESS Statement Options DATTIM(a b) CRTCBLMOD/CRTBNDCBL
4-digit base century (default 1900)
2-digit base year (default 40)
Not applicable

PROCESS Statement Options THREAD(a) CRTCBLMOD/CRTBNDCBL
NOTHREAD
SERIALIZE
Not applicable

PROCESS Statement Options    ARITHMETIC(a) CRTCBLMOD/CRTBNDCBL
ARITHMETIC Parameter Options
NOEXTEND
EXTEND31
EXTEND63
*NOEXTEND
*EXTEND31
*EXTEND63

PROCESS Statement Option CRTCBLMOD/CRTBNDCBL
NOGRAPHIC
GRAPHIC
Not applicable

PROCESS Statement Option CRTCBLMOD/CRTBNDCBL
NONATIONAL
NATIONAL
Not applicable

PROCESS Statement Option CRTCBLMOD/CRTBNDCBL
NOLSPTRALIGN
LSPTRALIGN
Not applicable

PROCESS Statement Option CRTCBLMOD/CRTBNDCBL
NOCOMPASBIN
COMPASBIN
Not applicable

PROCESS Statement Option CRTCBLMOD/CRTBNDCBL
NOCOMPRESSDBG
COMPRESSDBG
Not applicable

PROCESS Statement Option OPTVALUE(a) CRTCBLMOD/CRTBNDCBL
NOOPT
OPT
Not applicable

PROCESS Statement Option CRTCBLMOD/CRTBNDCBL
NOADJFILLER
ADJFILLER
Not applicable

PROCESS Statement Option NTLPADCHAR(a b c) CRTCBLMOD/CRTBNDCBL
NTLPADCHAR Parameter Options
a = padding character for moving single-byte to national
NX"0020"
a national hexadecimal literal
representing one national character
NX"0020"
a national character
b = padding character for moving double-byte to national
NX"3000"
a national hexadecimal literal
representing one national character
NX"3000"
a national character
c = padding character for moving national to national
NX"3000"
a national hexadecimal literal
representing one national character
NX"3000"
a national character

PROCESS Statement Option LICOPT(a) CRTCBLMOD/CRTBNDCBL
LICOPT Parameter Option
licensed-internal-code-option-string licensed-internal-code-option-string

The EXTDSPOPT, SRTSEQ, LANGID, ENBPFRCOL, PRFDTA, CCSID, DATTIM, ARITHMETIC, and THREAD options on the PROCESS statement should be coded with the associated options in brackets similar to FLAG(nn) syntax.

You can specify more than one option within the brackets for the EXTDSPOPT option. For example, to specify DFRWRT and UNDSPCHR, type

EXTDSPOPT(DFRWRT UNDSPCHR)

It is also valid to specify EXTDSPOPT or EXTDSPOPT( ).

When EXTDSPOPT alone is specified in the PROCESS statement, then all the default values for the additional options are in effect.

If you specify EXTDSPOPT( ), it has no effect on your program.

The DATTIM and CCSID process statement options also allow more than one value within their brackets. For these two options, the order of the values within their brackets is significant. For example, the DATTIM option has two values. The first is the base Century, and the second is the base year. This means that you must specify a base century in order to specify a base year.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]