LGOFFUSR.386 accepts the following parameters:

-s sign a user off

-d disconnect the user

-w nnn wait nnn seconds of inactivity before doing the sign-off or disconnect.
nnn must be between 15 and 3600.

-l n if n = 1, log a message to the 4690 Application Event Log when LGOFFUSR.286 takes action (Q720 message logged). if n <> 1, do not log a message. Default is to log a message.

-a Sign Off or Disconnect all users. This option will sign off or disconnect all users when activity has ceased on any of the consoles for the configured time.

-T Sign Off terminals left in secured mode. When using the terminal
sign-off option, the file ADX_IDT1:TSIGNOFF.CFG must be present. When the -T option is used, LGOFFUSR will start TSIGNOFF as an asynchronous “hidden” application. TSIGNOFF.286 does not require a background slot.

For example:

-s -w 60 will wait for 60 seconds of inactivity before doing a sign-off

-d -w 900 will wait for 15 minutes of inactivity before doing a disconnect

d -l 1 -w 900 will wait for 15 minutes (900 seconds) of inactivity before doing a disconnect, and will log a Q720 message when the disconnect occurs

-d will disconnect immediately