When creating a Compare strategy in RC/Migrator for Db2 for z/OS (RCM), a ruleset can be used to determine which attributes to compare.
This may need to be changed as the strategy is being developed based on the results obtained.
How to update the existing RULESET that is being used or bring in a new rule set.
You can change a compare strategy's rule set after the strategy has been saved.
1. Update the existing compare strategy with the "U: line command.
2. The primary command RULESET can be entered from the Compare Explode Services screen to alter the strategy's Rule set assignment.
Updating the strategy displays this screen, type RULESET on the command line to update the rule set being used:
---------------- RC/M Compare Explode Services ---------------- yy/mm/dd hh:mm
COMMAND ===> RULESET SCROLL ===> CSR
STRATEGY ===> ACT DESCRIPTION ===> ACT TABLE
CREATOR ===> authid1 SHARE OPTION ===> U (U,Y,N,X,L)
VIEW STRATEGY INFO ===> N CREATE/DROP OBJECTS ===> N (U,Y,N)
--------------------------------------------------------------------- authid1
SOURCE SSID ===> ssid | TARGET SSID ===> ssid
SOURCE LOC ===> LOCAL | TARGET LOC ===> LOCAL
|
E TY | Ob Dep
S X PE NAME CREATOR VERSION | CH CH NAME CREATOR VERSION
_ E X T ACT DSN81110 | ACT DSN91110
******************************* BOTTOM OF DATA ********************************
3. On the following screen select the RULESET that you want to use, or, update the rule set using the 'U' line command and make the changes.
RMR1 ------------ RC/M Rule Database Services ----------- yy/mm/dd hh:mm
COMMAND ===> SCROLL ===> CSR
RM226 RM226I: Please select a ruleset for your Compare strategy.
RULE SSID ===> ssid
RULE NAME ===> * CREATOR ===> AUTHID1 TRG SSID ===> ssid
--------------------------------------------------------------------- AUTHID1
S TRG +---- LAST UPDATE -----+
O RULENAME DESCRIPTION CREATOR O SSID USER DATE TIME
_ ________ _________________________ AUTHID1 _ ____ <== RULE SET CREATION
_ @DEFAULT TEST AUTHID1 U * AUTHID1 yy/mm/dd hh:mm
U ACT ACT TABLE AUTHID1 U ssid AUTHID1 yy/mm/dd hh:mm
_ ARCHIVE ARCHIVE TABLE COMPARE AUTHID1 U * AUTHID1 yy/mm/dd hh:mm
******************************** BOTTOM OF DATA *******************************
Changed the description and saved the updated ruleset with PF3. Select the ruleset for the strategy with an "S".
RMR1 ------------ RC/M Rule Database Services ----------- yy/mm/dd hh:mm
COMMAND ===> SCROLL ===> CSR
RM226 RM226I: Please select a ruleset for your Compare strategy.
RULE SSID ===> ssid
RULE NAME ===> * CREATOR ===> AUTHID1 TRG SSID ===> ssid
--------------------------------------------------------------------- AUTHID1
S TRG +---- LAST UPDATE -----+
O RULENAME DESCRIPTION CREATOR O SSID USER DATE TIME
_ ________ _________________________ AUTHID1 _ ____ <== RULE SET CREATION
_ @DEFAULT TEST AUTHID1 U * AUTHID1 yy/mm/dd hh:mm
S ACT ACT TABLE DESC AUTHID1 U ssid AUTHID1 yy/mm/dd hh:mm
_ ARCHIVE ARCHIVE TABLE COMPARE AUTHID1 U * AUTHID1 yy/mm/dd hh:mm
******************************** BOTTOM OF DATA *******************************
The next screen confirms the ruleset was changed.
---------------- RC/M Compare Explode Services ---------------- yy/mm/dd hh:mm
COMMAND ===> SCROLL ===> CSR
RM227 RM227I: The Ruleset for this strategy has been changed.
STRATEGY ===> ACT DESCRIPTION ===> ACT TABLE
CREATOR ===> authid1 SHARE OPTION ===> U (U,Y,N,X,L)
VIEW STRATEGY INFO ===> N CREATE/DROP OBJECTS ===> N (U,Y,N)
--------------------------------------------------------------------- authid1
SOURCE SSID ===> ssid | TARGET SSID ===> ssid
SOURCE LOC ===> LOCAL | TARGET LOC ===> LOCAL
|
E TY | Ob Dep
S X PE NAME CREATOR VERSION | CH CH NAME CREATOR VERSION
_ E X T ACT DSN81110 | ACT DSN91110
******************************* BOTTOM OF DATA ********************************