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
What is the pic clause for the any bll cell type of data fields?
Highlight the difference between a symbolic map and physical map?
what is the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?
What are the uses of ppt in cics?
Explain the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?
What are the some important fields in the eib block?
Can you define cics task?
Specify the requirements for automatic task initiation?
What is meant by PPT and what are its uses?
What is cics load command?
Define exec cics retrieve?
What is bms map?
What is non-conventional programs?
What does the 'cebr:cics' transactions do?
How can you access qsam (seq) files from cics?