11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

System and Other FunctionsError on disconnect is only applicable to TCP devices and to terminal devices where a disconnectcan be recognized. Examples are modem controlled terminals and Windows Telnet,Windows LAT, and Windows local cterm (TRM:) connections. Error on disconnect is onlyapplicable to the principal device.You can also test the $ZA special variable to check for terminal disconnection. When bit 11of $ZA for the principal device is set, the principal device has disconnected.This function overrides the system-wide I/O device disconnect detection default. To set thesystem-wide default behavior, go to the System Management Portal, select Configuration,then select Advanced Settings. On the pull-down Category list select Terminal. View andedit the current setting of ErrorOnDisconnect. When 1 (true), <strong>Caché</strong> issues a errorif a disconnect occurs. If 0 (false), no error is issued. The default is 0. To override this defaultsystem-wide, you can use $ZUTIL(69,15) — I/O Device Disconnect Detection SystemDefault.Invoking $ZUTIL(68,15) without specifying n returns the current switch setting.ParametersnThe value that specifies whether <strong>Caché</strong> detects I/O device disconnection.01Disables disconnection detection (the default).Enables disconnection detection.See Also• $ZUTIL(69,15) I/O Device Disconnect Detection System Default function• $ZA special variable• Terminal I/O in <strong>Caché</strong> I/O Device Guide608 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!