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


COBOL call for GETHOSTNAME

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

This call functions in the same way as the equivalent call described in GETHOSTBYNAME call.

Note: The host name returned is the host name the TCPIP stack learned at startup from the TCPIP.DATA file that was found. For more information about hostname, see HOSTNAME statement in z/OS Communications Server: IP Configuration Reference.

The format of the COBOL call for the GETHOSTNAME function is:

CALL ‘EZACICAL’ USING TOKEN COMMAND HZERO DZERO NAMELEN NAME ERRNO RETCODE.

In assembler language, issue the macro call CALL EZACICAL, using standard assembler call syntax (for the call format, see EZACICAL call format for assembler language).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014