how can I compare catalogs from 2 different systems?

Document ID : KB000010428
Last Modified Date : 13/03/2019
Show Technical Document Details

We have 2 different Spectrum systems running in parallel on different versions.  We want to compare and contrast the catalogs of both systems, to see what models exist on one but not on the other.

How can we do it?


We are going to use the command line interface to export the model types from each system, for comparison. For instructions how to start CLI on your platform  see:

e.g. To start CLI, on windows from a bash shell, follow these steps:

1.Click Start, Programs, and Command Prompt.
The DOS prompt appears.
2.From the DOS prompt, type bash.
3.Click Start, Run, and type bash -login.
4.Start the SpectroSERVER to which you want to connect.
5.Navigate to the vnmsh directory in the CA Spectrum installation directory:
$ cd <$SPECROOT>/vnmsh
6.Open the connection:
$ connect

You are connected to the CLI session and can export a list of model types to text as follows:

 show types > types.txt

 With the list from both systems, it is possible to compare and contrast with the tool of your choice  e.g. the linux diff command.

Additional Information:

Overview on CA Spectrum Command Line Interface: