The Task Codes screen is used to specify DC/UCF task codes that initiate an application at runtime. Each task code is associated with an application function.
The application compiler updates the table of task codes and associated functions (task application table) that is referenced by the CA ADS runtime system.
The Task Code screen is accessed from the Main Menu by choosing option 4 at the Screen prompt.
At runtime, the user can enter one of the specified task codes. If a signon is not required, the associated function is executed as the first function in the application. If a signon is required, the associated function is executed as the first function after an acceptable signon is entered.
At least one task code must be specified for each application. Up to eight task codes and corresponding functions can be specified on one page of the Task Codes screen. The application developer can specify additional task codes by pressing [Enter] to enter the specified task codes and then pressing the applicable control key to display a blank Task Codes screen.
The application developer can scroll between pages of the Task Codes screen by using the control keys associated with paging forward and paging backward. See earlier in this section for a listing of the default control key assignments.
Sample Screen
Task Codes Page 1 of 1 Application name: TEST1 Version: 1 Task Code Function Drop (/) 1. ________ ________ _ 2. ________ ________ _ 3. ________ ________ _ 4. ________ ________ _ 5. ________ ________ _ 6. ________ ________ _ 7. ________ ________ _ 8. ________ ________ _ Enter F1=Help F3=Exit F4=Prev F5=Next F7=Bkwd F8=Fwd
Field descriptions
Specifies the name of the current application, as specified on the Main Menu screen. This field is protected.
Specifies the version number, in the range 1 through 9999, of the current application.
This field is protected.
Specifies the 1- to 8-character name of each DC/UCF task code for the application. Task code names cannot contain embedded blanks. The application developer can delete task codes already specified by entering a nonblank character in the Drop ID column opposite the task code to be dropped.
Note: Task codes must be defined to DC/UCF at system generation by means of the TASK statement before they can be used to initiate an application directly from DC/UCF without also having to specify the task code for the runtime system. Task codes defined at system generation must invoke ADSORUN1. For more information about the TASK statement, see the CA IDMS System Generation Guide.
Displays the name of the current function, as specified on the Response/Function List screen. The function must be associated with a user program.
This field is protected.
Removes the task code from its association with the application.
|
Copyright © 2014 CA.
All rights reserved.
|
|