These directives affect the way files are handled.
ANS85
Specifies that words reserved in the ANSI'85 COBOL Standard are to be treated as reserved words in this COBOL system, and changes the behavior of certain features to be compatible with that Standard.
ASSIGN-PRINTER
Specifies how to assign the output from an ASSIGN TO PRINTER clause when the clause does not specify a filename.
ASSIGN
Specifies how to assign a filename when neither EXTERNAL nor DYNAMIC appear in the SELECT statement.
AUTOLOCK
Makes the default locking AUTOMATIC rather than EXCLUSIVE for files opened I-O or EXTEND in a multi-user environment.
CALLFH
Makes the Compiler generate direct calls for all file I/O operations, using the Callable File Handler interface.
CALL-RECOVERY
Specifies the behavior when control is returned to a program.
CALLSORT
Defines the program to be called to handle all SORT and MERGE operations.
COBFSTATCONV
Causes the Callable File Handler to use the user-supplied module specified in the COBFSTATCONV environment variable to convert the file status codes if an I/O error is encountered on a file.
DATACOMPRESS
Specifies the type of data compression to be done on sequential and indexed files.
DETECT-LOCK
Makes READ statements detect when a record is locked by another program.
FCDCAT
Specifies whether the catalogued file information for a file is used when accessing that file.
FDCLEAR
Specifies that the record buffer for a file should be cleared after every write operation.
FILESHARE
Causes the default locking to become AUTOMATIC rather than EXCLUSIVE for files in a multi-user environment, and automatically locks records on a WRITE or REWRITE statement when the program is locking multiple records.
FILETYPE
Specifies the file format to use when creating files.
HOSTCONTZERO
For files defined with the RECORD CONTAINS"0" clause, this directive instructs the File Handler to take the record length from the catalog rather than the file description entry.
HOSTFD
Specifies that the record area associated with a file should only be allocated at the time of an OPEN statement and not before.
IDXFORMAT
Specifies the format to use when creating indexed files.
IXNLSKEY
Specifies that the File Handler should sort index file keys according to the local collating sequence rather than the ASCII collating sequence.
IXNUMKEY
Enables true numeric sorting on index keys.
KEYCHECK
Specifies whether the File Handler checks that all the keys belonging to the indexed file you are opening are defined in your application.
KEYCOMPRESS
Specifies the type of key compression to be done on indexed files.
OLDREADINTO
Changes the behavior of the READ ... INTO statement.
OPTIONAL-FILE
Makes the Compiler treat all files opened for I-O or EXTEND as optional.
PRESERVECASE
Ensures that COBOL items declared in the current program retain their case and are not converted to uppercase as is usual in COBOL. This enables the items to be found from outside the program.
PRINT-EXT
Specifies the extension to be added to the filename associated with the ASSIGN TO PRINTER clause.
RDW
Enables you to find out the length of a record that has just been read from a variable-length sequential file.
RETRYLOCK
Specifies that when a READ statement finds that a record is locked the read operation is to be retried repeatedly until the record is available.
REWRITE-LS
Allows REWRITE statements on line sequential files.
SEQUENTIAL
Specifies the default file type for files defined (implicitly or explicitly) as ORGANIZATION SEQUENTIAL.
SORTTYPE
Selects which mainframe SORT module to emulate.
WRITELOCK, WRITE-LOCK
Makes the WRITE and REWRITE statements acquire a record lock when the program is locking multiple records in a shared data file in a multi-user environment.