Previous Topic: Complete Testing and Return to CA GenNext Topic: Debug Trace Facility


Abnormal Ends

Abnormal endings (abends) are handled by the Dialog Manager, which is part of every online load module generated through CA Gen. If a batch procedure fails, a failure message is written to the screen in the same manner as an online procedure failure.

If a runtime error occurs in an online load module, the following processing occurs:

  1. The Dialog Manager performs all necessary rollbacks.
  2. CA Gen displays an error screen that lists the appropriate CA Gen runtime error messages. The following sample is an example of an error message screen for an online step.

TIRM030E: APPLICATION FAILED ** UPDATES HAVE BEEN BACKED OUT TIRM031E: FAILING PROCEDURE EXIT DATA FOLLOWS TIRM032E: LAST OR CURRENT ACTION BLOCK ID = 507774696 TIRM033E: LAST OR CURRENT ACTION BLOCK NAME = ABADDEMP TIRM034E: LAST OR CURRENT DATABASE STATEMENT = TIRM035E: CURRENT STATEMENT BEING PROCESSED = 10 TIRM037E: ** A FATAL ERROR HAS BEEN ENCOUNTERED ** TIRM046E: *** TRANSACTION PROCESSING TERMINATED TIRM044E: *** PRESS PA2 TO CONTINUE ***

  1. When you press PA2 (NEXT PAGE key) from the error message screen, CA Gen displays the last screen for the transaction that was being processed when the error occurred. (For a batch procedure, the message No page available appears.)
  2. CA Gen recovers all data in the import views at the time the error occurred. Therefore, any user input is recovered and displayed on the screen. Screen fields that are only in the export view may or may not be populated, depending on when the error occurred.
  3. An error message appears in the system error message area defined for the screen. This message is distinct from the runtime error messages displayed on the error message screen.

    The default error message is:

    SYSTEM ERROR OCCURRED - CONTACT SUPPORT.
    

    The following figure shows an application screen that is displayed after an error has occurred.

  4. The application remains active. You can clear the screen to try another transaction code by pressing the End key defined for your test environment.

IEFSLSB   CORPORATE MANAGEMENT     EMPLOYEE MAINTENANCE EMPLOYEE NUMBER: 123456   NAME: JOE USER COST CENTER: 123    DEPARTMENT: 4 EMPLOYMENT DATE: 031599   STATUS: E SALARY: 1234 ADDRESS: 7250 MICHIGAN   PHONE: (214) 555-1414 CITY/STATE/ZIP: PARIS, TEXAS 73000  BIRTH DATE: 041575 F02=HELP F05=MAINMENU F07=ADDEMP2 TIRM000E: SYSTEM ERROR OCCURRED - CONTACT SUPPORT     

If a runtime error occurs in a batch load module, the following processing occurs:

  1. The Batch Manager performs all necessary rollbacks.
  2. CA Gen displays an error screen that lists the appropriate CA Gen runtime error messages.
  3. You can clear the screen to try another load module by pressing the End key defined for your environment.