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 INITAPI. The field is left-justified and padded on the right with blanks.
MAXSOC
A halfword binary field set to the maximum number of sockets this application will ever have open at one time. The maximum number is 65535 and the minimum number is 50. This value is used to determine the amount of memory that is allocated for socket control blocks and buffers. If less than 50 are requested, MAXSOC defaults to 50.
IDENT
A structure containing the identities of the TCP⁄IP address space and the calling program’s address space. Specify IDENT on the INITAPI call from an address space.
TCPNAME
An 8-byte character field that should be set to the MVS™ job name of the TCP⁄IP address space with which you are connecting.
ADSNAME
An 8-byte character field set to the identity of the calling program's address space. It is the name of the CICS® startup job. For explicit-mode IMS™ server programs, use the TIMSrvAddrSpc field passed in the TIM. If ADSNAME is not specified, the system derives a value from the MVS control block structure.
SUBTASK
Indicates an 8-byte field that contains a unique subtask identifier, which is used to distinguish between multiple subtasks within a single address space. Use your own job name as part of your subtask name. This ensures that, if you issue more than one INITAPI command from the same address space, each SUBTASK parameter is unique.
Restriction: EZASOKET calls outside of the CICS environment are not reentrant. If EZASOKET is to be used by a multithread or multitask application, a separate copy needs to be loaded for each thread or task. See z/OS Communications Server: IP CICS Sockets Guide for information about use in the CICS environment.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014