Explanation
Critical. The PARSE operand of an INREC, OUTREC
or OUTFIL statement contained an invalid or incorrect definition for
a parsed field. One of the following errors was found:
- More than 3 digits was specified for a parsed field
definition (for example, %0001 instead of %1, %01 or %001). A parsed
field must start with % and must have 1 digit, 2 digits, 3 digits
or no digits.
- FIXLEN was not specified for %nnn, %nn
or %n.
- FIXLEN, ABSPOS, ADDPOS, SUBPOS, REPEAT or
PAIR was specified more than once.
- ABSPOS and ADDPOS, ABSPOS and SUBPOS, or ADDPOS and SUBPOS were
specified.
- FIXLEN, ABSPOS, ADDPOS or SUBPOS was specified with a value of
0 or a value greater than 32752.
- REPEAT was specified with a value less than 2 or
greater than 1000.
- The definition for %nnn included a REPEAT value
which would result in a parsed field higher than %999 (for example,
%998=(REPEAT=3,...)).
- A null string was used.
- A character or hexadecimal constant was longer than 256 bytes.
- An invalid digit or an odd number of digits was specified for
a hexadecimal string.
- An invalid keyword was specified.
System action
Programmer response
Check the PARSE operand for the errors indicated
in the explanation and correct the errors.