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



At which situation we need to use the push and pop conditions...pls tell me with exampls...

Answer / 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

At which situation we need to use the push and pop conditions...pls tell me with exampls...

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

Post New Answer

More CICS Interview Questions

difference between tsq and tdq?

0 Answers   IBM,


What is the difference between START and XCTL ?

3 Answers   IBM,


In which table would you make an entry for a BMS map?

2 Answers   IBM,


Explain what is a cursor in cics sql processing?

0 Answers  


What is mainframe cics?

0 Answers  






What CICS command would you use to read a VSAM KSDS sequentially in ascending order?

4 Answers   IBM,


What are the differences between and EXEC CICS XCTL and an EXEC CICS START command?

1 Answers  


when will be use the tdq and tsq??

0 Answers  


What is eib?

0 Answers  


Explain the usage of language in the ppt entry?

0 Answers  


Mention the option (along with argument type) used in a CICS command to retrieve the response code

3 Answers  


In a particular cics program, what is the procedure to allocate dynamic memory?

0 Answers  


Categories