View previous topic :: View next topic
|
Author |
Message |
kriz_cts
New User
Joined: 03 Aug 2005 Posts: 23
|
|
|
|
Hi folks,
What is handle option in CICS?.Explain its use with an example.... |
|
Back to top |
|
|
eashwar
New User
Joined: 21 May 2005 Posts: 26 Location: Bangalore
|
|
|
|
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 |
|
|
|