BSP - Beratung, Schulung, Projekte


BSPAPFCK - APF Checking Program

What does it do?

This program scans PARMLIB for members with the name IEAAPFxx. For each line in each member the following checks are made:

  1. Is the dataset cataloged?
  2. If yes, is the dataset cataloged on the named volume?
  3. Is the named volume available?
  4. Is the dataset physically located on the named volume?

Required DD names

DDNAME Description
PARMLIB points to PDS with IEAAPFxx members to be checked
SYSPRINT output queue for report

Usage

Assembly and Link JCL can be found in SYS1.SETUP.CNTL(APFCK$).
Execution JCL can be found in SYS1.SETUP.CNTL(APFCK#) and looks like this:


//APFCK JOB ....
//APFCHCK EXEC PGM=BSPAPFCK
//SYSPRINT DD SYSOUT=*
//PARMLIB DD DISP=SHR,DSN=SYS1.PARMLIB

Sample Report

BSPAPFCK Version 1.0                    Report

Volume: MVSRES   Dataset: SYS1.PARMLIB

Member being processed: IEAAPF00

BSPAC14I - No errors found processing this member

BSPAPFCK Version 1.0                    Report

Volume: MVSRES   Dataset: SYS1.PARMLIB

Member being processed: IEAAPF01

BSPAC08I -  SYS2.LINKLIB PUB001,
BSPAC13E - Error encountered processing above statement
BSPAC09E - File is cataloged on PUB000, possible abend S047 situation
BSPAC12E - Required volume is not mounted
BSPAC08I -  SYS3.LINKLIB PUB999,
BSPAC13E - Error encountered processing above statement
BSPAC10W - Dataset not cataloged
BSPAC12E - Required volume is not mounted
BSPAC08I -  SYS4.LINKLIB PUB999,
BSPAC13E - Error encountered processing above statement
BSPAC10W - Dataset not cataloged
BSPAC12E - Required volume is not mounted
BSPAC08I -  SYS5.LINKLIB MVSRES,
BSPAC13E - Error encountered processing above statement
BSPAC10W - Dataset not cataloged
BSPAC12E - Format-1 DSCB not found on volume
BSPAC99I - End of processing, function terminated

Disclaimer

Although this program has been tested on the Turnkey MVS system Version 3 it is not guaranteed to be bug-free (which program is?)

Use at your own risk