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


COBOL language call format

z/OS Communications Server: IP CICS Sockets Guide
SC27-3649-00

The following is the 'EZASOKET' call format for COBOL language programs.

Read syntax diagramSkip visual syntax diagram
>>-CALL ‘EZASOKET’ USING SOC-FUNCTION--parm1, parm2, ...--ERRNO RETCODE.-><

The following is the 'EZACICSO' call format for the COBOL language programs.

Read syntax diagramSkip visual syntax diagram
>>-CALL ‘EZACICSO’ USING SOC-FUNCTION--parm1, parm2, ...--ERRNO RETCODE.-><

SOC-FUNCTION
A 16-byte character field, left-aligned and padded on the right with blanks. Set to the name of the call. SOC-FUNCTION is case-specific. It must be in uppercase.
parmn
A variable number of parameters depending on the type of call.
ERRNO
If RETCODE is negative, there is an error number in ERRNO. This field is used in most, but not all, of the calls. It corresponds to the value returned by the tcperror() function in C.
RETCODE
A fullword binary variable containing a code returned by the EZASOKET call. This value corresponds to the normal return value of a C function.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014