SASGSUB Syntax: Starting SAS in Interactive Mode

The following is the complete syntax for starting SAS in interactive mode. You can use either line mode or SAS Display Manager mode to run SAS in a UNIX grid, with input coming from and output going to the client machine. SAS Display Manager mode also requires that an X server be present on the client machine. If you terminate SASGSUB in interactive mode, you also terminate the SAS session running in the grid.

Syntax

SASGSUB
-GRIDRUNSASLM | -GRIDRUNSASDMS
<hostname:>displaynumber<.screennumber>
common_arguments
<-GRIDWAITTIMEOUT seconds>
<grid_job_arguments>

Required Arguments

-GRIDRUNSASLM

specifies that the SASGSUB command runs a SAS session in line mode. Standard output and standard error are displayed by SASGSUB. SASGSUB also redirects standard input to the SAS session running on the grid.

-GRIDRUNSASDMS <hostname:>displaynumber<.screennumber>

specifies that the SASGSUB command runs in SAS Display Manager mode. Standard output and standard error are displayed by SASGSUB. The X Windows session is directed to the host and port specified by the hostname:displaynumber.screennumber options.

common_arguments

specifies any of the arguments that are common to all uses of the SASGSUB command. Some arguments are required and some are optional. See SASGSUB Syntax: Common Arguments for the syntax for each argument.

Optional Arguments

-GRIDWAITTIMEOUT timeout-value

specifies that the interactive SAS session is terminated when the timeout-value (in seconds) is reached.

grid_job_arguments

specifies any of the arguments that are valid when submitting jobs or commands to the grid. See SASGSUB Syntax: Grid Job Arguments for the syntax for each of these arguments.