The deployed job is
a file that contains SAS code. In order to schedule it using a built-in
or third-party scheduler, you must supply an appropriate invocation
of SAS, which runs this code.
Windows Specifics: You
need to supply a batch file.
UNIX Specifics: You
need to supply a shell script.
z/OS Specifics: You
need to supply the JCL. A file of JCL that can be modified according
to the requirements of your site can be found in the deployment directory
that you selected.
This invocation must
invoke the correct version of SAS with the configuration that is specified
in the SAS IT Resource Management installation and configuration instructions.
To run batch jobs using
the same SAS configuration as for the application server, depending
on platform, do the following:
Windows Specifics: Run
the sas.bat shell command in the configured application server, which
is located here: <config-dir>\Lev1\SASITRM\sas.bat
UNIX Specifics: Run
the sas.sh shell command in the configured application server, which
is located here: <config-dir>/Lev1/SASITRM/sas.sh
z/OS Specifics: For
USS tasks, run the sas.sh shell command in the configured application
server, which is located here: <config-dir>/Lev1/SASITRM/sas.sh
z/OS Specifics: For
traditional batch jobs, use the generated PROCLIB member PROCENW0
(or the equivalent for other languages). For example, run this: &<CONFIGDIR>.PROCLIB(PROCENW0)
For more information
about how to invoke SAS on your operating system, see SAS
Companion for the Microsoft Windows Environment, SAS
Companion for UNIX Environments, or SAS Companion
for z/OS, as appropriate.
After you have set up
the SAS invocation, you can then use your preferred scheduler to add
this job to the script, batch file, or JCL that invokes SAS. For example,
on UNIX, you can use `cron' and add the shell script invocation
to the crontab
file. For third-party
schedulers and for schedulers that are supplied as part of the operating
system, follow the documentation for that scheduler.