Previous Topic Next topic Print topic


RM/COBOL File Status Codes

RM/COBOL file status codes are either ANSI'74 file status codes or can be mapped onto extended file status codes, as shown below.

Status Key 1 Status Key 2 Extended File Status Code Description
9 0 9/143 REWRITE/DELETE not after successful READ
    9/147 Wrong open or access mode for READ/ START.
    9/148 Wrong open or access mode for WRITE.
    9/149 Wrong open or access mode for REWRITE/ DELETE.
  1 9/142 File not open - cannot be closed.
  2 9/141 File already open - cannot be opened.
  3 9/138 File is closed with lock - cannot open.
    9/210 File is closed with lock.
  4 9/013 File not found.
    9/035 Incorrect access permission.
    9/037 File access denied.
    9/139 Record length or key inconsistent.
9 4 9/188 Filename too large.
  6 9/146 No current record defined for sequential read.
  8 9/071 Bad indexed file format.
  9 9/065 File locked.
    9/068 Record is locked.
Previous Topic Next topic Print topic