GLI Output

The first six characters (positions 1 through 6) of the GLI output file indicate the status of the GLI definition and the status of the transaction (if the definition has no errors). The status value determines the contents of the remainder of the line.

GLI Definition Status

If there is an error in the GLI definition (for example, incorrect formatting), NOT OK is returned in the status position of the record. An error message starts at position 15 of the record (including the status value).

For definition lines that do not contain errors, OK is returned in the status position.

GLI Transaction Status

If there are no errors in the GLI definition, the status position for the data records contains the transaction status.

For acknowledgment records, the status is one of OK, NOT OK, and FATAL. For records in error, the status value is ERRORS if there is an error in the application; or FATAL or ERROR if there is an error in the GLI program.

For a recall or an inquiry (Maint is REC or INQ), a status of OK is accompanied by up to ten error messages starting in position 15 of the record (including the status value).

For a transaction status of OK, data is returned, formatted according to the Field Description file, and starting in position 15 of the record (including the status value).