View previous topic :: View next topic |
Author |
Message |
sri50131 Beginner
Joined: 07 Oct 2004 Posts: 38 Topics: 15
|
Posted: Fri Aug 11, 2006 4:03 pm Post subject: File Compare Issue |
|
|
Hello,
I have 2 Seq files whose lrecl is 22837 and the record format is VBM. These Seq File are generated using the same input and have more than 1 line of data. I generate the files by running the same job twice, once using the production version of the code and once using the new code that is going into production. When I use option 3.13 on the mainframe, the compare report gets truncated at 80 bytes. I tried to use File-AID to compare the files but the compare output is very cumbersome to read. Is there another way to do the compare?
Thanks. |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Aug 11, 2006 5:07 pm Post subject: |
|
|
In superc you may need to do a byte compare instead of a line compare, but it will be difficult to read. The edit COMPARE command might work for this if you can fit the data in the editor (not very likely) |
|
Back to top |
|
 |
coolman Intermediate
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
|
Posted: Sat Aug 12, 2006 5:00 pm Post subject: |
|
|
sri50131,
I believe you can compare to 121 or 133 bytes with option 3.13.
Quote: |
I tried to use File-AID to compare the files but the compare output is very cumbersome to read. Is there another way to do the compare?
|
Since you have File-AID, ask your sys progs to provide you with the fileaid manuals. If you scroll down to the bottom, it would tell the no. of records, no. of records different and now of records not matching. In File-AID, it would basically give out a hex value of every byte in record that was different. And it would also say "New Record" and "Old Record".
And now, should the records be different when produced from prod and your test runs? If yes, do you know what columns are supposed to be different?
How many # of records do you have. Would you be able to identify the record by a key field that's supposed to be different. If you can do that map that file to a copybook using fileaid for both prod and test files and you can see the difference.
________
free vaporizer
Last edited by coolman on Sat Feb 05, 2011 1:47 am; edited 1 time in total |
|
Back to top |
|
 |
Steve Coalbran Beginner
Joined: 09 Mar 2005 Posts: 22 Topics: 0 Location: Stockholm, Sweden
|
Posted: Mon Aug 14, 2006 1:12 am Post subject: |
|
|
Hi,
This is quite easy in IBM's FileManager product (a part of their "AD Tools" set of products) (if you have it installed, which is possibly unlikely if you have FileAid, its competitor?).
It works even better if you have the program that created the files as the record structure is read in and the report is formatted and easy to read.
As a real bonus FileManager (and the whole of AD Tools) use Rexx as their tailoring language!
Don't hesitate to contact me for a contact who can give deeper details of this product.
/Steve  |
|
Back to top |
|
 |
|
|