Receiving a request at a remote system
Terminal control receives the request transmission and attaches one of the mirror transactions.
- Address of the session TCTTE (in XFRDS field XFRATCTE)
- Address of the TIOA (in XFRDS field XFRATIOA).
The mirror program also allocates scratch pad storage in the LIFO storage area for use by DFHXFP (or DFHXFX) in building argument lists. The address of this storage is placed in XFRPLIST.
- Transforms the received request (as coded in the function management header of the data unit) into an appropriate CICS command.
- Decodes the TIOA and builds (in the first part
of the STORAGE area) an EXEC parameter list that basically consists of addresses
that point to fields in the TIOA. (Those fields that were compressed for
transmission are expanded and placed in the second part of the STORAGE area; for these fields, the EXEC parameter list
points to the expanded versions, not the compressed versions in the TIOA.)
Note: The NOHANDLE option is specified on each EXEC CICS command that is created; this has the effect of suppressing DFHEIP’s branching to an error routine.
- Returns control to the mirror program.
The mirror program then invokes DFHEIP (in the same way as for an application program), passing to it (in register 1) the address of the EXEC parameter list just built.
DFHEIP or DFHFCRF determines whether the request is for a remote resource on yet another system or for a local resource. If the resource is remote, DFHEIP or DFHFCRF allocates a new and separate transfer storage area XFRDS and invokes DFHISP (as described under Sending a request to a remote system).
If the resource is local, the reply is processed for the mirror program in the usual way.