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 RT021 (↑ RTS Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      RT021
 
  Text:         File is a directory
 
  Severity:     Fatal
 
  Explanation:  You have tried to WRITE to a directory instead of to a
                file.
 
                Alternatively, the attributes are not set up correctly to
                allow you to access a file.
 
  Resolution:   You will have to recode your program so that it WRITEs
                to a file and not to a directory.
 
                You need to either change your file access attributes or
                recode your program so that it does not violate the existing
                attributes.
                                    -♦-