Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Compare two VSAM files having different length

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Compare two VSAM files having different length
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: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 07, 2010 5:31 pm    Post subject:
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    Post subject:
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: 456
Location: Belgium

PostPosted: Thu Oct 07, 2010 6:54 pm    Post subject:
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: 2284
Location: @my desk

PostPosted: Fri Oct 08, 2010 8:20 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts compare 2 rows within the same file ram_vizag SYNCSORT 7 Wed Jun 14, 2017 12:34 am
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us