Previous Topic: Exit From ADSANext Topic: Summary


Execute the Application

In the previous steps, you made the following changes to the structure of the Department application:

You can now execute the Department application and see how your changes affect the way that end users of the Department application move from one function to another.

You invoke an application from DC/UCF by entering the task code (XXXDEPT) for the application. For example, from CA IDMS/DC, you invoke the Department application as shown:

ENTER NEXT TASK CODE:
xxxdept

                                                                [Enter]

For more information on invoking the Department application, see Instructions For Executing the Application.

After you invoke the application, display the ADDDEP function. To test how you transfer from ADDDEP to function MODDEP, you select the MOD response:

   FUNCTION: ADDDEP                               DEPARTMENT INFORMATION    DEPARTMENT ID .......: 0000               NAME .....:               HEAD ID ..: 0000    NEXT RESPONSE: mod

The MODDEP function is displayed.

   FUNCTION: MODDEP                               DEPARTMENT INFORMATION    DEPARTMENT ID .......:               NAME .....:               HEAD ID ..:

Testing the BACK response

According to your application design, both the BACK and EXIT responses are valid from MODDEP. Try requesting BACK:

   FUNCTION: MODDEP                               DEPARTMENT INFORMATION    DEPARTMENT ID .......:               NAME .....:               HEAD ID ..:    NEXT RESPONSE:  back

Notice that the BACK function takes you to DEPTMENU, rather than to ADDDEP. This is because BACK invokes the POP system function, which returns control to the most recently executed menu in the application.

Pressing [PF3] to invoke the EXIT response

When you are ready to leave the application, you can test out the EXIT response. You can test the EXIT response from any function in the Department application. To test EXIT, try pressing [PF3] to select the EXIT response:

   FUNCTION: MODDEP                               DEPARTMENT INFORMATION    DEPARTMENT ID .......: 0000               NAME .....:               HEAD ID ..: 0000

                                  PF3 is now associated --►   [PF3]
                                  with the EXIT response
                                  throughout the application.

When you press [PF3], the EXIT response is invoked. The associated system function, QUIT, exits you from the Department application. To test out other features of the Department application, you can invoke the application again, as described earlier.