The need to system manage tapes - Latest

Syncsort™ Storage Management Allocation Control Center and Space Recovery System Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ software
Product
Syncsort™ Storage Management > Syncsort™ Space Recovery System
Syncsort™ Storage Management > Syncsort™ Allocation Control Center
Version
Latest
ft:locale
en-US
Product name
Syncsort Storage Management
ft:title
Syncsort™ Storage Management Allocation Control Center and Space Recovery System Guide
Copyright
2026
First publish date
1991
ft:lastEdition
2026-04-01
ft:lastPublication
2026-04-01T09:40:09.707000
L1_Product_Gateway
Integrate
L2_Product_Segment
IBM Infrastructure
L3_Product_Brand
Precisely Syncsort
L4_Investment_Segment
Mainframe
L5_Product_Group
Mainframe Storage Optimization
L6_Product_Name
Syncsort Storage Management

Increasingly, data centers are turning their attention to the real costs of both tape and disk usage when creating storage management policies. Historically tape was considered the cheap way to store information. However, with the decline in disk storage prices, and the increase in personnel costs, tape can no longer automatically be considered inexpensive.

Tapes have the disadvantage of being removable media. To read a tape, it must be mounted. Advances in tape technology make automated tape mounts possible, but many data centers still rely on operations personnel to handle tape mounts. This can be very expensive.

Tapes also have the disadvantage of not easily being shared by many data sets. Most tapes have one data set on them, and many of the data sets are so small that you end up with utilization rates of less than 1% of the tape capacity. You also end up with thousands of tapes being stored in climate-controlled space at considerable cost.

These are some of the reasons that many data centers are beginning to plan for Tape Mount Management (TMM) - a way to let the system manage your tape allocations through DFSMS/MVS. The basic TMM concept is to initially reroute some tape data sets to disk instead. Using a system such as DFHSM, a large group of these data sets is later moved from disk to tape. Since most systems like DFHSM move data in a compressed format and stack many data sets on a single tape, this method is efficient and dramatically reduces the number of needed tapes.

Tape Mount Management is the process of using DASD storage only as a temporary buffer. It is appropriate for a relatively small data set that belongs on tape because it is usually some form of inactive data that is rarely used. The issue is not whether it belongs on tape, but rather how and when it should be stored on tape.

Do not confuse the concept of Tape Mount Management as defined by IBM with tape to disk conversions. With the introduction of System Managed Storage, data centers were encouraged to review their tape data set usage. If a data set was relatively small, and frequently accessed, changing the allocation to use disk instead of tape was usually cheaper than the cost of frequently mounting the same tape.

The advantages of taking the approach described as tape mount management and/or converting tape allocations to disk allocations are that you can reduce tape mounts; reduce the total number of tapes required in your tape library; maximize individual tape volume utilization, and improve the turnaround of batch jobs.

To implement Tape Mount Management (TMM), you must first identify the current tape data sets that are good candidates. This includes those tape data sets that are relatively small and are written, but rarely or never read. A good example is an individual backup of a disk data set. Others that fit this same pattern are data sets containing information that must be retained by law for a certain amount of time. Many tape data sets are created in one job or step, and used immediately in a second job or step, never to be used again unless there is a catastrophic error. This usage pattern indicates good candidates for TMM.

The procedures included in ACC can also be used for tape-to-disk conversions. Depending on the number of times the tape data set is opened for read processing over some reporting period, small tape data sets can be routed to either a DASD buffer area - volumes that contain the data only until a large group of these data sets are ready for movement to tape; or a disk pool or SMS storage group.

IBM provides the “Volume Mount Analyzer” (VMA) as part of DFSMS/MVS. VMA reads historic SMF data to help identify good candidates for tape mount management. VMA makes its decisions based on size, usage patterns, and selection criteria you provide to filter out data sets that you do not want to be included. However, VMA does not distinguish between TMM candidates and tape-to-disk candidates. ACC can help here also. Note: The Volume Mount Analyzer is needed to use the ACC TMM and TTD procedures that follow.

After identifying the candidate tape data sets, you need a way to reroute these data sets to a disk drive when they are initially allocated. This routine must include facilities for changing the UNIT specification to a disk unit, and adding space-related information to the allocation. IBM recommends using DFSMS/MVS as this rerouting vehicle. An introductory discussion of Tape Mount Management can be found in IBM Manual SC26- 3123, entitled 'MVS/ESA Storage Management Library: Implementing System Managed Storage'.

