At which situation we need to use the push and pop
conditions...pls tell me with exampls.
Answer Posted / santy
If one programe call the any subprogram within it. Then in
SUB program we use PUSH command to sustained all the Handle
conditions of main program, and before the control giving
back to main program we use POP command to reactivate all
the sustained Handle conditions of Main program.
Use of PUSH and POP conditions is to sustained all the
Handle error conditions in Subprog.
Exaples :- Prog A
EXEC SEND....END-EXEC
EXEC HANDLE LENGERR(LABEL1)...
EXEC RECIVE..END EXEC.
CALL PROG B
EXEC SEND....END-EXEC
Prog B
EXEC PUSH
EXEC HANDLE
EXEC POP
EXEC SEND ..
EXEC RETRUN.
in the above exp, when the control comes to at prog B then
all the HANDLES error condtions of Prog A in sustained
using PUSH condition and before control giving back to prog
A all the sustaineded handle error conditons are activated
using the POP condition.
| Is This Answer Correct ? | 31 Yes | 2 No |
Post New Answer View All Answers
when an xctl is done, does the tranid change ? Is a new task created ? Does it cause an implicit syncpoint to be issued ?
What does the 'ceci:cics' transactions do?
Can you define bms?
mention the option (along with argument type) used in a cics command to retrieve the response code after execution of the command?
Explain the difference between start and xctl?
In a CICS program, how will you read a VSAM file?
What are the main uses of the transaction in the cics?
Can you define mapset?
What is meant by an AICA ABEND?
What is the kcp in the cics?
what are transient data sets defined to cics?
What does the 'cebr:cics' transactions do?
Explain the difference between dfhcommarea and tsq?
List out all the tables that are a part of cics ?
Explain the difference between exec cics handle condtion and an exec cics ignore command?