View previous topic :: View next topic |
Author |
Message |
kishore_gk Beginner
Joined: 23 Jul 2003 Posts: 12 Topics: 8
|
Posted: Mon Sep 29, 2003 4:01 am Post subject: compare files |
|
|
hi,
I have two files with the same structure. I want to compare these two files with some selection criteria(ex: position : 10, length : 2). If this information is different in both the files, i want to write into the other file. We dont have COMPAREX facility. pls provide me a solution with the JCL.
pls help me in this regard.
Thanx in advance
kishore _________________ kishore |
|
Back to top |
|
 |
coolman Intermediate
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
|
Posted: Mon Sep 29, 2003 5:14 am Post subject: |
|
|
Give an example of your input and output.
BTW, Did you try 3.13
Hope this helps...
Cheers,
Coolman
________
British cooking
Last edited by coolman on Sat Mar 12, 2011 8:32 pm; edited 1 time in total |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Sep 29, 2003 5:29 am Post subject: |
|
|
kishore_gk,
As coolman suggested you can use SUPERC (3.13) to compare the 2 files.If the Lrecl is greater than 202 then your outpur from superc will truncated.In that case you can use any one of the solutions mentioned in this topic
http://www.mvsforums.com/helpboards/viewtopic.php?t=11
Hope this helps...
cheers
kolusu |
|
Back to top |
|
 |
|
|