Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CICS-Use of HANDLE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: CICS-Use of HANDLE
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us