isCOBOL Evolve
:
Appendices
:
Library Routines
:
C$SOCKET
: CSOCKET-GETHOSTNAME
CSOCKET-GETHOSTNAME
This operation allows the COBOL program to get the name of the host machine on which the COBOL program is executing.
Syntax:
CALL
"C$SOCKET"
USING
CSOCKET-GETHOSTNAME
hostName
Parameters:
CSOCKET-GETHOSTNAME
Constant
hostName
PIC X(n)
Returns the name of the host machine.
This site works best with JavaScript enabled