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

CICS-Use of HANDLE


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

New User


Joined: 03 Aug 2005
Posts: 23

PostPosted: Thu Aug 18, 2005 6:19 pm
Reply with quote

Hi folks,
What is handle option in CICS?.Explain its use with an example....
Back to top
View user's profile Send private message
eashwar

New User


Joined: 21 May 2005
Posts: 26
Location: Bangalore

PostPosted: Thu Aug 18, 2005 8:44 pm
Reply with quote

there is no option like HANDLE in CICS as far as my knowledge is concerned There is an option called NOHANDLE, this option is used to avoid any exceptions that are to be handled with doing nothing and the operation continues.

other possible answers for your q:

Handle condition is to handle exceptional conditions

exec cics handle
lengerr(legerr-rtn)
dupkey(rtn-1)
notfnd(rtn-2)
invreq(rtn-3)
duprec(rtn-4)
nospace(rtn-5)
dsiderr(rtn-6)
error(error-rtn)
end-exec
the above stated exception conditions are handled that will occur after this command

Handle ABEND : this will handle for abends that occur during the program excecution and are handled by this.

exec cics handle abend
label(rtn-name)
or program(program-name)
end-exec

so if any abend occurs during its scope will be hadled by the rtn if routine is specified or the program if the program name is specified

Handle AID: if the user enter s any pf1-pf24 keys or pa1 - pa3 keys or enter key or clear key or any card swipped all can be hadled depending on the user action

exec cics handle aid
pf24(rtn-1)
pf3(rtn-3)
enter(default-action-rtn)
anykey(normal-rtn)
end-exec
this is used after any receive and receive map commands



if your are asking any question, ask specifically to reduce the typing time of the one who is going to give answers for you
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