Response Definition Screen
The Response Definition screen enables the application developer to provide extended specifications when defining responses. These specifications include:
idmscu
The Response Definition screen enables the application developer to provide extended specifications when defining responses. These specifications include:
- Description
- Security class
- Response type
- Response execution
- Assigned key
- Control command
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
- Application NameSpecifies the name of the current application, as specified on the Main Menu screen. This field is protected.
- VersionSpecifies the version number, in the range 1 through 9999, of the current application.
- Response NameDisplays 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.
- Drop ResponseRemoves the response definition from the application. CA ADS doesnotdrop the function associated with the dropped response.
- Function InvokedDisplays the function invoked by the current application response, as specified on the Response/Function List screen.This field is protected.
- DescriptionSpecifies 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.
- Security ClassSpecifies 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.
- Response TypeSpecifies whether the response is global or local, as follows:
- Global-- The response is valid for all functions in the application. Global responses can be deselected from the list of valid responses for a specific function.
- Local(default) -- The response is valid only for those functions with which it is explicitly associated on the Function Definition screen.
- Response ExecutionSpecifies whether the invoked function is immediately executable or deferred. The following considerations apply:
- In online applications, the default for all functions except the HELP, SIGNON, SIGNOFF, FORWARD, and BACKWARD system functions is deferred.
- In the batch environment, the default for all functions is immediately executable.
Response executionprompt. - Assigned KeySpecifies an online control key or a batch control event that selects the response at runtime.The following considerations apply:
- Validonlineassigned key specifications are ENTER, CLEAR, PA1 through PA3, PF1 through PF24, FWD, BWD, and HDR. LPEN can be specified as a control key if the use of light pens is supported by the installation. The following considerations apply:
- CLEAR, PA1, PA2,andPA3do not transmit data.
- TheFWD, BWD,andHDRcontrol keys are associated with pageable maps.
- FWDandBWDare synonymous with the keyboard control keys defined for paging forward and backward respectively. If FWD or BWD is specified and the keys defined for paging forward and backward are changed, the response definition does not have to be updated or the application recompiled.HDRis 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.
- Validbatchcontrol events are EOF and IOERR. The following considerations apply:
- EOFindicates that the most recent input-file read operation resulted in an end-of-file condition.
- IOERRindicates that the most recent input file read operation resulted in a physical input-error condition. In CA ADS Batch, an output error causes the runtime system to terminate the application.
- Control CommandSpecifies the CA ADS control command used to pass processing control to the function associated with the response, as follows:
- Transfer(default) -- Control is passed by means of a TRANSFER command.
- Invoke-- Control is passed by means of an INVOKE command.
- Link-- Control is passed by means of a LINK command.
- Return-- Control is passed by means of a RETURN command.
- Return Continue-- Control is passed by means of a RETURN command to the premap process.
- Return Clear-- Control is passed by means of a RETURN command and buffers are initialized.
- Return Continue Clear-- Control is passed by means of a RETURN command to the premap process and buffers are initialized.