MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File Compare Issue

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
sri50131
Beginner


Joined: 07 Oct 2004
Posts: 38
Topics: 15

PostPosted: Fri Aug 11, 2006 4:03 pm    Post subject: File Compare Issue Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Aug 11, 2006 5:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Sat Aug 12, 2006 5:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Steve Coalbran
Beginner


Joined: 09 Mar 2005
Posts: 22
Topics: 0
Location: Stockholm, Sweden

PostPosted: Mon Aug 14, 2006 1:12 am    Post subject: Reply with quote

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! Smile
Don't hesitate to contact me for a contact who can give deeper details of this product.

Wink /Steve Cool
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group