Testing rules with IEFBR14 and IDCAMS - 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

The IEFBR14 and IDCAMS utilities can be used to determine whether an ACC rule is working correctly. For example, the following IEFBR14 job attempts to allocate a production data set on an invalid volume. If the previous PRDPERM rule functions correctly, the data set should be allocated on one of the PRDPOOL volumes.

//JOBNAME JOB ...

//TEST EXEC PGM=IEFBR14

//ACCTEST DD DSN=PROD.TESTACC.FILE,

// SPACE=(TRK,(1)),

// DISP=(NEW,CATLG),UNIT=SYSALLDA,

// VOL=SER=WORK01

The IDCAMS utility can be used to determine whether VSAM allocations are being controlled by ACC. The following example attempts to allocate a production VSAM data set on an invalid volume. ACC should correct the request, and pool the allocation request to a PRDPOOL volume.

//JOBNAME JOB ...

//TEST EXEC PGM=IDCAMS

//SYSPRINT DD SYSOUT=*

//ACCTEST DD DUMMY

//SYSIN DD *

DEFINE CLUSTER(NAME(PROD.TESTACC.VSAM) INDEXED - TRACKS(1) VOLUME(WORK01))

If the ACC or SRS rule does not seem to be performing correctly, additional information about ACC or SRS language processing can be obtained with the language tracing facility. For more information, examine “Language Tracing Facility” on page 7-3.

The previous examples use the ACCTEST DD statement to activate the sample rule. If you want to test in TSO environments, use the following TSO command to allocate to the ACCTEST file.

ALLOC FI(ACCTEST) DUMMY

Note: The ACCVSAM option must be enabled before ACC will intercept VSAM DEFINEs.