The Response Definition screen enables the application developer to provide extended specifications when defining responses. These specifications include:
The Response Definition screen is accessed by entering a nonblank character in the appropriate Select field on the Response/Function List screen and pressing [PF5].
Sample Screen
Response Definition Application name: TEST1 Version: 1 Response name: QUIT Drop response (/) _ Function invoked: QUIT Description . . . . ____________________________ Security class: 1 Response type. . . . . . . 2 1. Global 2. Local Response execution . . . . 2 1. Immediate 2. Deferred Assigned key . . . . . . . PF01 Control command. . . . . . 1 1. Transfer 2. Invoke 3. Link 4. Return 5. Return continue 6. Return clear 7. Return continue clear 8. Transfer nofinish 9. Invoke nosave 10. Link nosave Enter F1=Help F3=Exit F4=Prev F5=Next
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.
Displays the name of the application response selected on the Response/Function List screen.
This field can be modified by the user. The first character of the response name cannot be blank. If modified, the user should insure that the combination of response name, assigned key, and associated function must be unique within the application.
Removes the response definition from the application. CA ADS does not drop the function associated with the dropped response.
Displays the function invoked by the current application response, as specified on the Response/Function List screen.
This field is protected.
Specifies a 1- to 28-byte description of the current response. The response description is displayed with the associated response name on runtime menu and help screens. Note that the specified description is truncated to 12 characters on the short description menu screen.
Specifies the security class for the response. Valid security class values are 1 to 256. See your Security Administrator about the security class conventions being used at your site.
Specifies whether the response is global or local, as follows:
A response is specified as global (that is, valid for all functions in the application) or local (that is, valid only if explicitly associated with a function). For each response defined, the combination of response name, associated control key, and function initiated must be unique within the application.
Specifies whether the invoked function is immediately executable or deferred. The following considerations apply:
Defaults can be overridden by entering the appropriate number in the data field immediately following the Response execution prompt.
Specifies an online control key or a batch control event that selects the response at runtime.
The following considerations apply:
HDR is not associated with any keyboard control key. Conditions encountered during a map paging session cause the response associated with this control key value to be selected.
Specifies the CA ADS control command used to pass processing control to the function associated with the response, as follows:
In process code for dialogs associated with functions, the only control command needed is EXECUTE NEXT FUNCTION. When a valid response is made, EXECUTE NEXT FUNCTION causes the runtime system to execute the control command associated with the response. The control commands perform the same record buffer and currency maintenance as they do when they are coded in processes.
|
Copyright © 2014 CA.
All rights reserved.
|
|