IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

need a Comare JCL using two files


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
johnjohn055

New User


Joined: 15 Aug 2008
Posts: 5
Location: PUNE

PostPosted: Mon Aug 25, 2008 10:05 pm
Reply with quote

Hi!

I need a Fileaid JCL or some other jcl which can comare 2 files & produces output file (contains the comare result).

Do n't need 3.13 jcl.

Thanks
Back to top
View user's profile Send private message
johnjohn055

New User


Joined: 15 Aug 2008
Posts: 5
Location: PUNE

PostPosted: Mon Aug 25, 2008 10:25 pm
Reply with quote

Hi,

Sorry to forget one thing. LRECL of both file=120 & i need a comparision from column position 1 to 65.

Thanks
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Aug 25, 2008 10:25 pm
Reply with quote

John,

What result are you expecting out of the comparison?

You need to provide more details. Posting more information will help others to guide you better. Sample input/output might help.

Thanks,
Arun
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Aug 25, 2008 10:44 pm
Reply with quote

Quote:
Do n't need 3.13 jcl.


Any particular reason for not using SUPERCE?

Thanks,
Arun
Back to top
View user's profile Send private message
johnjohn055

New User


Joined: 15 Aug 2008
Posts: 5
Location: PUNE

PostPosted: Tue Aug 26, 2008 7:38 am
Reply with quote

Our requirent should not use Superc, We are doing testing before changes mean original program & After changes (Change program). In this process 2 file getting created BEFCHG & AFTCHG. So we need to do the compare of 2 file(BEFCHG & AFTCHG).

Both the file having same LRECL(80). In this files Timestamp aded on 50th column position. so we want to compare column position 1 to 49.

If you still want more details please let me know.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Tue Aug 26, 2008 10:11 am
Reply with quote

I believe using SUPERCE, you can very well compare columns from 1 to 49. Still I am not clear what's stopping you from using that.

Thanks,
Arun
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Tue Aug 26, 2008 10:57 am
Reply with quote

John,

Quote:
I need a Fileaid JCL or some other jcl which can comare 2 files & produces output file (contains the comare result).


Do you have FILEAID in your shop? If yes, you can use the FILEAID COMPARE option 10 to compare both the files. You can create a compare JCL using this option.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top