Previous Topic: Complete Testing and Return to CA GenNext Topic: Batch Testing


Abnormal Ends (ABENDS)

The Dialog Manager, a part of every CA Gen-generated online load module, handles abnormal endings, abends.

Note: For more information about handling runtime errors, see the User Exit Reference Guide.

If a batch procedure fails, CA Gen writes a failure message to the screen the same it does for an online step failure.

CA Gen performs these following steps to process a runtime error in an online load module:

  1. The Dialog Manager performs all necessary rollbacks.

    CA Gen displays an error screen that lists the appropriate CA Gen runtime error messages, similar to this illustration:

    TIRM030E:   APPLICATION FAILED - UPDATES HAVE BEEN BACKED OUT                  TIRM042E:   *** PROFILE ERROR DETECTED ***  9 0007                             ------------------------------------------------------------------------------- DSNT408I SQLCODE = -904, ERROR:  UNSUCCESSFUL EXECUTION CAUSED BY AN                     UNAVAILABLE RESOURCE. REASON 00E30305, TYPE OF RESOURCE                        00000801, AND RESOURCE NAME D80H.TIRPROFD.1898BDDF1A94C6A2         DSNT418I SQLSTATE   = 57011 SQLSTATE RETURN CODE                               DSNT415I SQLERRP    = DSNXEAAL SQL PROCEDURE DETECTING ERROR                   DSNT416I SQLERRD    = -150  0  0  -1  0  0 SQL DIAGNOSTIC INFORMATION          DSNT416I SQLERRD    = X'FFFFFF6A'  X'00000000'  X'00000000'                             X'FFFFFFFF'  X'00000000'  X'00000000' SQL DIAGNOSTIC                           INFORMATION                                                           ------------------------------------------------------------------------------- TIRM046E:   *** TRANSACTION PROCESSING TERMINATED  IEFC1                       TIRM044E:   *** PRESS PA2 TO CONTINUE ***                                             

  2. When you press PA2, the NEXT PAGE key, from the error message screen, CA Gen displays the last screen for the transaction being processed when the error occurred. For a batch procedure, CA Gen displays the following message:
    No page available
    

    CA Gen recovers all data in the import views at the time the error occurred. CA Gen recovers user input and displays it on the screen. The screen fields that are only in the export view may or may not be populated, depending on when the error occurred.

    The application remains active.

    An error message displays in the system error message area that is defined for the screen. This message is distinct from the runtime error messages that are displayed on the error message screen. The default error message is:

    SYSTEM ERROR OCCURRED - CONTACT SUPPORT.
    

To clear the screen to try another transaction code, press the End key that is defined for your test environment.

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

  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 that is defined for your environment.