The READTODELIM option specifies whether the file pointer is advanced to the next logical record in the file when reading in a record that is longer than the user data area. In these circumstances, the data record would effectively be truncated.
The option affects only line sequential files.
Syntax:
READTODELIM
=
{
ON
}
{
OFF
}
Parameters:
- ON
- Records are truncated to the length of the user record area if necessary.
- OFF
- The file pointer is not advanced to the next logical record so one logical record might require several READs to consume it.