z/OS Communications Server: IP IMS Sockets Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Parameter values set by the application

z/OS Communications Server: IP IMS Sockets Guide
SC27-3653-00

SOC-FUNCTION
A 16-byte character field containing SETSOCKOPT. The field is left-aligned and padded to the right with blanks.
S
A halfword binary number set to the socket whose options are to be set.
OPTNAME
Input parameter. See the table below for a list of the options and their unique requirements.

See the GETSOCKOPT command values information in z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference for the numeric values of OPTNAME.

Note: COBOL programs cannot contain field names with the underbar character. Fields representing the option name should contain dashes instead.
OPTVAL
Contains data which further defines the option specified in OPTNAME. For the SETSOCKOPT API, OPTVAL will be an input parameter. See the table below for a list of the options and their unique requirements.
OPTLEN
Input parameter. A fullword binary field containing the length of the data returned in OPTVAL. See the table below for determining on what to base the value of OPTLEN.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014