IBM SC34-6814-04 Server User Manual


 
client that the dynamic routing program has rejected the request, and a
compcode that gives details of the reason the last attempt to route the
request failed.
You do not need to set a return code when the routing program is invoked for
notification or at transaction termination. (Any code you set is ignored by CICS.)
DYRRTPRI
indicates whether or not the dispatch priority of the transaction, link request or
request should be passed to the application-owning region, if the connection
between the terminal-owning region and the application-owning region is MRO.
The possible values are:
N The dispatch priority is not passed. This is the default.
Y The dispatch priority is passed.
DYRSRCTK
is the MVS workload management service and reporting class token for the
routed transaction. Your routing program should not alter this value, which is set
by CICS and used by CICSPlex SM.
DYRSYSID
is the system identifier (sysid) of a CICS region. The exact meaning of this
parameter depends on the values of DYRFUNC and DYRTYPE:
v When DYRFUNC is set to ‘0’ (route selection):
If DYRTYPE is set to ‘0’, ‘2’, ‘3’, or ‘8’ (any type of transaction routing),
DYRSYSID contains:
- The CICS region name specified on the REMOTESYSTEM option of
the installed transaction definition, or,
- If REMOTESYSTEM is not specified, the system name of the local
CICS region.
If DYRTYPE is set to ‘4’ or ‘9’ (DPL routing), DYRSYSID contains one of
the following:
- The CICS region name specified on the REMOTESYSTEM option of
the installed program definition.
Note: If the REMOTESYSTEM option names a remote region, the
routing program cannot route the request locally.
- If REMOTESYSTEM is not specified, or there is no program definition,
the system name of the local CICS region.
The dynamic routing program can accept the value of DYRSYSID or change
it before returning to CICS.
If the SYSID you return to CICS is the same as the local sysid, CICS runs
the transaction or program in the local region.
v When DYRFUNC is set to ‘1’ (route selection error), DYRSYSID contains the
CICS region name returned to CICS by the dynamic routing program on its
previous invocation.
The action your dynamic routing program can take when DYRFUNC=1
depends on the DYRERROR parameter setting:
If DYRERROR is set to ‘0’ (unknown sysid) or ‘1’ (CICS region not in
service) and you want CICS to retry routing, you must change DYRSYSID
before returning to CICS.
618 Customization Guide