Perform the following
steps to deploy a job for scheduling:
-
Right-click the job
that you want to deploy. Then, select
SchedulingDeploy in the pop-up menu to
access the
Deploy for a job for scheduling window.
The following display shows the window if you select only one job
for deployment.
Deploy for a Job for Scheduling Window for a Single Job
By default, the deployed
job file (in this case, Extract Balances Job.sas) is named after the
selected job. The following display shows the
Deploy for
a job for scheduling window used to deploy multiple jobs
for scheduling.
Deploy for Scheduling Window for Multiple Jobs
-
When you deploy more
than one job, a separate SAS file is created for each job that you
select. Each deployed job file is named after the corresponding job.
-
In the
Batch
Server field, accept the default server or select the
server that is used to store the SAS file for the selected job. The
next step is to select the job deployment directory. One or more job
deployment directories (source repositories) were defined for the
selected server when the metadata for that server was created.
-
Check the
Deployment
Directory field to ensure that the deployed job is stored
in the appropriate directory. If the wrong directory is displayed,
select another director from the drop-down list, or click
New to
create a new directory if you have permission to create directories
on the server.
-
If you selected one
job, you can edit the default name of the file that contains the generated
code for the selected job in the
Deployed Job Name field
of the
Deploy for a job for scheduling window.
The name must be unique in the context of the directory specified
in the
Deployment Directory field.
-
To deploy the job or
jobs, click
OK.
Code is generated for
the selected job or jobs and is saved to the directory that is specified
in the
Deployment Directory field. Metadata
about the deployed jobs is saved to the current SAS Metadata Server.
A status window is displayed and indicates whether the deployment
was successful. In the Inventory tree, metadata for the deployed job
is added to the
Deployed job folder. This
job is now available for scheduling.