View previous topic :: View next topic
|
Author |
Message |
vikash58
New User
Joined: 03 Apr 2007 Posts: 7 Location: pune
|
|
|
|
Hi,
I have two file of same record structure.
FileA
AAAA 1234 XXXXXX
AAAB 1235 XXXXXX
AAAC 1236 XXXXXX
AAAD 1237 XXXXXX
FileB
AAAA 1234 XXXXXX
AAAB 1235 XXXXXX
AAAD 1237 XXXXXX
AAAE 1238 XXXXXX
I want a FileC which contains record from FileA which are not in present in FileB.
Like My FileC should be
AAAC 1236 XXXXXX
How can I do it from JCL sort step?
Thanks
Vikash |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
This has been discussed so many times on this forum that I suggest that you use the search button at the top of the page.
Also, the solution may vary depending on which sort product is installed at your site. Please also specify the product in your question.
Usual questions, RECFM=, LRECL=, Start and end positions of comparison keys. |
|
Back to top |
|
|
vikash58
New User
Joined: 03 Apr 2007 Posts: 7 Location: pune
|
|
|
|
but is there any other method except the using CTL
because i want it because I want the control cards in other member of a PDS.
and RECFM=FB , LRECL= 100 is description for all files |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
there is nothing stopping you putting the control cards in a member of a PDS.
Gerry |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Quote: |
but is there any other method except the using CTL |
What did you mean by this?
Also please try to answer the questions asked here if you want to get help from the forum.
expat wrote: |
Also, the solution may vary depending on which sort product is installed at your site. Please also specify the product in your question.
Usual questions, RECFM=, LRECL=, Start and end positions of comparison keys. |
|
|
Back to top |
|
|
|