Skip to main content

COBOL data definition offsets and lengths

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

RTS144 Boundary Violation occurs rewriting a Line Sequentia file opened I-O....

Resolution:

Dont' forget that

"You must make sure that the record you write is the same size as the one it replaces".

If not, a RTS ( Runtime ) error 144 will occur.....

This hint is clearly documented in the documentation, compiler directive REWRITE-LS .

Paste of RTS error 144:

COBRT144 Boundary violation (Recoverable)

You have tried to write a record to a variable length record file, the length of which is not within the defined range for that file.

Resolution:

Recode your program.

Old KB# 5344