There are disadvantages to using DFSMS/MVS as your only tool for Tape Mount Management. You must write ACS routines to assign Storage Class, Management Class, Data Class, and Storage Group values. IBM recommends using job and data set naming patterns. Writing these routines can be very labor-intensive, and can create a lot of space abends until the ACS routines are refined.

Allocation Control Center (ACC) includes routines that take the output from the Data Set report of the Volume Mount Analyzer and extract data set name and the estimated space needed on disk. Optionally, you can route data sets to a TMM procedure or a tape-to-disk (TTD) procedure, based on a user-defined number of open-for-read accesses that occurred during the reporting period.

The VMAREXX procedure included with ACC then creates rules that can be used by ACC to automatically reroute the tape data set to disk. Using Allocation Control Center (ACC), you can eliminate much of the manual editing and naming pattern identification required to create the ACS routines. If you also use the Space Recovery System (SRS), you can eliminate the inevitable space abends that would have occurred while you were fine-tuning your ACS routines.

Steps to Using ACC

Here are the steps you can take to reduce your effort to implement Tape Mount Management, and tape-to-disk conversion:

Step 1 - Extract the information from the SMF data by running the extract program of VMA (program GFTAXTR). This program only needs to be run once to format the SMF record for later processing. For information on using the Volume Mount Analyzer, see the IBM documentation (SC26-4925) entitled 'DFSMS/MVS V1R1 Using the Volume Mount Analyzer'.

Step 2 - Run the Data Set Report of the Volume Mount Analyzer. Add a DD statement to reroute the SYSPRINT file to a data set. This file definition must come before the // VMA.VMACNTL DD statement. Specifically:

// EXEC GFTAVMA,HLQ=???,RUN=EXTRACT

//VMA.SYSPRINT DD DSN=your.name.SYSPRINT,

// DISP=(NEW,CATLG),UNIT=SYSDA,SPACE=(TRK,(1,1))

//VMA.VMACNTL DD * REPORT(DATASET)

Note: It is recommended that the MAXSIZE parameter be used to limit the run to a particular size range. For example, to run the data set report for tape data sets that will take 50 megabytes of space or less on a DASD device, you would code:

//VMA.VMACNTL DD * REPORT(DATASET) MAXSIZE(50)

It is further recommended that before implementing TMM using ACC that you fully understand what the output of the VMA REPORT lists. Several parameters can be used to filter the report. Since the data sets found in the report are the data sets that will be rerouted by ACC, you should ensure that you have tailored VMA to your requirements.

Step 3 - After you have created the output from the Data Set Report, you will use this information as input to an ACC REXX CLIST named VMAREXX. This member can be found in DTS.R71.SLyyddd.SAMPLIB, the distribution sample library, as member VMAREXX. Copy the VMAREXX procedure to your installation CLIST library.

Step 4 - To run the VMAREXX procedure, create the JCL. A sample of the JCL is found in DTS.R71.SLyyddd.SAMPLIB, the distribution sample library, as member VMAJCL. A sample is shown below. Items in bold type may need to be edited before submittal.

//JOBNAME JOB

//REXX EXEC PGM=IRXJCL,PARM=’VMAREXX nm’

//SYSTSPRT DD SYSOUT=*

//INPUTDD DD DSN=your.name.SYSPRINT,DISP=SHR

//TMMOUT DD DSN=&&TMM,SPACE=(TRK,(1,1)),UNIT=SYSDA,

// DISP=(,PASS),DCB=(LRECL=80,RECFM=FB,BLKSIZE=3120)

//TTDOUT DD DSN=&&TTD,SPACE=(TRK,(1,1)),UNIT=SYSDA,

// DISP=(,PASS),DCB=(LRECL=80,RECFM=FB,BLKSIZE=3120)

//SYSEXEC DD DSN=your.REXX.CLIST,DISP=SHR

//S01 EXEC PGM=IEBGENER

//SYSPRINT DD SYSOUT=*

//SYSUT1 DD DSN=&&TMM,DISP=SHR

//SYSUT2 DD DSN=DTS.R71.RULELIB(TMMPROC),DISP=SHR

//SYSIN DD DUMMY

//S02 EXEC PGM=IEBGENER

//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=&&TTD,DISP=SHR
//SYSUT2 DD DSN=DTS.R71.RULELIB(TTDPROC),DISP=SHR
//SYSIN DD DUMMY

