AutoDisconnect

Top  Previous  Next

S

A

W

WS

ü

ü

Valid for: SetStartup & SetRuntime

 

Syntax -

       SetStartup AutoDisconnect {"Yes" | "No"}

 

Description:

This option is used to determine if the EMUE application disconnects from the mainframe completely once the script file has completed processing.  This sets the Auto Disconnect checkbox on the Automation tab of the EMUE Tools - Current Settings - Options Settings window.

 

Note: If there is a parsing or processing error during the execution of the script, this option is ignored and EMUE will remains connected to the mainframe after the script processing has been halted.  However, this functionality can be disabled with AllowCompletionOptionsOnError.  If  AutoDisconnect and AllowCompletionOptionsOnError are both set to "Yes," then EMUE will be allowed to disconnect even after encountering an error.

 

Sample:

       The following statement sets the option that instructs EMUE to disconnect from the mainframe upon the completion of the script file.

SetStartup AutoDisconnect "Yes"

 

See Also:

SetRuntime