What is the best way to incorporate, or copy, System State Manager into an existing OPSMVS environment? Would using writetable/readtable into a new copy of the current syschk1 work without overlaying any global variables they currently use?
We are using SSMV2. Not sure if only the SSM table would be replaced. Don't want the global variables overridden also.
There are 2 possible approaches to incorporate a new SSM into the environment:
1. In the first, you could just implement SSMV3 and run the discovery to build the new tables.
2. In the second approach, you could copy the tables from your test environment to the production environment via one of the following methods:
- Note that neither of these procedures will affect the current global variables since you do not copy the entire SYSCHK1.
If you are not using the MSF related procedure, review the OPS REXX Programs section of the OPS/MVS manual for more information.
Below is sample REXX code that may be used to copy the resource and action tables:
/* rexx */
address osf
'OI WRITETBL TABLE(STCTBL) DSNAME(your_HLQ.STCTBL)',
'SPACE(10,1) UNIT(SYSDA) SUBSYS(OPSS)'
address osf
'OI WRITETBL TABLE(STCTBL_ACT) DSNAME(your_HLQ.STCTBL.ACT)',
'SPACE(10,1) UNIT(SYSDA) SUBSYS(OPSS)'
Exit