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: 2239
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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm


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