PowerExchange for CDC and Mainframe
- PowerExchange for CDC and Mainframe 10.4.1
- All Products
//STEP1 EXEC PGM=HOSTENT, // PARM='/' //STEPLIB DD DSN=&SCERUN,DISP=SHR // DD DSN=&HLQ..LOADLIB,DISP=SHR //SYSOUT DD SYSOUT=* //SYSPRINT DD SYSOUT=*
HOSTENT: gethostid() gives:nnn.nnn.nnn.nnnresolver gives hostname :host nameresolver gives domainname:domain namegethostname() giveshost namereporting on hostnamehost nameofficial hostname:host name.domain namealias:host nameaddress:nnn.nnn.nnn.nnn