SORT JCL to seperate Matched and unmatched records
Posted: Tue Jun 08, 2010 6:58 pm
I've two file with FB record formate
File A - Record length - 9
File B - Records Lenght - 300
I need to comparea a number from File A in position ( 1,9) to a number
in FIle B in position (2,9).
My Requirement
1) I want two output files OUT1 with matched records from File B
2) Output file OUT2 with unmatched records from File A.
In the output file OUT1 I want the whole record for the matched records to come inthe output.In the OUT2 just the numbers shouold be enough.
Request you to give me the SORT and ICETOOL JCL.
Kindly let me know for more information.
File A - Record length - 9
File B - Records Lenght - 300
I need to comparea a number from File A in position ( 1,9) to a number
in FIle B in position (2,9).
My Requirement
1) I want two output files OUT1 with matched records from File B
2) Output file OUT2 with unmatched records from File A.
In the output file OUT1 I want the whole record for the matched records to come inthe output.In the OUT2 just the numbers shouold be enough.
Request you to give me the SORT and ICETOOL JCL.
Kindly let me know for more information.