At which situation we need to use the push and pop
conditions...pls tell me with exampls.
Answers were Sorted based on User's Feedback
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 |
Answer / narender pathi
Above answer is correct. However we can use PUSH and POP with in the same program as well.
Regards,
Narender Pathi
Broadridge, Hyderabad
| Is This Answer Correct ? | 2 Yes | 2 No |
Hi Folks, In the Map, one field is having attribute FSET. I want to FSET OFF of that field through program. Can any body let me know the process? Thanks Praveen
Give the definition of COMMAREA ?
What is the difference between the enter key, the PF keys and the PA keys?
What is the different ways to initiate a task?
WHAT ARE THE VERBS IN CICS EQUAL TO ACCEPT,DISPLAY,VALUE?
how do you execute a background cics txn ?
What are the CICS commands available for program control?
In which CICS table would you specify the length of the TASK WORK AREA (TWA)?
Explain the different system tables used in cics?
what is mapfail and when we get this error? during send map or receive map?
Explain cedf transaction commands?
What is bms map?