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

Explain the primary function of the processing program table (ppt)?

0 Answers  


Which is the program which determines whether a transaction should be restarted ?

1 Answers  


what is the differences between getting the system time with eibtime and asktime command?

0 Answers   IBM,


Can you define multiple maps in a BMS mapset?

3 Answers   Cap Gemini, IBM,


Explain the difference between cics program control table (pct) and cics processing program table (ppt)?

0 Answers  






If no exception handling is provided in the program, what will happen ?

1 Answers  


What is the content of the PPT entry?

3 Answers   CTS, IBM,


Name some commands used for CICS file browsing.

2 Answers  


What is EXEC CICS RETRIEVE ?

1 Answers   IBM,


I have to run a select query on DB2 table and show its data on CICS map. Please tell me.

2 Answers  


How to handle exceptional conditions in cics?

0 Answers  


how can we differentiate between conventional and pseudo-conventional coding just by seeing cobol code?

2 Answers   Patni,


Categories