Synchronous and asynchronous processing on ISC VTAM links
Message transmission can be synchronous or asynchronous between the terminal entering the message and the receiving subsystem. Messages can also be either synchronous or asynchronous with respect to the ISC session.
From the point of view of the CICS application,
using the CICS SEND/RECEIVE
EXEC
commands produces synchronous processing on the session, while the CICS START/RETRIEVE
EXEC
commands result in asynchronous processing. When CICS is the front-end subsystem, both processing
types are supported. When IMS is
the front-end subsystem, only asynchronous processing can occur, unless
the special support for front-end/back-end system utilization provided
by IMS Front-End Switch exit
routine is used.
The following table shows how the CICS START/RETRIEVE
and SEND/RECEIVE
EXEC
commands are supported from a CICS point
of view.
Message type | CICS to IMS | IMS to CICS |
---|---|---|
SEND/RECEIVE (synchronous) | YES | YES |
START/RETRIEVE (asynchronous) | YES | YES |
The following table shows the differences in the CICS application program interface when using SEND/RECEIVE
or START/RETRIEVE
.
Attribute | SEND/RECEIVE | START/RETRIEVE |
---|---|---|
Mode | Synchronous with (SEND INVITE) or without (SEND LAST) reply | Asynchronous |
FMH | ATTACH | ATTACH SCHEDULER |
Name length | Supports 8-byte names | Supports 4-byte names1 |
Change Direction (CD) | Supported | CICS front-end cannot send CD. IMS sends CD to CICS if COMPT=SINGLE2 or MULT2. |
Multiple chains per message (IUTYPE) | Supported2 | Not supported |
IMS component selection (DATASTREAM) | Supported | Not supported for input. |
RECORDFORMAT:3 Undefined (U) | Supported4 | Not supported |
RECORDFORMAT:3 RU | Supported4 | Not supported |
RECORDFORMAT:3 VLVB | Supported | Supported |
RECORDFORMAT:3 CHAIN5 | Supported | Supported |
FMH built by | Application program |
System: DPN, PRN, RDPN, |
Access to FMH | Yes (EXTRACT Attach) | Any supplied parameters |
Relation to ISC session | Directly related |
Independent |
IMS transaction types supported | Response mode |
Nonresponse mode |
Recoverable I/O | Supported | Supported |
Nonrecoverable I/O | Supported | Supported |
Multisegment input | Supported | Single segment only |
Multisegment output | Supported | Single segment only |
IMS edits | Basic edit | Basic edit |
Available | ISC Edit | ISC Edit |
MFS: Without paging | Supported | Supported |
MFS: Autopaged input: Single chain | Supported | Supported |
MFS: Autopaged input: Single chain: Multichain | Supported | Not supported |
MFS: Autopaged output | Supported | Not supported |
MFS: Demand-paged output | Supported | Not recommended |
- Names can be embedded in the message text. The DPN field can be converted from a 4-character to an 8-character name by using DEFINE TRANSACTION REMOTENAME (or DFHPCT TYPE=REMOTE).
- Only used to send or receive MFS autopaged input or output messages.
- The
ATTACH
parameters are defined in theCONNECTION
definition. However, the application usingSTART/RETRIEVE
must understand and provide the correct data format within the application. - Marked as reserved by CICS,
but can be specified on the
BUILD ATTACH
. - Chained output from IMS requires the use of MFS.
- The RDPN and RPRN are limited to 4-character names.
- Nonresponse, nonconversational, and message switch
input use
SEND LAST
only. CICS acquires replies to nonresponse and nonconversational transactions usingRECEIVE
. /DIS
,/RDIS
,/FOR
only.