ACC and DFSMShsm recall processing - 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

DFSMShsm migrates infrequently used data sets to secondary storage (ML1, ML2) and restores them to DASD when required. ACC can influence recalls by invoking ACC rules through the ARCRDEXT exit.

When recalling data sets, the SMS ACS routines are entered just as they would be for any data set that needs to be allocated. If ACC has been configured to execute ACC rules during SMS ACS processing using a DEFENV statement, the value of the &ENV variable can be tested to determine whether the allocation is due to a DFSMShsm recall. In that case, &ENV will have the value 'RECALL'.


DEFENV SMSACS MODE(ACTIVE) RULES(ALWAYS)
    

DFSMShsm recall processing differs for SMS-managed and non-SMS-managed data sets. For SMS-managed data sets, after ACS assigns a storage class, allocation proceeds as normal. ACC and SRS processing are unaffected, and ACC can control allocation through variables such as &DATACLAS, &STORCLAS, &MGMTCLAS, and &STORGRP.

Recalling Non-SMS Data Sets

For non-SMS-managed data sets, DFSMShsm creates a list of candidate volumes and passes that list to the installation-wide ARCRDEXT exit. The ARCRDEXT exit can reorder the list to influence allocation but cannot add volumes not present in the DFSMShsm-supplied list.

The candidate volume list is built from:

  1. Volumes in the recall data set pools defined by the DFSMShsm DEFINE POOL command
  2. Volumes in the recall volume pools defined by the DFSMShsm DEFINE VOLUMEPOOL command
  3. Volumes placed under DFSMShsm control by the DFSMShsm ADDVOL command with the AUTORECALL subparameter. These volumes must also have the attributes required by DFSMShsm SETSYS RECALL (public/private/storage, LIKE/UNLIKE device type, etc.).
Note:

Defining recall data set pools or volume pools is optional. If defined, volumes in those pools appear first in the candidate list passed to ARCRDEXT. Subsequent entries are DFSMShsm-managed volumes with AUTORECALL and MIGRATE. See the DFSMShsm Storage Administration Guide (SH21-1076) for full details.

ACC provides an ARCRDEXT exit that invokes ACC rule processing with &ENVIRON set to 'HSM', &ENVIRONS (subenvironment) set to 'RECALL', and &VOLSER set to the original volume from which the data set was migrated. If ACC assigns an ACC pool to the data set, candidate volumes that are also in that pool can be placed first in the modified list returned to DFSMShsm. DFSMShsm will still only use volumes from its own candidate list.

If ACC-pooled volumes are unsuitable for recall (for example, not DFSMShsm PRIMARY volumes, AUTORECALL not enabled, or not in the recovery volume pool), DFSMShsm may allocate the recalled data set to another volume from its original candidate list.

The following example ACC rule directs DFSMShsm recalls:


DEFRULE RECALL
IF &DSNAME = (selection criteria for dataset name) &ENV = HSM
&ENVS = RECALL
THEN SET DISKPOOL = RCALPOOL

DEFPOOL RCALPOOL
…various ACC pooling parameters…
VOLSER = RCL*
      

In this example, selected recalled data sets will be allocated to volumes whose VOLSER begins with 'RCL', provided those volumes are eligible for DFSMShsm recalls.

Data set names for recalled data sets

For non-SMS-managed data sets, DFSMShsm initially allocates the recalled data set with a temporary name of the form 'prefix.HMIG.Tssmmhh.qual1.qual2.Xyddd', where 'prefix' is the value from DFSMShsm SETSYS MIGRATEPREFIX, and 'qual1' and 'qual2' are the first two qualifiers of the original name. After allocation, DFSMShsm renames the data set to its original name.

Because ACC pooling for non-SMS-managed recalls occurs in the ARCRDEXT exit, ACC processing should be bypassed during allocation of the temporary name. Place this ACC rule near the top of the ACC rule set to bypass ACC processing for temporary allocations:


DEFRULE HSM
IF &PGM = ARCCTL
&ENVIRON = (DD, IDCAMS) THEN SET &POOL_NOPOOL = YES
        

Installing the ARCRDEXT exit

To enable ACC control of DFSMShsm recalls, install and enable the ARCRDEXT exit using these steps:

  1. Copy and rename the ACC-provided exit into an APF-authorized system linklist library as ARCRDEXT.
  2. Refresh the system linklist (LLA) so the new module is available.
  3. Enable the exit with the DFSMShsm SETSYS EXITON command (place the command in the ARCCMDxx member so it is enabled at DFSMShsm startup).

Copy the ACCRDEXT load module from the SCC distribution load library and link it reentrant/reusable with AC=1. Example JCL to copy and rename the load module:


 //LINKJOB JOB ...
 //LINK   EXEC PGM=IEWL,PARM='RENT,REUS,AC=1'
 //SYSUT1 DD UNIT=SYSALLDA,SPACE=(CYL,(1,1))
 //SYSPRINT DD SYSOUT=*
 //SYSLIB  DD DISP=SHR,DSN=DTS.R71.SLyydd.LOADLIB
 //SYSLMOD DD DISP=SHR,DSN=apf.authorized.library
 //SYSLIN  DD *
  INCLUDE SYSLIB(ACCRDEXT) NAME ARCRDEXT(R)
 /*
        

Refresh the system linklist with the operator command:

MODIFY LLA,REFRESH

Enable the ARCRDEXT exit by adding the following command to the DFSMShsm parameter library (for example, ARCCMDxx):

SETSYS EXITON(RD)

Note: The SETSYS EXITON command enables or disables the exit but does not load or reload it. If a new copy of ARCRDEXT must be loaded, stop and restart DFSMShsm so it picks up the new module.

Summary

To have ACC influence DFSMShsm recalls:

  • Install and name the ACC ARCRDEXT exit in an APF-authorized system linklist library.
  • Refresh the linklist (MODIFY LLA,REFRESH).
  • Enable the exit with SETSYS EXITON(RD), and restart DFSMShsm if you must load a new copy of the module.