I have a query which i need to solve throgh ICE TOOL.
I have three flat files which has one field in common. But that field is repeated again in the file 1 & File2 but unique in file 3. In the below file 1 has 6 records but first 10 byte of the records are repeated 3 times. In the second file same first 10 byte is repeated 2 times and in the third file it is unique. So in the output file i will be having 12 records as one record in the input file 1 is repeated 2 times in the file2 so it will be written twice.
I want to solve this query through sort or ICETOOL. Please check the below example and provide me the JCL for this.
COM JET0000001NABCDE/XYZYESNO
COM JET0000001YABCDE/XYZYESNO
FAR JET0000001NABCDE/XYZYESNO
FAR JET0000001YABCDE/XYZYESNO
PREPR JET0000001NABCDE/XYZYESNO
PREPR JET0000001YABCDE/XYZYESNO
COM JET0000002NABCDE/XYZYESNO
COM JET0000002YABCDE/XYZYESNO
FAR JET0000002NABCDE/XYZYESNO
FAR JET0000002YABCDE/XYZYESNO
PREPR JET0000002NABCDE/XYZYESNO
PREPR JET0000002YABCDE/XYZYESNO
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Here's a DFSORT/ICETOOL job that will do what you asked for. You'll need the DFSORT Nov, 2009 PTF to use DFSORT's JOINKEYS function.
For more information on this PTF, see:
a forum is not a tool meant to fix poor organization issues
in many topics where the TS complained about the lack of syncsort manuals
Alissa Margulis was available to take actions in order to provide them!
search the forums and You will find the Alissa' s contact email address
like for example in ...
ibmmainframes.com/viewtopic.php?t=41086&highlight=alissa+manuals