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 RT034 (↑ RTS Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      RT034
 
  Text:         Incorrect mode or file descriptor
 
  Severity:     Recoverable
 
  Explanation:  You are either trying to write to a file which is open
                for read purposes only, or read a file which is open
                for write purposes only.
 
  Resolution:   You will need to close the file and reopen using the
                correct access mode.  As this error implies that there
                is a mistake in the logic of your program you may want
                to close any open files, execute a STOP RUN statement
                and then recode your program to eliminate the logic
                error.
 
                Note that shareable files opened INPUT (read-only) by the
                COBOL system will still require write-permission (from the
                operating system) to enable temporary locking to take place.
                                    -♦-