Guardian Procedure Errors and Messages Manual
Cause EDITREAD returns this error if the sequence number of the line about to be read is one of
the following:
• Less than that of its predecessor.
• Greater than 99999.999.
• Greater than the largest sequence number in the directory entry for the file page containing
the line about to be read.
Effect The procedure sets the error code and returns without performing the requested function.
Recovery For recovery suggestions for files formatted as EDIT files, see the EDIT User's Guide and
Reference Manual.
-5 CHECKSUM ERROR
Cause The edit control block was invalid. There are two possible causes:
• The program called EDITREAD before calling EDITREADINIT.
• The program modified the edit control block, which invalidated the control block.
NOTE: If you accidentally set the edit control block's reposition bit to 1, you will not receive this
error. When the reposition bit is 1, checksum validation is disabled during the call to EDITREAD.
Effect The operation terminates.
Recovery Correct the program error that caused the problem.
Error Codes 223