CICS reserved-word table
COBOL provides an alternate reserved-word table (IGYCCICS)
for CICS® application programs.
If you use the compiler option WORD(CICS)
, COBOL
words that are not supported under CICS are
flagged with an error message.
In addition to the COBOL words restricted by the IBM-supplied default reserved-word table, the IBM-supplied CICS reserved-word table restricts the following COBOL words:
CLOSE
DELETE
3FACTORY
FD
FILE
1FILE-CONTROL
1INPUT-OUTPUT
1INVOKE
I-O-CONTROL
MERGE
METHOD
OBJECT
OPEN
READ
RERUN
REWRITE
SD
1, 2SELF
START
SUPER
WRITE
Notes:
- If
you intend to use the
SORT
statement under CICS (COBOL supports an interface for theSORT
statement under CICS), you must change the CICS reserved-word table to remove the words from the list of words marked as restricted. The
SORT
keyword is not restricted, but theSD
keyword is. This allows you to use the format 2 (table) sort statement but not the format 1 (file) sort statement.- If you restrict the DELETE keyword, you may still use the DELETE function of BASIS processing.