Standards enforcement - 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

Once ACC has been activated, the rules language has access to all the JCL and allocation parameters related to an allocation request. The product can use this information to perform standards enforcement.

For example, the rules language can be used to issue a warning message to users that are creating a permanent data set with an invalid last qualifier. The CONTINUE(NEXTIF) parameter on the DEFRULE statement, allows ACC rules processing to continue after writing the message.

DEFRULE VLDLQUAL CONTINUE(NEXTIF) IF &PERMDSN
&DISP1 EQ NEW &DISP2 EQ CATLG
&QUALL NE (SOURCE,CONTROL,COPY,MACRO,MACLIB) THEN ISSUE WRITEMSG(WRNMSG01)
DEFMSG WRNMSG01
“** WARNING ** LAST QUALIFIER INVALID ON &DSNAME”
The previous example issued a warning message for data sets using an invalid data set name. The rules language can be used to deny allocation for users that are creating a permanent data set with an invalid last qualifier. This example will also write the message as an SMF record to provide an audit trail for the storage management personnel.
DEFRULE VLDLQUAL IF &PERMDSN
&DISP1 EQ NEW &DISP2 EQ CATLG
&QUALL NE (SOURCE,CONTROL,COPY,MACRO,MACLIB) THEN SET &JCLFAIL=YES WRITEMSG(MSG01)
DEFMSG MSG01
“&STEPNAME..&DDNAME HAD INVALID QUALIFIER ON &DSNAME” SMFRID(231)

Enforce GDG Standards

The ACC policy rules can be used to enforce GDG standards during the creation of generation data groups for both standard and extended GDG names. If the DEFINE_GDG environment is active, the policy rules can examine and manipulate the GDG parameters. For more information, examine the examples starting on page 4-88.

Enforce DELETE Standards

When defining or using VSAM datasets that employ Record-Level Sharing (RLS), additional attributes must be specified to define the RLS logfiles and parameters associated with the datasets. Yet there is no mechanism in z/OS to ensure that the proper names and values are specified, or that any values are specified at all. Problems can, therefore, occur when 'production' VSAM RLS datasets are associated with 'test' logfiles, or when incorrect values are specified for RLS log attributes, or when attributes are missing or miscoded. The ACC policy rules can be used to enforce system-wide standards for cluster names, RLS attributes, SMS class names, and indeed any VSAM IDCAMS DEFINE or ALTER parameter. The examples below show the use of ACC to control RLS attributes for VSAM files.

Variables Related to RLS Datasets

The RLS variables are available in most environments, including the ACCOPEN environment and the IDCAMS, IDCAMS_ALTER, and IDCAMS_DELETE environments. They are valid for datasets for which the IDCAMS DEFINE or ALTER for the dataset specified RLS values when the dataset was created or altered. For more information, examine “Symbolic Names for RLS Datasets” on page 9-25.

Variables Indicating Type of Dataset or Catalog Entry

Variables available in the various VSAM environments (IDCAMS, IDCAMS_ALTER, IDCAMS_DELETE, etc.) identify the type of VSAM or catalog entry being referenced in the catalog parameter list. The value of &DSTYPE below is that of the catalog record identifier, while the value of &DSTYPE -C is a symbolic representation of the same variable. Either &DSTYPE-C or &DSTYPE may be used in the product rules.

DSTYPE DSTYPE- C
A NONVSAM
B GDGBASE
C CLUSTER
D DATA
G ALTINDEX
H GDG (a generation)
I INDEX
K VVR
L TAPELIB
N NVR
P PAGESPAC
R PATH
U USERCAT
W TAPEVOL
X ALIAS

All of the usual DIF/ACC variables such as &DSNAME, &JOBNAME, &STEPNAME, &USER, &GROUP, &CURDATE, &CURTIME, and so on, are available in the IDCAMS_DELETE environment. For information about the variable names available, examine “Symbolic Names for the ALLOCENQ Environment” on page 9-26.

Enforce OPEN Standards with

ACCOPEN

The ACC policy rules can get control when VSAM or non-VSAM datasets are opened, either for input or output. At OPEN time, ACC can examine the dataset name and characteristics, job and step name, the OPEN type, and other variables. It can write SMF or log records and allow or deny the OPEN. The ACCOPEN function must be running (a START ACCOPEN command must have been issued to DIF) for ACC to get control at OPEN time.