Restores the original HANDLE commands.
Sintaxe:
POP HANDLE
>>-POP HANDLE--------------------------------------------------><
Condição: INVREQ
- Nota:
- POP HANDLE is not supported for C or C++ programs.
|
Descrição:
POP HANDLE restores the effect of HANDLE ABEND, HANDLE AID, HANDLE CONDITION, and IGNORE CONDITION commands to the
state they were in before a PUSH HANDLE command was executed at the current link level.
This can be useful, for example, during a branch to a subroutine that is embedded in a main program.
Normally, when a CICS program links to a subroutine, the program or routine that receives control inherits the current
HANDLE commands.
These commands might not be appropriate within the called program.
The called program can use PUSH HANDLE to suspend existing HANDLE commands.
Before returning control to its caller, the called program can restore the original
HANDLE commands by using a corresponding POP HANDLE.
You can nest PUSH HANDLE...POP HANDLE command sequences within a task.
Each POP HANDLE restores a set of specifications that were previously stacked by a PUSH HANDLE at the same link level.
Condições:
INVREQ
- Occurs for the following conditions, depending on the options that are specified on the POP HANDLE command:
- If no matching PUSH HANDLE command has been executed at the current link level
- If one program issues a PUSH HANDLE command, then links to another program that issues a POP HANDLE command.
- Ação pré-definida: Terminates the task abnormally.
Informações relacionadas:
© Copyright IBM Corp.