z/OS Communications Server secondary half-session support
CICS® acts as both the primary
and the secondary halves of an LUTYPE6 session. To implement secondary
half-session support, CICS z/OS® Communications Server terminal
control has to do two things:
- Implement the secondary half of the data flow control and session control protocols that CICS already uses as a primary.
- Use the secondary API provided by z/OS Communications Server.
The terminal control functions provided by CICS are independent of primary/secondary considerations. Differences between the primary and secondary z/OS Communications Server interfaces are contained within the CICS modules that issue the appropriate z/OS Communications Server request. The secondary support functions appear principally in the DFHZCP modules shown in Table 1.
| Modules | Function | Secondary function |
|---|---|---|
| DFHZSIM | Request LOGON | Use REQSESS macro |
| DFHZOPN | OPNDST | Use OPNSEC macro |
| DFHZSCX | SCIP exit | Receive and process BIND, STSN, SDT, CLEAR, and UNBIND commands |
| DFHZCLS | CLSDST | Use TERMSESS macro |
| DFHZRSY | Resynchronization | Build STSN responses |
| DFHZSKR | Respond to | Send responses to BIND, SDT, and STSN commands |
| DFHZRAC, DFHZRVX | Receive | Receive and process BID commands |
| DFHZATI, DFHZRVX, DFHZRAC | Bracket protocol | Implement secondary contention resolution using bracket protocol |
| DFHZNSP | Network services error exit | Handle secondary LOSTERM type of errors |