Publication Date: 2016-Feb-06
The IP.com Prior Art Database
Disclosed is a method to convert between user-defined RULES (i.e. combinations of input variables/value and output values) and Automatic Class Selection (ACS) routines to assist with storage management in large mainframe implementations.
Page 01 of 4
Automatic Class Selection (ACS) routines are user-written routines that can be used to determine the Storage
Management Subsystem (SMS) classes and storage groups for data sets and objects in an SMS complex. These classes help users manage storage in large mainframe implementations. However, the only way to build ACS routines is to hand-code the logic using the ACS language. This provides a lot of control, but can be difficult to manage, especially as routines grow in complexity.
The novel contribution is a method to convert between user-defined RULES (i.e. combinations of input variables/value and output values) and Automatic Class Selection (ACS) routines. This includes an interface to allow the user to enter simple INPUT and OUTPUT definitions to define a RULE, which are much easier than ACS coding. The user defines the rules, and then the program creates the ACS routines based on the rules. In addition, the novel method also parses and analyzes existing routines, converting back to RULES based on those routines, and then allows users to edit those rules (LOAD ACS routines). The tool also runs a series of checks against the rules/routines and suggests areas for consolidation and improvement.
The core innovation is a logic engine that converts back and forth between sets of rules and the DFSMSdfp Automatic Class Selection language. A rule pairs certain input variables and the associated values to specific output values and can
be stored internally in a number of formats.
For example, assume the use of two input variables, JOB and DSNAME. A rule pairs values passed in by these variables
to a specific output.
Figure 1: Input paired with output
This example has two rules:
1. When DSN equals MYDATA.* and JOBNAME equals JOBA*, under that scenario, SMS sets DATACLAS to value DCLASS1
Page 02 of 4
2. Similarly, DSN=MYDATA.* and JOBNAME=JOBB*, set DATACLAS=DCLASS2
Users can also define FILTLISTS for use in the ACS, or allow the tool to auto-generate them based on inputs in the rules.
The actual display of these rules can be done in a variety of formats. The novel tool specifically provides two interfaces:
1. A table display (as in the above figure)
2. A list of IF THEN statements (such as the description)
The method is to then sort and reconfigure these displays with the desired variables.
The algorithm of the method then parses and groups these rules, and then exports the ACS routines as follows:
WHEN( MYDATA.* )
The method also reads and converts the previously written ACS routines back into rules that the user can modify as needed.
In addition, the method runs some checks and makes recommendations to ensure that the logic is complete and sound. These checks include tests such as: