z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Parameter values set by the application

z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
SC27-3660-00

SOC-FUNCTION
A 16-byte character field containing TAKESOCKET. The field is left-justified and padded to the right with blanks.
SOCRECV
A halfword binary field set to the descriptor of the socket to be taken. The socket to be taken is passed by the concurrent server.
CLIENT
Specifies the client ID of the program that is giving the socket. In CICS® and IMS™, these parameters are passed by the Listener program to the program that issues the TAKESOCKET call.
  • In CICS, the information is obtained using EXEC CICS RETRIEVE.
  • In IMS, the information is obtained by issuing GU TIM.
DOMAIN
A fullword binary field set to the domain of the program giving the socket. It is decimal 2, indicating AF_INET, or decimal 19, indicating AF_INET6.
Note: The TAKESOCKET can only acquire a socket of the same address family from a GIVESOCKET.
NAME
Specifies an 8-byte character field set to the MVS™ address space identifier of the program that gave the socket.
TASK
Specifies an 8-byte field set to the task identifier of the task that gave the socket.
RESERVED
A 20-byte reserved field. This field is required, but not used.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014