11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ExampleThe following example returns the name of the system from which it was issued.WRITE $ZUTIL(110)See Also$ZUTIL(114)• $ZUTIL(131) Set or return system name, IP address, or mgr directory pathname function$ZUTIL(114)Determines Ethernet address.$ZUTIL(114,flag,name)$ZU(114,flag,name)ParametersflagnameThe switch that specifies the information that $ZUTIL(114) is to return. Validvalues are 0, 1, and 2.Optional — Ethernet device name(s).DescriptionYou can return a string containing ethernet address information by issuing a call to the followingfunction.$ZUTIL(114,0) returns the address of the primary ethernet device. This primary ethernetdevice is the first ethernet device found on the device names list with a valid ethernet address.Any ethernet device can be designated the primary ethernet device.$ZUTIL(114,0,name) returns the address of any attached ethernet device specified by name.On VMS systems, this is the physical port address of the ethernet device, not the hardwareaddress.The ethernet address is returned as a string of 12 characters that represent the 48-bit ethernetaddress.The name is not case sensitive. The maximum length of a device names list is platformdependent,but the name of an individual device cannot be more than 15 characters in length.An invalid name value results in a error.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 699

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!