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

Program Execution
HP COBOL Manual for TNS/E Programs520347-003
12-6
ASSIGN Command
size-list
specifies the extent size for disk file creation. Extent sizes are specified as a
number of file pages to be allocated for one extent of the file. A file page is
2048 bytes of storage.
pri-extent-size
is an unsigned integer specifying the primary extent size. If EXT is omitted,
pri-extent-size defaults to 4.
sec-extent-size
is an unsigned integer specifying the secondary extent size. If EXT is
omitted, sec-extent-size defaults to 20. If sec-extent-size is
omitted, the secondary extent size defaults to the primary extent size.
file-code
is 101 (for an EDIT file) or an unsigned integer in the range 0 through 99 or in
the range 1000 through 32767, which specifies a file code for disk file creation.
If the CODE clause is omitted, a file-code of 0 is used.
EXCLUSIVE
SHARED
PROTECTED
specify an exclusion mode for disk file reading or writing. This can override an
implied exclusion mode, but not an explicit exclusion mode specification in the
OPEN statement.
I-O
INPUT
OUTPUT
specify an access mode for the disk file; however, the run-time routines ignore
the value. The COBOL OPEN statement controls the access mode entirely.
record-size
is an integer accepted by TACL as specifying record length, but the run-time
routines ignore the value. The record declaration in the COBOL program
controls the record size entirely.
,
pri-extent-size
(
sec-extent-size
pri-extent-size
)
VST337.vsd