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 |
Receive consists of buffer option in it. What is the significance of this option?
The read of a record from an Intrapartition TDQ is not destructive(True or False).
What CICS command would you use to read a VSAM KSDS sequentially in ascending order?
Can a program change protected field ?
Explain the difference between getting the system time with eibtime and asktime command?
IN CICS APPLICATION PROGRAM, INSTEAD OF HARDCODING MAP AND MPASET NAMES WHILE SENDING AND REIEVING ...CAN WE DO LIKE THIS ??? MOVE MAP AND MAPSET NAMES TO WORKING STORAGE SECTION VARIABLES AND USE THOSE VARIABLES WHILE SENDING AND RECIEVING MAP.IF YES, HOW CAN WE MOVE MAP INPUT , OUTPUT VARIABLES. IF ANYBODY KNOWS THIS PLEASE POST THE ANSWER
What will be the length of the eibcalen ,if the transaction is used to cics first time?
Explain the term ?MRO? (Multi Region Operation)?
What is the EIB (execute interface block)?
is it possible to create TDQ's and TSQ's dynamically,How
Transaction TRN1 has associated program PROG1 (pseudo- conversational). Under certain condition, PROG1 transfer control (XCTL) to PROG2, which should have his own pseudo- conversation with the terminal. When PROG2 send the map and execute a RETURN TRANSID('TRN1'), after receiving the control from the terminal, which program will be initiated?
Define exec cics retrieve?