What is the EXEC CICS HANDLE ABEND?
Answers were Sorted based on User's Feedback
Answer / vinod
HANDLE ABEND is used to activate, cancel, or reactivate an
exit for abnormal termination processing. You can suspend
the command by means of the PUSH HANDLE and POP HANDLE
commands.When a task terminates abnormally, CICS searches
for an active abend exit, starting at the logical level of
the application program in which the abend occurred, and
proceeding to successively higher levels. The first active
abend exit found, if any, is given control.
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / sri
The EXEC CICSĀ® PUSH HANDLE command allows you to nest your
condition-handling code. For example, when calling a
subroutine, you might want a completely different set of
EXEC CICS HANDLE CONDITION commands while in the
subroutine. (EXEC CICS PUSH HANDLE enables you to suspend
all current EXEC CICS HANDLE CONDITION, IGNORE CONDITION,
EXEC CICS HANDLE AID, and EXEC CICS HANDLE ABEND commands.
This can be useful, for example, during a branch to a
subroutine that is embedded in a main program.)
Normally, when a CICS program calls a subroutine, the
program 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.
Use PUSH HANDLE therefore, to save your present set of
HANDLE commands unchanged while you use a new set in the
routine. On exit, you can reinstate the original set of
HANDLE commands by using a corresponding POP HANDLE.
| Is This Answer Correct ? | 4 Yes | 0 No |
What are the main uses of the transaction in the cics?
How can you access qsam (seq) files from cics?
Kindly specify the pic clause for the data type of length option field type of data fields?
How to handle exceptional conditions in cics?
What are the two outputs created as a result of generation of a map?
What Are Send Map Maponly & Send Map Dataonly ?
I have a Field which is of size 9(4). In the Screen if I enter the value for this field as 1234, it showing it as Valid. But if I enter only one or two digits, zeros should be appended in the remaining places. For example: When u enter 1 in the screen the output should be 0001. When you enter 12, output should be 0012. How to achieve this in the program?
Is there any entry for TSQs in CICS tables?
Can you define mdt?
Mention the option used in a cics command to retrieve the response code after execution of the command?
Transaction TRN1 has associated program PROG1 (pseudo- conversational). Under certain condition, PROG1 transfer control (XCTL) to PROG2, which should have his own pseudo- conversation with the terminal. When PROG2 send the map and execute a RETURN TRANSID('TRN1'), after receiving the control from the terminal, which program will be initiated?
How can you access esds files from cics?