User`s guide

4.
Define the tables and examine/correct the definitions
Despite the best efforts of %CSSNMSCH, some schema files do not convert perfectly to IT Service Vision dictionary
definitions.
Run %CPDDUTL on the dictionary update statements created above to define the new entries in your PDB (a
new PDB presumably created just for this purpose).
Examine the definitions using the IT Service Vision interactive interface and compare them to the schema files.
Non-standard constructs or special characters can make %CSSNMSCH parse the schema file incorrectly. Either
update the schema file to clarify the variable definition or remove the construct that is confusing %CSSNMSCH.
Loop through these steps until the definitions are right. If you changed the schema file to correct the problem,
loop back through step 3.
5. Use the definitions and correct if necessary.
The ultimate test of a table definition created from a schema file is to use the table.
Run %CPDDUTL on the dictionary update statements created above to define the new entries in your PDB.
Test the new definitions by running %CSPROCES on the values of the metrics as logged by SunNet Manager.
Modify the %CPDDUTL control statements or the schema file as necessary to get the table(s) the way you want
them.
Loop through these steps until the definitions are right. If you changed the schema file to correct the problem,
loop back through step 3.
6. Keep your changes. (optional)
If you want to make your new table definitions available generally at your site, use the %CPDDUTL INSTALL
TABLE control statement. For more details about this statement, see the Macro Reference documentation for IT
Service Vision.
EXAMPLE
* Allocate IT Service Vision libraries and the PDB;
%CPSTART( mode=batch,
pdb=/u/testpdb,
access=write );
* Create CPDDUTL ontrol statements from your own schema file in /u/snm.ddutl;
%CSSNMSCH( schema=/usr/snm/schema/toaster.schema,
rpcids=!SASROOT/misc/cpe/csrpc,
snmnams=/u/nams, /* Format like !SASROOT/misc/cpe/cssnmnam */
outfile=/u/snm.ddutl );
* Create table and variable definitions from the CPDDUTL control statements;
%CPDDUTL( filename=’/u/snm.ddutl’,
list=yes );
* Process data from the new schema file;
%CSPROCES( /usr/snm/logfile,
uutab1,
collectr=SUNETMGR );