Defining a SAS DATA Step Batch Server

Define the DATA Step Batch Server

A SAS DATA Step Batch server is a component of a SAS application server that provides the command to run a SAS DATA step job or a job from SAS Data Integration Studio. Depending on your installation, a SAS DATA Step Batch server might already be defined by the software deployment wizard when SAS is installed. If you need to set it up manually, follow these steps:
  1. In SAS Management Console, expand the Server Manager node.
  2. Right-click the application server name with which the SAS DATA Step Batch server is associated (for example, SASApp), and select Add Application Server Component.
  3. On the first page of the New SAS Application Server Component Wizard, select SAS DATA Step Batch Server and click Next.
  4. On the next wizard page, enter a name (for example, SAS DATA Step Batch Server), and click Next.
  5. On the next wizard page, do the following:
    • From the Associated Machine drop-down list, select the name of the machine that contains the SAS Application Server.
      Note: The machine name attribute is for documentation purposes only. SAS scheduling does not use this machine name to set up or execute the job.
    • From the SubType list, select the operating system of the associated machine.
    • In the Command box, enter the path to the command that starts a SAS session on the scheduling server. Your initial configuration provides a command in the following path: SAS-config-dir/Lev1/SASApp/BatchServer/sasbatch.
    • In the Logs Directory box, enter the path for the directory where the SAS log is to be stored. Your initial configuration provides a logs directory in the following path: SAS-config-dir/Lev1/SASApp/BatchServer/logs.
    • If you want to change the rolling log options, click Advanced Options. For a list of the log options, see the information about the LOGPARM= system option in SAS® 9.3 Language Reference: Dictionary.
    • Click Next.
  6. On the next wizard page, review the information that you have entered. If it is correct, click Finish.
When you finish the wizard, the server appears as a component under the selected SAS application server.

Define a Deployment Directory

In addition to defining the SAS DATA Step Batch server, you must also define a deployment directory, which contains the jobs deployed for scheduling. The deployment directory definition and the corresponding physical directory should have been set up during your initial installation and configuration. If you need to set them up manually, follow these steps:
  1. Create the physical deployment directory in the file system of the scheduling server machine. Assign Write permission to this directory to the users who will be deploying jobs for scheduling.
  2. In SAS Management Console, right-click the Schedule Manager node and select Deployment Directories.
  3. In the Deployment Directories dialog box, select the application server (for example, SASApp) that is associated with the scheduling server machine. Then click New.
  4. In the New Directory dialog box:
    1. Enter a name for the deployment directory (for example, Batch Jobs).
    2. Enter the path for the deployment directory, or click Browse to navigate to the path. You can enter either a fully qualified path, or a path that is relative to the application server configuration directory (SAS-config-dir/Lev1/SASApp).
    3. Click OK.
  5. Click OK to exit the Deployment Directories dialog box.