Comp Case Results

The following screen is accessed using option 21 from the Work With Comp Cases display or by using the WRKCMPRUN command.

Warn This column indicates whether or not any warning messages have been generated for the run. Any messages that were displayed on the object pre-check but did not prevent the execution of the Comp Case are logged here. Also, if the Comp Case run is at an ‘Abnormal’ status this means that an unrecoverable error has occurred and this error will also be logged as a warning message.

Clr This indicates whether low level details of the Comp Case run have been cleared with option ‘7’. See the notes below for option ‘7’ – Clear/Delete.


1 – Warnings Display any warning messages that have been generated for this run.

4 – Cancel This option will cancel an active batch job or a queued batch job. Using 4 will end that job, and update the status of the run. If used on an active interactive job it will have no effect and the job will continue. However, if the interactive job has been ended by a command such as ENDJOB *IMMED, the run will still show as active until this option is used to update the status to cancelled.

5 – Details Display details of the Comp Case run, see the section below for more information.

6 – Report Re-generate the comparison report for the results set selected. A window is displayed which enables the reporting options to be selected prior to the report being created.

7 – Clear/Delete A window is displayed where the user can choose to either delete or clear the runs that have been selected with option ‘7’. The ‘Delete’ option will delete permanently all references to the run. The ‘Clear’ option will delete the detailed information about the objects included in the run, leaving a reduced record that the run took place.

8 – Job This displays the OS/400 job information, either for an active batch job (a submitted Comp Case run), or an active interactive job which started the run. Once the job has terminated, this option is no longer allowed.

9 – Notes Use option 9 to access the Notes Editor and to enter or amend text notes about the run. For more information on using the Notes Editor, refer to the separate Chapter in this document.

Compare Run Summary
Access the following screen with an option ‘5’ from Work With Compare Runs. It lists all of the file pairs that were compared during the run, with summary statistics indicating the total number of records in each file, the number of records that were processed and the total number of differences found for each pair. The number of records processed could be less than the total records in each file, for example as a result of keying in a ‘Maximum records’ option at execution time.

5 – Summary Display the Comparison Summary display for the Compare Run, see previous Interactive Comp_IT section for more information on this display.

6 – Detail Re-generate the detailed results from the Compare Run and display them on screen. See the following section for more information.

F7 – Run Details Display overall run information including start and end time and duration.

Comp Case Detail Results
Option ‘6’ on the Compare Run Summary screen for a pair of files can be used to view the detailed results of the Compare Run. These must be re-generated from the information stored in the TestBench files and therefore if the files that were compared have large numbers of records, this process can take some time. The following window is displayed to enable the results options to be changed from those that were used when the Compare Case was first executed. Refer to the earlier Execution sections for explanations of these options.

Once Enter is pressed on the above display, the Comp Case Detail Results screen is shown. This has been described in an earlier section in this chapter.