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 

compare files

 
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
kishore_gk
Beginner


Joined: 23 Jul 2003
Posts: 12
Topics: 8

PostPosted: Mon Sep 29, 2003 4:01 am    Post subject: compare files Reply with quote

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


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

PostPosted: Mon Sep 29, 2003 5:14 am    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Sep 29, 2003 5:29 am    Post subject: Reply with quote

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