Migrating from classic Rules
Existing classic Rules are imported directly from the BBPARM data set(s) where they are currently stored. Classic Rules that are to be imported must be in data sets that are included in the BBIPARM DD concatenation of the PAS.
To migrate classic Rules into a registry, the MainView AutoOPERATOR PAS must be running in ADMIN or FULL mode so the registry is open for you to populate it with imported Rules.
In addition, you need to think about setbases. All of the Rule Sets are stored in the registry in setbases. You might decide to put all of your classic Rules and Rule Sets into a single setbase (such as the DEFAULT setbase) or you can import them into any number of setbases. A single setbase named DEFAULT is provided in the registry.
To restart the MainView AutoOPERATOR PAS in ADMIN mode
- Specify USAGE_MODE_RULES=ADMIN in BBPARM member AAOPLXxx.If the keyword is set to OFF, the registry is not available to the PAS so the import utility will not function. The PAS must be running in ADMIN or FULL mode to use the import utility.
- Restart the MainView AutoOPERATOR PAS.No automation from registry-based Rules will occur while the PAS is in ADMIN mode. Automation from classic Rules will function normally.
To import classic Rules
Select Import Ruleset(s) from the Tools portion of the EZAORUL view.
IMPTRSET view
COMMAND ===> SCROLL ==
CURR WIN ===> 1 ALT WIN ===>
>W1 =IMPTRSET==========JO8R=====*========2018/10/30=13:15:59====MVAO=====D===75=============================================
- Import Rulesets
Default Setbase Hyperlinks:.............
Name.........: JO8FSETBASE ..Review Import Messages
Group........: JOBIAG81 ..Review Import Errors..
CMD Ruleset Suggestd Rule Description Import Results Vers Serial Where Found
--- Name---- Status-- Count- --------------------------------------- ---------------------- ---- Number- ------------------
RULIMS00 ENABLED 5 0801 0000007 JAB2.JO8R.BBPARM
AAORUL00 ENABLED 16 0704 0000017 JAB2.JO8R.BBPARM
RULTIME1 ENABLED 32 0704 0000046 JAB2.JO8R.BBPARM
AAORULBA DISABLED
AAORULBB DISABLED
AAORULBC DISABLED
AAORULBD DISABLEDThe IMPTRSET view is displayed. For information about this view, place the cursor on the view name and press PF1.
This view displays a list of all the classic Rule Sets in the BBIPARM DD concatenation. The utility can import any Rule Set in the list no matter its status (ENABLED or DISABLED).
The Suggested Status shown for each Rule Set is based on the contents of the RULESET= keyword in BBPARM member AAOPRMxx that is used by the target PAS. As a result, the Suggested Status might not represent the Rule Sets that are currently active in the target PAS. It is recommended that the Suggested Status be used, however, since the goal of the import is to recreate the RULESET= keyword's contents in the registry.
- Enter the TAG line command in the CMD field next to the Rule Sets you want to import.
Enter IMPORT on the COMMAND field and press ENTER.
The Rule Set Import options dialog is displayed. The dialog provides default specifications and suggests names and settings for items such as the Rule pool to house the Rules, the Rule Set's name and setbase, a PASDef to use (or create), and so on.
Ruleset Import Options viewRuleset Import Options
COMMAND ===> SCROLL ===> CSR
Selected Ruleset
Name........: AAORUL00
From Dataset: JAB2.JO8R.BBPARM
Target Ruleset
Name.....: AAORUL00
Desc.....:
Target Rule Pool
Pool Name: AAORUL00.Rule.Pool
Desc.....: Pool created by import of AAORUL00 from JO8R
Options..: S Create Rule Pool
Replace existing Rule Pool
Append Rules to existing Pool
Validate within Rule Pool
Target Setbase
Setbase..: JO8FSETBASE
Group....: JOBIAG81
Options..: Add Ruleset to Setbase
S Replace Ruleset in Setbase
Append Rules to Ruleset in this Setbase
Bypass all Ruleset changes in this Setbase
Target PAS Definition
Name.....: JO8R.PAS.Definition
Group....: BBPLEX01
Desc.....:
Strategy.: All First S Individual
Honor MPF: Yes S No
Init Mode: S Enabled Disabled
Options..: S Create PASDef and append Ruleset
Replace Ruleset in existing PASDef
Append Ruleset to PASDef
Bypass all PASDef Changes
Valid PAS List Entry
Tgt Name.: JO8R
AOPlex...: JO81PLEX
AO Desc..: Created by import
VPL......: Create (default is BYPASS)
END to import the ruleset
CANcel to abandon the import
HELP to view related helpRuleset Import Options view (PTF BQO2811 applied)
Ruleset Import Options
COMMAND ===> SCROLL ===> CSR
Selected Ruleset
Name........: AAORUL00
From Dataset: JAB2.JO8R.BBPARM
Target Ruleset
Name.....: AAORUL00 (enter ? to select)
Desc.....:
Target Rule Pool
Pool Name: AAORUL00.Rule.Pool (enter ? to select)
Desc.....: Pool created by import of AAORUL00 from JO8R
Options..: S Create Rule Pool
Replace existing Rule Pool
Append Rules to existing Pool
Validate within Rule Pool
Target Setbase
Setbase..: JO8FSETBASE (enter ? to select)
Group....: JOBIAG81
Options..: Add Ruleset to Setbase
S Replace Ruleset in Setbase
Append Rules to Ruleset in this Setbase
Bypass all Ruleset changes in this Setbase
Target PAS Definition
Name.....: JO8R.PAS.Definition (enter ? to select)
Group....: BBPLEX01
Desc.....:
Strategy.: All First S Individual
Honor MPF: Yes S No
Init Mode: S Enabled Disabled
Options..: S Create PASDef and append Ruleset
Replace Ruleset in existing PASDef
Append Ruleset to PASDef
Bypass all PASDef Changes
Valid PAS List Entry
Tgt Name.: JO8R
AOPlex...: JO81PLEX
AO Desc..: Created by import
VPL......: Create (default is BYPASS)
END to import the ruleset
CANcel to abandon the import
HELP to view related help- Review the suggested options on the dialog, make any modifications if necessary, and issue END to initiate the import process.You will need to repeat the END command for each Rule Set that is being imported.