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.

$ZIOserverportThe LAT server nameThe LAT port nameFor a terminal device connected through TELNET, $ZIO contains the following:host/porthostportThe remote host IP address, usually in the form:nnn.nnn.nnn.nnnThe remote IP port number.If the current device is not a terminal:• If a file, $ZIO contains the file's fully-canonized pathname.• If not a file, $ZIO contains the null string.The following example returns the current device information:SET x=$CASE($ZIO,"TRM:":"a terminal","CON:":"a console","":"neither terminal nor file")WRITE "The current device is ",xThis special variable cannot be modified using the SET command. Attempting to do so resultsin a error.See Also• $IO special variable• $PRINCIPAL special variable• I/O Devices and Commands in <strong>Caché</strong> I/O Device Guide• Terminal I/O in <strong>Caché</strong> I/O Device Guide<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 475

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

Saved successfully!

Ooh no, something went wrong!