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 to Webservices safexc CICS 1 Sun Jan 22, 2017 5:49 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 3 Thu Jan 19, 2017 1:31 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm


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