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

Compare two VSAM files having different length


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

New User


Joined: 08 Sep 2008
Posts: 43
Location: india

PostPosted: Thu Oct 07, 2010 4:58 pm
Reply with quote

Hi everyone,

I need you guys help, I got some requirement like..

I need to compare a particular field from two VSAM files which are having different lengths.

File1 : record length 500... I have to take a field 5:8 (starting pos 5 and length 8) then compare with

file2: record length 48.... compare with field 10:8 (starting pos 10 and length 8).

Regards,
Umasankar
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Oct 07, 2010 5:31 pm
Reply with quote

So what do you want us to do that you can't

Did you search the forum for the few gazillion similar topics.

Give you a clue by asking ....................
Which sort product and release level is installed at your site.
Back to top
View user's profile Send private message
umasankarmf

New User


Joined: 08 Sep 2008
Posts: 43
Location: india

PostPosted: Thu Oct 07, 2010 6:37 pm
Reply with quote

I did not found any matching topic.

I have SYNCsort tool in my system.

Thanks,
Umasankar
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Thu Oct 07, 2010 6:54 pm
Reply with quote

http://ibmmainframes.com/viewtopic.php?t=41550&highlight=compare+vsam

http://ibmmainframes.com/viewtopic.php?t=15234&highlight=compare+vsam+files
Back to top
View user's profile Send private message
Arun Raj

Moderator


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

PostPosted: Fri Oct 08, 2010 8:20 pm
Reply with quote

Compare and do what?, you can find a lot of file matching topics here using Syncsort. If that does not match your requirement, please post the complete requirement along with sample input and output data.
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 Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top