FOCREPLAY does not compare output files. You can use any file comparison tool installed at your site to perform the comparison. When you view the results, you must determine which differences are acceptable and do not indicate a change in your application's operation.
Issue the following command at the Ready prompt:
XCOMPARE FSC3270 OUTBASE A FSC3270 OUTNEW A (DISK
The result of the comparison is placed in the file XCOMPARE LISTING A1:
1COMPARING 'FSC3270 OUTBASE A1' WITH 'FSC3270 OUTNEW A1' 0FILE 1 1 O: FOCUS 7.3.7 06/06/2006 16.06.11 GEN01.01 FILE 2 1 O: FOCUS 7.3.7 06/06/2006 16.18.02 GEN01.01 0FILE 1 36 I00007: {Enter}{024-002} 0FILE 2 60 I00007: {Enter}{024-002} 0FILE 1 68 I00008: {Enter}{024-002} 0FILE 2 92 I00008: {Enter}{024-002} 0COMPARISON COMPLETED - RETURN CODE IS 8.
The differences in the two files are the lines with the date and time stamp and lines inserted by FOCREPLAY. These differences are acceptable and do not indicate a change in the operation of the application.
Go to option 3.13 (the SuperCE Utility) from the ISPF Primary Option Menu.
Enter the names of the two output files on the screen and press Enter to start the comparison. This example accepts the default comparison options:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss SuperCE Utility Command ===> New DS Name . . . 'USER1.FSC.OUTBASE' Old DS Name . . . 'USER1.FSC.OUTNEW' PDS Member List (blank/pattern - member list, * - compare all) (Leave New/Old DSN "blank" for concatenated-uncataloged-password panel) Compare Type Listing Type Display Output 2 1. File 2 1. OVSUM 1 1. Yes 2. Line 2. Delta 2. No 3. Word 3. CHNG 3. Cond 4. Byte 4. Long 4. UPD Listing DSN . . . . SUPERC.LIST
The results are placed in a file named USER1.SUPERC.LIST and are automatically displayed when the comparison is complete. In this example, the only lines that are different are those that show the date and time of the two runs. This difference does not indicate a change in the operation of the application:
LISTING OUTPUT SECTION (LINE COMPARE) ID SOURCE LINES I - O: FOCUS 7.3.7 06/07/2006 15.46.14 D - O: FOCUS 7.3.7 06/07/2006 15.48.43 LINE COMPARE SUMMARY AND STATISTICS 106 NUMBER OF LINE MATCHES 1 TOTAL CHANGES (PAIRED+NONPAIRED CHNG) 0 REFORMATTED LINES 1 PAIRED CHANGES (REFM+PAIRED INS/DEL) 1 NEW FILE LINE INSERTIONS 0 NON-PAIRED INSERTS 1 OLD FILE LINE DELETIONS 0 NON-PAIRED DELETES 107 NEW FILE LINES PROCESSED 107 OLD FILE LINES PROCESSED LISTING-TYPE = DELTA COMPARE-COLUMNS = 1:23468 LONGEST-LINE = 126 PROCESS OPTIONS USED: NONE ISRS004I LISTING LINES MAY BE TRUNCATED DUE TO LIMITING OUTPUT LINE WIDTH.
Information Builders |