Chapter Contents

Previous

Next
Applying Zaps to the SAS/C Software Products

Automatic Application of Maintenance

Maintenance to the SAS/C software products is shipped periodically on a Usage Notes tape. This Usage Notes tape contains zaps and Usage Notes. In addition to the zaps themselves, several index files are included. These files are named in the form of $rrrxxxx, where rrr are the digits of the release number and xxxx are the first four characters of the zap category or the word AUTO (for example, $650AUTO, $650RECO, and so on). The $rrrAUTO index file is the focus of this section. Refer to Chapter 2, "Usage Notes and Zaps," for additional information on the other index files.

The $rrrAUTO index file contains several APPLY commands that will cause all of the REQUIRED, RECOMMENDED, and REMOVAL zaps to be applied to the SAS/C software products. Using this file as input to APPLYZAP automatically maintains your SAS/C software. Because APPLYZAP can determine if a zap has been previously applied, attempting to apply a previously applied zap will only result in a descriptive warning. By applying all of the zaps on the current Usage Notes tape, through use of the $rrrAUTO index file, a site can be assured that all of the REQUIRED, RECOMMENDED, and REMOVAL maintenance has been applied to their copy of the SAS/C Software products.


OS/390 Automatic Example

Examples 3.5 shows sample OS/390 JCL for automatic application of maintenance.

Example 3.5 Sample OS/390 JCL for Automatic Application of Maintenance

   //jobname  JOB job-card information
   //AUTOZAP       EXEC APPLYZAP,
   //              PARM.APPLY='ECHO'
   //APPLY.SYSZLIB DD DSN=uprefix.SASC.ZAPS,DISP=SHR
   //APPLY.SYSZIN  DD *
   *
   APPLY $650AUTO
   /*
   //

Example 3.5 applies all of the current REQUIRED, RECOMMENDED, and REMOVAL zaps for Release 6.50 of SAS/C software.


VM Automatic Example

The following sequence of instructions allow all of the current REQUIRED, RECOMMENDED, and REMOVAL zaps for Release 6.50 to be applied to the SAS/C software products.

  1. Ensure that all of the SAS/C libraries are on a write accessible disk because all zaps will be applied.

  2. If this is the first time running APPLYZAP, the ZAPPED MACLIB is created on a write accessible disk. If this is not the first time running APPLYZAP, ensure that the ZAPPED MACLIB is on a write accessible disk.

  3. Ensure that the disk containing the APPLYZAP utility is linked with at least read access.

  4. If the MACLIB containing the zaps is not named ZAP MACLIB, issue a FILEDEF defining SYSZLIB to the MACLIB.

  5. Invoke APPLYZAP in the following way:

    APPLYZAP INPUT $650AUTO  ECHO TERM

    Note:    ECHO is specified so that all diagnostics will be generated. NOTERM is specified so that the large amount of diagnostics that are generated with ECHO will not appear on the terminal screen but instead in the SYSZOUT file only.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

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