Previous Topic: Instructions For Executing the ApplicationNext Topic: Step 2:  Test Features of the Prototype


Step 1: Invoke the Application

You execute a CA ADS application under the CA ADS runtime system. When you executed the partially defined Department application in Chapter 8, "Defining an Application Structure Using ADSA", you invoked the application by entering two task codes. The first task code (ADS) invoked the runtime system; the second (XXXDEPT) invoked the application itself.

Dynamically Associating the Task Code

To make it easier to execute the application, you can dynamically associate the application's task code with the runtime system. To do this, you issue a DCMT VARY DYNAMIC TASK command while using DC/UCF.

For example, you can enter this DCMT command while using CA IDMS/DC as shown:

ENTER NEXT TASK CODE:
dcmt vary dynamic task xxxdept invokes adsorun1 . 
                                            ▲
                                            │
                                      Required space
                                      and period

                                                                [Enter]

ADSORUN1 is the internal name for the CA ADS runtime system. After you issue the above DCMT command, entering task code XXXDEPT invokes the runtime system and then causes the Department application to be executed. This association remains in effect until the system is recycled.

Invoke the Application

You can now invoke the Department application from DC/UCF by entering the task code for the application:

xxxdept 
    ▲
    │
 The Department application's
 task code has been associated
 with the runtime system.
                                                                [Enter]

DEPTMENU Screen

The DEPTMENU screen is the first screen displayed.

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           _ EXIT       (PF9)      TERMINATE APPLICATION RESPONSE:              SEND DATA-─►                       MODE: STEP

After you invoke the Department application from DC/UCF, you can test out features that you've implemented in the prototype Department application, as described below.