IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Cics question about HANDLE


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mittalrishi
Currently Banned

New User


Joined: 19 Dec 2005
Posts: 12

PostPosted: Tue Jan 24, 2006 10:55 pm
Reply with quote

:
:
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
View user's profile Send private message
brahmanandareddy

New User


Joined: 16 Dec 2004
Posts: 44
Location: Hyderabad

PostPosted: Tue Jan 24, 2006 11:12 pm
Reply with quote

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
View user's profile Send private message
filler

New User


Joined: 03 Aug 2005
Posts: 5

PostPosted: Wed Jan 25, 2006 3:27 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top