When an exception occurs during file processing in COBOL, the associated error code can be found in the special register called _____.

  • ERROR-CODE
  • EXCEPTION-STATUS
  • FILE-STATUS
  • STATUS-CODE
In COBOL, when an exception occurs during file processing, the associated error code can be found in the special register called FILE-STATUS. Programmers can inspect this register to determine the nature of the error.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *