3.5.9
RECORD CONTAINS
60229400
The RECORD CONTAINS clause of a file description entry specifies the
size of data records in the file.
RECORD CONTAINS [integer-3 TO] integer-4 CHARACTERS
r
DEPENDING -N
jdata-name-l
lJ
l U i
RECORD-MARK
~
This clause is not required. When present, however, the following rules
apply:
Integer-3 and integer-4 must be positive integers. Only integer-4 is
used when all data records in the file have the same size. In this case,
integer-4 represents the exact number of characters in each record.
When integer-3 and integer-4 are both shown, integer-3 refers
to
the
minimum number of characters in the smallest data record and integer-4
refers
to
the maximum number of characters in the largest data record.
Size is specified in terms of the number of characters in the logical
record. These characters are given in standard data format regardless
of types within the logical record. Record sizes are determined
according to the rules for obtaining the size of a group item. The maxi-
mum record size is 131,067 characters.
The DEPENDING ON option provides a key field (data-name-l) which governs
the size of the record. Normally, it is a field within the record but may be
located elsewhere. Data-name-l may be a BCD integer or a binary number.
If
data-name-l is binary (COMPUTATIONAL-I) the key field is prefixed at
the beginning of each record by the input-output control system. A prefixed
key field format is called a universal record.
If RECORD MARK is specified, each record is terminated by a special
character, external 328 (0,2,8 multiple punch). Reading or writing
terminates when the RECORD MARK is encountered.
Files assigned
to
TTY or CRT must have fixed length logical records.
3-33
Need help?
Do you have a question about the 3300 and is the answer not in the manual?