Previous Topic

Next Topic

Book Contents

Book Index

Resolution
  1. Run the CTTRPT utility to determine if there is another volume record that refers to this volume in the PREVVOL or FIRSTVOL field. Figure 19 shows a sample JCL for activation of CTTRPT for this search:

    Figure 19 Sample JCL for CTTRPT Activation

    //REPORT1 JOB ,CTT,CLASS=A,MSGCLASS=X

    //CTTRPT  EXEC CTTRPT,REGION=32M

    //SYSIN    DD  *

    EXTRACT   PATH=VOLUME/FIRSTDS

    INCLUDE   FIRSTVOL=PRM004

    INCLUDE   PREVVOL=PRM004

    REPORT    NAME=GENERAL,PAGESIZE=63,LINESIZE=256,MARGINS=1-256

    FIELDS    VOLSER,DSNAME

    SORTBY    VOLSER

    If no such volume is located, it indicates that the data set record is in error.

  2. Use the DSNUPD function of the CTTMUP utility to update data set record DSN.PRM04 with the correct number of volumes (VOLSNUM=1). It is not necessary to rebuild the index pointers for this multi-volume chain after resolving this problem.

Parent Topic

Problem 2 – Incorrect Number of Volumes Containing a Data Set