Input and output statement qualifiers
Many of the I/O statements have qualifiers that enable you to control the function of the statement. Each qualifier is followed by an expression. The valid values for each statement qualifier are defined by the compiler (and in the dbl.def file included with your distribution, which you can use as a reference).
When specifying a qualifier, you can either use a colon before the expression (for example, KEYNUM:krf_spec) or an equal sign (for example, KEYNUM=krf_spec). |
The KRF qualifier is deprecated; we recommend you use KEYNUM, which is functionally equivalent. |
ALLOC - Pre-allocate a number of blocks
BUFNUM - Set number of process local I/O buffers
CONTIG - Allocate contiguity of a file
DEQ - Set number of blocks to add
DIRECTION - Set direction of a READS
FDL - Specify an FDL or XDL string or file specification
GETRFA - Return a record’s RFA
KEYNUM - Specify a key of reference
MASK - Specify activation characters
MATCH - Define how a record is located
NOFILL - Prevent the data area from being padded with blanks
OPTIONS - Specify runtime options
POSITION - Define the file position
RECSIZ - Specify a record size for a file
RECTYPE - Define the type of records to write to a file
RFA - Locate record with the specified RFA
TEMPFILE - Define an intermediate file for output mode
WAIT - Specify wait time for an I/O statement to finish processing