Chapter Contents

Previous

Next
SAS/ACCESS Interface to IMS-DL/I Software

Executing SAS/ACCESS Programs in Batch Mode

The JCL (job control language) that is required to execute programs using the SAS/ACCESS interface to IMS-DL/I in OS/390 batch mode is similar to that of other SAS jobs in OS/390 batch mode. Refer to the SAS Companion for the OS/390 Environment for general information on SAS jobs in OS/390 batch environments.


Executing a Cataloged Procedure

The JCL for a batch job accessing 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 the SAS System and supports the use of the SAS/ACCESS interface to IMS-DL/I 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 site's SAS support consultant for the correct procedure name. (SAS Institute no longer supplies the Version 5 SASDLI cataloged procedure.) The installation notes that are shipped with the SAS/ACCESS interface to IMS-DL/I explain to your database administrator how to create a cataloged procedure for your site.

The cataloged procedure for accessing IMS-DL/I 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-DL/I engine interface and IMS-DL/I DATA step programs. PROC ACCESS can use the standard SAS catalog if the only task you are performing is creating descriptor files.


DD Statements

If you execute DL/I calls through a batch DL/I region (DLI or DBB), DD statements for all the database and index data sets that are accessed must be included in the job step JCL. DDnames and DS names (names of database data sets) must be obtained from the DBA staff at your site. Data sets that support the index must be allocated for the HIDAM database type.

If you execute DL/I calls through an online DL/I access region (BMP), database data sets are allocated to the DL/I control region or to the CICS control region. Therefore, you do not need to include DDnames for them in the job step JCL.

When you execute a batch DL/I region and want to log updates, you need a DD statement for a log data set. For information on using the IMSLOG option, on pointing to the IMS-DL/I resident libraries, and information on pointing to the DBD, PSB, and ACBLIB, check with your DBA or refer to the installation instructions for the SAS/ACCESS interface to IMS-DL/I.

All other JCL considerations that are outlined in the SAS Companion for the OS/390 Environment apply to the IMS-DL/I engine interface and IMS-DL/I DATA step execution.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.