View previous topic :: View next topic
|
Author |
Message |
mittalrishi Currently Banned New User
Joined: 19 Dec 2005 Posts: 12
|
|
|
|
:
:
exec cics handle condition --------1
end-exec.
Perform sub-a.
exec cics handle condition --------2
end-exec.
Sub-a.
Exec cics push handle
end-exec.
exec cics handle condition
end-exec.
Exec cics pop handle
end-exec.
Q) whether both the handle (1) & (2) in the main program will be suspended before the
perform is executed or only the handle condition(1) will be suspended. |
|
Back to top |
|
|
brahmanandareddy
New User
Joined: 16 Dec 2004 Posts: 44 Location: Hyderabad
|
|
|
|
Hi Rishi,
Only the first handle condition will be suspended as it is the only one in active state when you enter into sub program. Your second handle condition will be in effect after your sub program is performed.
Correct me if I am wrong.........
Thank you,
Bramha |
|
Back to top |
|
|
filler
New User
Joined: 03 Aug 2005 Posts: 5
|
|
|
|
Hi Rishi,
To ur case, after ur sub program is performed, the first handle conditon is still in active state, because Push statement saves the last handle condition and Pop statement makes the last saved one to be active. |
|
Back to top |
|
|
|