Other session parameters
The following additional operands of the DEFINE CONNECTION and DEFINE SESSIONS commands are also significant for CICS®-IMS sessions.
- SENDSIZE
-
- If CICS is the primary half session, specifies the maximum request unit (RU) that CICS sends to the remote IMS system. This value must be less than or equal to the value specified by the RECANY parameter in the IMS COMM macro.
- If CICS is the secondary half session, specifies the maximum RU that CICS receives from the remote IMS system. This value must be less than or equal to the value specified by the OUTBUF parameter in the IMS TERMINAL macro.
- RECEIVESIZE
-
- If CICS is the primary half session, specifies the maximum request unit (RU) that CICS receives from the remote IMS system. This value must be less than or equal to the value specified by the OUTBUF parameter in the IMS TERMINAL macro.
- If CICS is the secondary half session, specifies the maximum RU that CICS sends to the remote IMS system. This value must be less than or equal to the value specified by the RECANY parameter in the IMS COMM macro.
- BUILDCHAIN(N|Y)
- Specifies whether multiple RU chains are to be assembled before
being passed to the application program. If
Y
is specified, a complete chain is passed to the application program in response to eachRECEIVE
command, and the application must perform any required deblocking. IfN
is specified, a single RU is passed to the application program in response to eachRECEIVE
command.Recommendation:BUILDCHAIN(Y)
is recommended, even when IMS record mode (VLVB) is used, because the logical records produced as IMS output might not coincide with RU boundaries. - DATASTREAM(USER)
- Specifies a data stream profile when CICS is communicating with IMS using the
START
command (asynchronous processing). CICS messages generated by theSTART
command always cause IMS to interpret the data stream profile as input for component 1. This parameter is required.The data stream profile for distributed transaction processing can be specified by the application program using the DATASTR option of the
BUILD ATTACH
command. - RECORDFORMAT(U|VB)
- Specifies the type of chaining that CICS is
to use for transmissions that are initiated by
START
commands (asynchronous processing) on a particular session.Two types of data handling algorithms are supported between CICS and IMS:- Chained
Messages are sent as SNA chains. The user can use private blocking and deblocking algorithms. This format corresponds to
RECORDFORMAT(U)
. When IMS is the receiver, a chain of RUs is interpreted as the complete single-segment message. - Variable length variable blocked records (VLVB)
Messages are sent in variable-length variable-blocked format with a halfword length field before each record. This format corresponds to
RECORDFORMAT(VB)
. When IMS is the receiver, the input deblocked element is treated as the input segment.
The data stream format for distributed transaction processing can be specified by the application program using the RECFM option of the
BUILD ATTACH
command. - Chained
- SENDCOUNT and RECEIVECOUNT
- These operands are used to specify whether the session is a
SEND
session or aRECEIVE
session. (In macro-level definition, this is specified in theSESTYPE=SEND|RECEIVE
operand.)ASEND
session is one in which the local CICS is secondary and is the contention winner. It is specified by:SENDCOUNT(1) RECEIVECOUNT(0)
ARECEIVE
session is one in which the local CICS is primary and is the contention loser. It is specified by:SENDCOUNT(0) RECEIVECOUNT(1)
Recommendation:SEND
sessions are recommended for all CICS-IMS sessions.You need not specify a
SENDPFX
or aRECEIVEPFX
; the name of the session is taken from theSESSNAME
operand.
The following table shows the relationship between the CICS Resource Definition Online and IMS definitions of an ISC link. Related operands are shown by numbers. If CICS is communicating with an XRF IMS, NETNAME(SYSIMS) should be the USERVAR or MNPS ACB associated with the XRF IMS.
CICS | IMS |
---|---|
|
|
The following table shows the relationship between the CICS macro-level definitions and IMS definitions of an ISC link. Related operands are shown by numbers. NETNAME=SYSIMS should be the USERVAR or MNPS ACB associated with the IMS system if you are defining a CICS to XRF IMS session.
CICS | IMS |
---|---|
|
|