ONC RPC remote procedures and CICS programs

In CICS® ONC RPC, the CICS programs are identified by a 4-tuple.

  • Program number—same as the ONC RPC program number
  • Version number—same as the ONC RPC version number
  • Procedure number—same as the ONC RPC procedure number
  • Protocol—determined by the protocol used to communicate between the client system and z/OS® Communications Server.
When a client request arrives, the CICS program chosen to service it is the one associated with the 4-tuple just described. Figure 1 shows a state of CICS ONC RPC in which five 4-tuples are associated with three CICS programs.
Figure 1. Remote procedures and CICS programs
This diagram shows the following 4-tuples: 24127AC0/5/1/U and 24127AC0/5/1/T associated with PROGA, CE00457F/3/1/U associated with PROGB, and CE00457F/3/1/T and CE00457F/3/2/T associated with PROGC.
The program numbers are given in hexadecimal. The protocols are U for UDP and T for TCP.
  • If a client request arrives for program 24127AC0, version 5, procedure 1, the CICS program PROGA is used to service it whether the protocol is TCP or UDP.
  • If a request arrives for program CE00457F, version 3, procedure 1, and the protocol is UDP, the CICS program PROGB is used to service it. But if the same request arrives and the protocol is TCP, PROGC is used to service it.

    It is, however, usual to use the same program, version, and procedure irrespective of the protocol used to transmit the request.

  • The CICS program PROGC is also used for procedure 2 of the same program and version if the protocol is TCP.

How you set up and control the relationship between 4-tuples and CICS programs is described in Lengths of the CICS program input and output data.



dfhtm3b.html | Timestamp icon Last updated: Sunday, 4 June 2017