Previous Topic: 09004: Volume Free Space is FragmentedNext Topic: 09006: VSAM Data Set has Too Many Extents


09005: Data Set has Too Many Extents


    FILE:             DAA Data Set Allocation File
    SAS FILE NAME:    DETAIL.VCADAA01
    SOURCE LOCATION:  prefix.MICS.USER.SOURCE(DYVCAEXC)

    SEVERITY:         Warning       (SEVERITY='W')
    MANAGEMENT AREA:  Performance   (MGMTAREA='PERFORMANCE')

    PURPOSE:  Identifies when the number of data set extents
exceeds a specified level.

    RATIONALE:  Access to a data set that expands into many
extents can be be less efficient than if the data set were
allocated in a single extent because of the increased
overhead required to reposition the data volume to each
different extent.  And because a data set is limited to 16
extents, processing will be aborted if an attempt is made to
expand a data set that already has allocated 16 extents.

    DEFINITION:  This exception is detected when the number
of data set extents (DAAEXTNO) exceeds the specified maximum.

    EXCEPTION STATEMENTS:  The SAS statements identifying the
exception situation and describing the condition are stored
in the source member named in SOURCE LOCATION and are
described below:

/*---------------------------------------------------------*/
/*                                                         */
/*  09005                                                  */
/*  DATA SET HAS TOO MANY EXTENTS                          */
/*                                                         */
/*---------------------------------------------------------*/
IF DAAEXTNO GE extent#
THEN DO;
  EXCCODE='09005'; SEVERITY='W'; MGMTAREA='PERFORMANCE';
  EXCDESC1='DATA SET HAS TOO MANY EXTENTS.  EXTENT COUNT=' ||
            PUT(DAAEXTNO,3.);
  EXCDESC2='VOL=' || VOLSER || ', DSN=' || DSNAME;
  LINK HIT;
END;
    THRESHOLD MODIFICATION:  The user should modify the
extent# value according to the following conventions:

    extent# - The maximum acceptable number of extents for
         a data set.  A maximum value of 14 would appear as:

         DAAEXTNO GE 14