Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Need help to compare two datasets by using Key field

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
kvsk_2020

New User


Joined: 24 Feb 2006
Posts: 2

PostPosted: Fri Feb 24, 2006 3:44 pm    Post subject: Need help to compare two datasets by using Key field
Reply with quote

Hi Friends,

I want to compare two Datasets by using key field and need to check whether any matching fields are there or not

If you find a matching row then you need to write second dataset matched record into Output file

You have to do only through Jcl.
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Feb 24, 2006 4:57 pm    Post subject: Re: Need help to compare two datasets by using Key field
Reply with quote

Check out this SMART DFSORT Trick...

Regards,

Priyesh.
Back to top
View user's profile Send private message
kvsk_2020

New User


Joined: 24 Feb 2006
Posts: 2

PostPosted: Fri Feb 24, 2006 5:04 pm    Post subject: Re: Need help to compare two datasets by using Key field
Reply with quote

Hi Priyesh,

Thanks for reply to my query.......

That DFSORT Trick was working....

Is there any chance to get the requirement by using IDCAMS

or any general Utilities other than ICETOOL
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Fri Apr 21, 2006 4:28 pm    Post subject: Re: Need help to compare two datasets by using Key field
Reply with quote

but how to do this when LRECL for both the datasets are diffrent??
The key remains the same though!!!
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Apr 21, 2006 9:21 pm    Post subject:
Reply with quote

When the LRECLs are different, you just pad out the shorter file with blanks so it's the same length as the longer file. If you want more specific help, you need to give more details of what exactly you're trying to do with examples and information about the LRECLs.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us