In the first step of this job, the VMAREXX procedure produces two temporary output data sets: (1) &&TMM for data sets that have a usage that indicates they are good TMM candidates - that is, infrequent use; and &&TTD for data sets that have a usage that indicates they are good candidates for tape-to-disk conversion.

The number you specify for “nn” in the PARM information is the number of open-for- read that divides the data sets for handling in either TMMPROC or TTDPROC. For example, if you have extracted SMF data over a 45 day period, you may want data sets that have been opened for read processing more than 5 times to be allocated to ‘permanent’ DASD. You may want data sets that have been opened for read processing 5 times or less to be allocated to the DASD buffer area you have saved for TMM data sets.

The “nn” value in the PARM information is the upper limit (less than or equal to) of open- for-reads for inclusion in the TMMPROC. If the number of open-for-read value is greater than the number specified, then the data set will be included in the TTDPROC. If no value is specified, then all the data sets will be included in the TMMPROC.

The INPUTDD statement should point to the output SYSPRINT data set you created when executing GFTAVMA in step 2 preceding. The SYSEXEC statement should point to the REXX CLIST library where the VMAREXX procedure is installed (in step 3).

Step S01 moves the passed &&TMM data set to your parmlib as member TMMPROC. Step S02 moves the passed &&TTD data set to your parmlib as member TTDPROC. After executing the job, one of the procedures contains a rule that was generated for each candidate tape data set, including information on the amount of disk space to be used.

Step 5 - Add logic to your ACC rules to reroute the selected tape data sets to disk. You must INCLUDE the member TMMPROC and/or TTDPROC that you created in step 4 above.

It is recommended that the RLSE parameter be turned on to ensure that the effect of over allocations is kept to a minimum and that the DEFER and PRIVATE parameters be turned off in case they were coded.

You might want to set the expiration date to zero since some tape management systems use the expiration date for codes.

You should specify POOLNAME(DISK) on the DEFPROD statement. This tells ACC that the variable DISKPOOL can be used for both tapes and disks. By default, a DISKPOOL is set for disks, and a TAPEPOOL is set for tapes. For further information, examine “POOLNAME( ...INDEX( num ) )” on page 5-35 of the Rules Language Programming Guide.

An example is shown on the following page. Below is an explanation.

DEFENV Statements - For tapes to be processed, you must set the environment to PROCESS(TAPE). Tape processing will be needed in the DD environment.

INCLUDE Statement - You must INCLUDE the member TMMPROC and/or TTDPROC that you created in step 4 above.

DEFRULE Group - In the first IF-THEN group, you intercept new allocations that are destined for tape. A user field is initialized, and the Tape Mount Management procedure is called (TMMPROC). Rule processing continues.

In the second IF-THEN group, if the data set name was found in the TMMPROC procedure, then the user field will be set to the data set name. If it isn’t, then the tape-to- disk procedure (TTDPROC) is called. Rule Processing continues.

In the last IF-THEN group, if the data set name was found in either the TMMPROC or TTDPROC, then the user field will be set to the data set name. The estimated amount of space from the VMA analysis will be substituted for primary space; 10% of the primary will be substituted for secondary space. The unitname must be set to a valid unit generic or esoteric name. One pool is set for the Tape Mount Management candidates; a second pool is set for the tape-to-disk candidates. User field 2 is set to TMM or TTD in the procedures and may be used for decision making.

More than one pool can be set for each set of tape data sets; however, for simplicity, these examples just use two pools. The remaining SET statements are optional.

DEFENV DD MODE(ACTIVE) PROCESS(TAPE) POOLNAME(DISK) INCLUDE (TMMPROC,TTDPROC)

DEFRULE TAPEPROC

IF &DDTYPE NE DASD &DISP1 = NEW

THEN SET &USRFLDC1 = ‘ ‘ CALLPROC(TMMPROC)

CONTINUE SCANNING AT NEXTIF

IF &USRFLDC1 NE &DSNAME &DDTYPE NE DASD &DISP1 = NEW

THEN CALLPROC(TTDPROC)

CONTINUE SCANNING AT NEXTIF

IF &USRFLDC1 = &DSNAME THEN SET &SPACE = CYL

SET &PSPACE = &USRFLDN1 SET &SSPACE = &PSPACE*10% SET &UNITNAME = SYSDA

