Need help on Comparex utility



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Need help on Comparex utility

Postby Naveen@Uppi » Mon Apr 27, 2009 12:29 pm

Hi All,

In on of the my requirement,
my input file is getting added with 200 to 30 new feilds for different record type.and my input file will have both input and out fields.
And the out put file will be created seperately for the old fields and new feilds.

So new fields will be moving to the new out put file.

i need to compare if the new fields in the output file are properly updated from the input file. (And the fields position in the input file and the output file differ)

Can i use comparex utility for the same.
One issue which i was facing using the comparex utility was i could not fing the library where the comparex utility will be present.


Do we have any other utilities through which can comapre the new files in the output file with the new fields int he input file
(Since the field position in the input and the out put file differ.)

Thanks and regards,
naveen n
Naveen@Uppi
 
Posts: 36
Joined: Wed Jul 23, 2008 6:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need help on Comparex utility

 

Re: Need help on Comparex utility

Postby dick scherrer » Mon Apr 27, 2009 7:28 pm

Hello,

As only you know the requirements, it would probably be more productive for you to just write the bit of code necessary to compare the content in the 2 files and output the diffeences.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Need help on Comparex utility

Postby Naveen@Uppi » Mon Apr 27, 2009 10:42 pm

Hi Dick,

I came to that the comparex utility is not supouted in my mainframes system.

So can you suggest any other utilities to compare the fields in an effective way since the field positions differ in the input and the output file.

just give an example, i will code it further.

Thanks and regadrs,
naveen n
Naveen@Uppi
 
Posts: 36
Joined: Wed Jul 23, 2008 6:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need help on Comparex utility

Postby dick scherrer » Tue Apr 28, 2009 12:22 am

Hello,

As i mentioned previously:
it would probably be more productive for you to just write the bit of code necessary to compare the content in the 2 files and output the diffeences

This would require being a programmer for a day (or so) and writing and testing the compare code.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Need help on Comparex utility

Postby Anuj Dhawan » Wed Apr 29, 2009 11:20 am

Naveen@Uppi wrote:So can you suggest any other utilities to compare the fields in an effective way since the field positions differ in the input and the output file.
If you just need other utility name SORT can be your choice but suggesting that would be very vague . . . at this point. If you show us the input and the expected output from that - one might be havng a better suggestion.
Anuj
Anuj Dhawan
 
Posts: 274
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post