cobol3.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Message RT138 (↑ RTS Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      RT138
 
  Text:         File closed with lock- cannot be opened
 
  Severity:     Recoverable
 
  Explanation:  You are attempting to open a file which you
                previously closed with lock, which violates one of the
                general rules of COBOL programming.
 
  Resolution:   You will not be able to open the relevant file.  As
                this error implies that your program has a mistake in its
                logic, you may want to close any remaining open files,
                execute a STOP RUN statement and recode.
                                    -♦-