Do the following to compare record counts for an active data group:
-
From a command line, type
installation_library
/CMPRCDCNT
and pressF4
(Prompt). -
The Compare Record Counts (CMPRCDCNT) display appears. At the Data group definition prompts, do one of the following:
-
To compare data for all files defined by the data group file entries for a particular data group definition, specify the data group name and skip to Step 4.
-
To compare a subset of files defined to a data group, specify the data group name and continue with the next step.
-
-
At the File prompts, you can specify elements for one or more object selectors to act as filters to the files defined to the data group indicated in Step 2. For more information, see Object selection for Compare and Synchronize commands.
You can specify as many as 300 object selectors by using the + for more prompt for each selector. For each selector, do the following:
-
At the File and library prompts, specify the name or the generic value you want.
-
At the Member prompt, accept
*ALL
or specify a member name to compare a particular member within a file. -
At the Include or omit prompt, specify the value you want.
-
-
At the Report type prompt, do one of the following:
-
If you want all compared objects to be included in the report, accept the default.
-
If you only want objects with detected differences to be included in the report, specify
*DIF
.
-
-
At the Output prompt, do one of the following:
-
To generate spooled output that is printed, accept the default,
*PRINT
. Press Enter and continue with the next step. -
To generate an outfile and spooled output that is printed, specify
*BOTH
. Press Enter and continue with the next step. -
If you do not want to generate output, specify
*NONE
. Press Enter and skip to Step 9. -
To generate an outfile, specify
*OUTFILE
. Press Enter and continue with the next step.
-
-
At the File to receive output prompts, specify the file and library to receive the output. (Press
F1
(Help) to see the name of the supplied database file.) -
At the Output member options prompts, do the following:
-
At the Member to receive output prompt, specify the name of the database file member to receive the output of the command.
-
At the Replace or add prompt, specify whether new records should replace existing file members or be added to the existing list.
-
-
At the Object difference messages prompt, specify whether you want detail messages placed in the job log. The value
*INCLUDE
places detail messages in the job log, and is the default used outside of shipped rules. When used as part of shipped rules, the default value is*OMIT
since the results are already placed in an outfile. -
At the Submit to batch prompt, do one of the following:
-
If you do not want to submit the job for batch processing, specify
*NO
and press Enter to start the comparison. -
To submit the job for batch processing, accept the default. Press Enter continue with the next step.
-
-
At the Job description and Library prompts, specify the name and library of the job description used to submit the batch request.
-
At the Job name prompt, accept
*CMD
to use the command name to identify the job or specify a simple name. -
To start the comparison, press Enter.