To establish a connection with a session partner that is
an XRF complex that uses a USERVAR, the steps you take differ depending
on whether the session is initiated from the XRF complex or the IMS system outside of the XRF complex.
- If the non-XRF half session initiates the session with IMS, the non-XRF half session should:
- Identify the APPLID of the currently active IMS system by issuing the following macro:
INQUIRE OPTCD=USERVAR,AREA=area,AREALN=8
If
the VTAM® network is Release
3.2 or later and USERVAR Management Enhancement is installed, you
do not need to issue the INQUIRE macro.
With this request, the AREA parameter
specifies the address of the area with the USERVAR name for the active
XRF system. The USERVAR is then replaced with the APPLID of the currently
active IMS system.
- Issue a session-initiation request by specifying the APPLID of
the active IMS system.
If the VTAM network is Release 3.2 or
later and USERVAR Management Enhancement is installed, issue a session-initiation
request by specifying the USERVAR of the XRF system.
- If the IMS system
in the XRF complex initiates the session, the IMS system:
- Issues the session-initiation request, adding the USERVAR assigned
to the
BIND in the user data field.
- Validates the session-initiation request by referencing the USERVAR
in the user data field located at the end of the request. Initiation
is not apparent to the user.