SASGSUB Syntax: Ending a Job

The following is the complete syntax for ending a job on a SAS grid. Enter the command on a Windows or UNIX command line.

Syntax

SASGSUB
-GRIDKILLJOB job-id | ALL common_arguments

Required Arguments

-GRIDKILLJOB job-id | ALL

terminates the job specified by job-id. If you specify ALL, all jobs are terminated.

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.

Example: Ending a Job

The following is an example of a SASGSUB statement used to end the job 61361 that is running on the grid:
SASGSUB -GRIDKILLJOB 61361