The JCL (job
control language) that is required to execute programs using the
SAS/ACCESS interface to IMS in
z/OS batch mode is similar to that of other SAS jobs in
z/OS batch
mode. For general information about SAS jobs in
z/OS batch environments,
see the
SAS Companion for z/OS.
The JCL for a batch job that accesses
IMS data requires that you specify your site's designated cataloged
procedure in the EXEC statement. So, instead of specifying your site's
default SAS cataloged procedure (such as
// EXEC SAS
),
you use the following EXEC statement:
// EXEC your-cataloged-procedure
The name of the cataloged
procedure that invokes SAS and supports the use of the
SAS/ACCESS interface to IMS differs at each installation, particularly if your installation
uses separate cataloged procedures for accessing test databases and production
DL/I databases. Be sure to check with your on-site SAS support personnel for the correct
procedure name. (SAS no longer supplies the SAS 5 SASDLI cataloged procedure.) The
installation notes that are shipped with the
SAS/ACCESS interface to IMS explain to your
database administrator how to create a cataloged procedure for your site.
The cataloged procedure for accessing IMS data contains all of the JCL statements
and parameters that the SAS cataloged procedure contains, plus JCL statements and
parameters necessary for the run-time execution of the IMS
engine interface and IMS
DATA step programs. PROC ACCESS can use the standard SAS catalog if the only task that you
are performing is creating descriptor files.