PGM=IEFBR14 and DFSMShsm recalls - 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

It is common in some installations for a JCL step to be coded which invokes PGM=IEFBR14 and references data sets using a disposition parameter of ‘MOD,DELETE,DELETE'. This JCL is usually used to ensure that data sets that may or may not exist at the time the job is run are deleted before the execution of any further steps.

One problem with this technique is that if the referenced dataset exists, but has been migrated by DFSMShsm, it must be recalled (often requiring a tape mount) before it can be deleted. Recalling a data set merely to delete it is an obvious waste of resources. If many jobs use this technique, the total overhead and impact on the system can be significant. While this problem could be addressed by changing the JCL to use IDCAMS, this is often not practical if there are many jobs that might require changing. Also, any change to JCL involves the risk of introducing errors or unwanted side effects.

The Allocation Control Center Solution

Allocation Control Center rules processing can be used to eliminate these ‘useless’ DFSMShsm recalls. A rule is coded to specify the criteria for invoking ACCHDEL (e.g., PGM=IEFBR14 and disposition equal to MOD,DELETE,DELETE. The rule then sets the value of the &HDELETE variable to 'YES'. ACC will then invoke DFSMShsm to perform an ‘HDELETE’ of the dataset. There is then no need for DFSMShsm to recall the dataset, and processing can proceed just as if the dataset did not exist. The recall, and its potential for problems, are eliminated.

To ensure that users cannot HDELETE data sets for which they are not authorized, ACC checks for RACF ‘ALTER’ authority to the data set before issuing the HDELETE request. If the user does not have at least ‘ALTER’ authority, HDELETE processing is bypassed.

Rules Example The following example shows the rules can be added to ACC to perform this processing.

The PRE_DD environment is activated so that ACC can receive control early in allocation, before DFSMShsm recall processing. The HMOD1 rule checks for the proper environment and checks to see that the dataset is one that might require a DFSMShsm recall (i.e., PGM=IEFBR14 and DISP=(MOD,DELETE,DELETE)). If so, the

&HDELETE variable is set to 'YES' to allow ACC to HDELETE the dataset. The primary space value for the dataset is set to zero tracks. This eliminates unnecessary use of space for the newly allocated dataset (which will be immediately deleted anyway).

Finally, a second ‘catch-all’ IF statement ensures that no further processing takes place in the PRE_DD environment. The DD environment is also activated, with RULES(ALWAYS) to ensure that other data sets are processed by the rest of the ACC rules.

DEFENV PRE_DD PROCESS(DISKALL) RULES(ALWAYS) DEFENV DD RULES(ALWAYS)

DEFRULE HMOD1 /* check for unwanted HSM recalls */ IF &ENV = PRE_DD

&PGM = IEFBR14

/* other optional selection criteria */

&DISP1 = MOD &DISP2 = DELETE &DISP3 = DELETE THEN

SET &HDELETE = YES /* ALLOW ACC TO HDELETE */ SET &PSPACE = 0 /* AND INSURE THAT ALLOCATION */ SET &SSPACE = 0 /* PROCESSING THEN HAS */ SET &SPACE = TRK /* SOMETHING TO DELETE. */

IF &ENV = PRE_DD THEN EXIT /* NO MORE PRE-DD PROCESSING */