Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 5 Sat Apr 14, 2018 1:58 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Limit in Length for a CICS START seahawk789 CICS 6 Mon Apr 02, 2018 8:34 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us