The AUTOLOGOUT command sets an inactivity period after which a process will automatically be logged out.
The AUTOLOGOUT command prevents users leaving inactive sessions logged in. If the process is waiting for input for the given time, it will automatically be logged out. The ON.EXIT paragraph will be executed if it exists.
Executing the AUTOLOGOUT command with no period option displays the current setting.
Used in a QMClient session, the process will be terminated if no client/server interaction takes place within the autologout period, however, the client will not be aware of this termination until it next attempts a server operation. Note that autologout is not currently supported for QMClient connections established using the QMConnectLocal() function.
Autologout is disabled
Autologout period is set to 4 minute(s)
Inactivity time expired - Process logged out
In this example, the AUTOLOGOUT command is used to examine the current setting. The inactivity period is then set to four minutes and the setting displayed again. After four minutes of inactivity, the process is automatically logged out.