IBM DOS/VS Error Codes

IBM DOS/VS COBOL has a form of the USE statement in the DECLARATIVES section that is not normally recognized by ACUCOBOL-GT:

USE AFTER STANDARD ERROR PROCEDURE ON file-name GIVING
       data-name-1 [data-name-2]

This form is accepted by ACUCOBOL-GT when the -Cv option is in effect.

When an error handler introduced by this statement is invoked, the runtime puts special error codes into the eight-byte data item data-name-1. See IBM DOS/VS COBOL Conversions in Transitioning to ACUCOBOL-GT for more information and the list of codes.