COBOL Manual for TNS/E Programs (H06.03+)

Environment Division
HP COBOL Manual for TNS/E Programs520347-003
6-28
FILE-CONTROL Paragraph
number must be in the range 1 through 32, and its value is interpreted:
ORGANIZATION clause
makes the organization of the file sequential (the default).
PADDING CHARACTER clause
specifies pad-char, the character to be used for padding on sequential files on
unlabeled magnetic tape when the physical record size (block size) exceeds the
logical record size. HP COBOL handles this phrase as a comment, except for
checking if pad-char is acceptable.
pad-char
is either a nonnumeric literal that represents a single character, or a qualified or
unqualified name that references an alphanumeric data item whose value is a
single character. If pad-char is a data item, it must be defined in the
Working-Storage, Extended-Storage, or Linkage Section. pad-char cannot
be a national literal or national data item.
Value of number Effect
1 No buffering or HP COBOL Fast I-O
2 Sequential block buffering on input and buffered cache on
output if the assigned file qualifies
3 or greater HP COBOL Fast I-O if the assigned file qualifies; if not,
sequential block buffering for input and buffered cache for
output if the assigned file qualifies; otherwise normal I-O
number is the number of blocks to buffer.
Caution. Do not use sequential block buffering for a file opened for shared access. If you do,
a process could read data that is not up-to-date while another process alters the file. For
information on shared access, see OPEN
.
ORGANIZATION IS
SEQUENTIAL
VST041.vsd
VST042.vsd
PADDING
CHARACTER
IS
pad-char