SET &RLSE = YES SET &DEFER = NO SET &PRIVATE = NO SET &EXPDT = 0

DO IF &USRFLDC2 = TMM

THEN SET &DISKPOOL = TMMPOOL

END

DO IF &USRFLDC2 = TTD

THEN SET &DISKPOOL = TTDPOOL

END

DEFPOOL TMMPOOL

VOLSER = (TMM001,TMM002)

DEFPOOL TTDPOOL

VOLSER = (TTD001,TTD002,TTD003)

After ACC processing of a candidate TAPE data set, the tape DD statement will appear to MVS as if UNIT=SYSDA,SPACE=(CYL,(nn,n,RLSE)) had been originally coded.

If you are letting SMS assign the allocation to a storage group, and do not want ACC to be involved in volume selection, this procedure can still be used for assigning space. You remove the SET &DISKPOOL statements, and remove the pool definitions as shown below:

DEFENV DD MODE(ACTIVE) PROCESS(TAPE)

INCLUDE(TMMPROC,TTDPROC)

DEFRULE TAPEPROC

IF &DDTYPE NE DASD &DISP1 = NEW

THEN SET &USRFLDC1 = ‘ ‘ CALLPROC(TMMPROC)

CONTINUE SCANNING AT NEXTIF

IF &USRFLDC1 NE &DSNAME &DDTYPE NE DASD &DISP1 = NEW

THEN CALLPROC(TTDPROC)

CONTINUE SCANNING AT NEXTIF

IF &USRFLDC1 = &DSNAME THEN SET &SPACE = CYL

SET &PSPACE = &USRFLDN1 SET &SSPACE = &PSPACE*10% SET &UNITNAME = SYSDA

SET &RLSE = YES SET &DEFER = NO SET &PRIVATE = NO SET &EXPDT = 0

You can use ACC to assign your SMS constructs if you choose. Just add SET statements for &STORCLAS, &MGMTCLAS, &DATACLAS and/or &STORGRP. The SMSACS

environment must be active.

The example on the next page shows adding a management class of TMMMC and a storage class of TMMSC to tape mount management candidates, and a storage group of TMMVOL. For tape-to-disk candidates, the management class will be TTDMC, the storage class will be TTDSC, and the storage group will be TTDSG. ACC will not be used for pooling.

DEFENV DD MODE(ACTIVE) PROCESS(TAPE) POOLNAME(DISK)

DEFENV SMSACS MODE(ACTIVE) PROCESS(TAPE) INCLUDE(TMMPROC,TTDPROC)

DEFRULE TAPEPROC

IF &DDTYPE NE DASD &DISP1 = NEW

THEN SET &USRFLDC1 = ‘ ‘ CALLPROC(TMMPROC)

CONTINUE SCANNING AT NEXTIF

IF &USRFLDC1 NE &DSNAME &DDTYPE NE DASD &DISP1 = NEW

THEN CALLPROC(TTDPROC)

CONTINUE SCANNING AT NEXTIF

IF &USRFLDC1 = &DSNAME THEN SET &SPACE = CYL

SET &PSPACE = &USRFLDN1 SET &SSPACE = &PSPACE*10% SET &UNITNAME = SYSDA

SET &RLSE = YES SET &DEFER = NO SET &PRIVATE = NO SET &EXPDT = 0

DO IF &USRFLDC2 = TMM

THEN SET &MGMTCLAS = TMMMC SET &STORCLAS = TMMSC SET &STORGRP = TMMVOL

END

DO IF &USRFLDC2 = TTD

THEN SET &MGMTCLAS = TMMMC SET &STORCLAS = TMMSC SET &STORGRP = TMMVOL

END

It is recommended that you also use the Space Recovery System (SRS) to protect against space-related abends. The example below shows the SRS parameters added to the pool definitions from the first example:

DEFPOOL TMMPOOL REDUCEP(PERCENT(20) LIMIT(20)) REDUCES(YES PERCENT(10) LIMIT(1))

ADDVOL(YES) SETSEC(PERCENT(50)) RECAT(YES)

VOLSER = (TMM001,TMM002)

DEFPOOL TTDPOOL REDUCEP(PERCENT(20) LIMIT(20)) REDUCES(YES PERCENT(10) LIMIT(1))

ADDVOL(YES) SETSEC(PERCENT(50)) RECAT(YES) VOLSER = (TTD001,TTD002,TTD003)