IBM0123S
ONCODE=oncode-value The RECORD condition was raised because the WRITE or LOCATE variable had a zero length (FILE= or ONFILE= file-name).

Explanation

A WRITE or REWRITE statement attempted to transmit a record variable of zero length, or a LOCATE statement attempted to obtain buffer space for a zero length record variable.

System action

The ERROR condition is raised.

Programmer response

Ensure the varying-length string used as a record variable is not a null string when the WRITE, REWRITE or LOCATE statement is run.

Symbolic Feedback Code

IBM03R