View previous topic :: View next topic
|
Author |
Message |
kvsk_2020
New User
Joined: 24 Feb 2006 Posts: 2
|
|
|
|
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 |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
Back to top |
|
|
kvsk_2020
New User
Joined: 24 Feb 2006 Posts: 2
|
|
|
|
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 |
|
|
ap_mainframes
Active User
Joined: 29 Dec 2005 Posts: 181 Location: Canada
|
|
|
|
but how to do this when LRECL for both the datasets are diffrent??
The key remains the same though!!! |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
|