Caché Parameter File Reference
DisconnectErr
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Enable/disable a process to receive disconnect errors.
Synopsis
[Miscellaneous]    DisconnectErr=n
Description
This setting conditions how Caché responds to a disconnect of the principal I/O device. The value n may be 1 or 0:
You should be aware that if DisconnectErr is enabled, a process will continue to execute after its principal device has been disconnected. It is the responsibility of the application to detect the disconnect condition and exit gracefully. Use care when enabling DisconnectErr. The application must be prepared to recognize the <DSCON> error and handle it appropriately in error traps.
DisconnectErr is only applicable to TCP devices and to terminal devices where a disconnect can be recognized. Examples are modem controlled terminals and Windows Telnet, and Windows local cterm (TRM:) connections. DisconnectErr is only applicable to the principal device.
Examples
DisconnectErr=0
Range of Values
0 or 1. The default is 0.
Management Portal
On the page System Administration > Configuration > Additional Settings > Compatibility, in the DisconnectErr row, select Edit. Choose true (selected) or false (cleared).