Previous Topic: Invoke the applicationNext Topic: Summary


Test current features

Using ADSA, you made the ADD, MOD, DEL, and EXIT responses valid from the DEPTMENU function in Step 6. Of these responses, EXIT is the only response that is associated with a fully defined function.

To see how the EXIT response works, select EXIT from the menu screen in any of the following ways:

  DIALOG:                                                  PAGE:   1 OF:   1     DATE:  08/19/99                                        NEXT PAGE:                        DEPARTMENT INFORMATION APPLICATION                                    MAIN MENU             _ ADD        (PF4)      ADD A NEW DEPARTMENT             _ MOD        (PF5)      MODIFY A DEPARTMENT             _ DEL        (PF6)      DELETE A DEPARTMENT             x EXIT       (PF9)      TERMINATE APPLICATION   RESPONSE:

To test out other features of the Department application, you can invoke the application again, as described earlier in Invoke the application.

You can try pressing a control key (such as &pf4). that is not associated with a response on this menu. The runtime system automatically detects undefined control keys and returns the following message:

*** UNACCEPTABLE RESPONSE. PLEASE TRY AGAIN ***

Requesting a function that requires further definition

You can try the ADD, MOD, and DEL responses if you want. Since the associated ADDDEP, MODDEP, and DELDEP functions still require further definition, selecting ADD, MOD or DEL will cause the application to terminate. In this case, the runtime system displays the Dialog Abort Information screen:

Dialog Abort Information screen

        CA ADS RELEASE nn.n           *** DIALOG ABORT INFORMATION ***    ABRT DC171028 APPLICATION NOT EXECUTED. DIALOG LOAD MODULE XXXDADD MISSING  DATE....: 91.078      TIME....: 10:30:51.30        TERMINAL....: LV35003  ERROR OCCURRED IN DIALOG......: XXXDADD                 AT OFFSET......:                 IN PROCESS.....:                                  VERSION:    0                 AT IDD SEQ NO. : 00000000 SEQUENCE NUMBER:         SOURCE : 00000000 00000000 00000000  HIT ENTER TO RETURN TO DC OR ENTER NEXT TASK CODE:

The Dialog Abort Information screen is particularly useful when you are developing and debugging process logic for dialogs. At that time, this screen can help you determine where in a module of process code the dialog fails.

The display of this diagnostic screen can be disabled when the application is ready for final release.