I have a requirement and I have to do this in different steps, is there any way that we can do this in a single SORT STEP.
Requirement:
1) 11 input files and all are different LRECL.
2) My sort key for all 11 diffferent file are @ different positions.
3) Currently 11 output files are created since I have done it in different steps.
4) Can I merge all the 11 different files, into a single VB file, so that I can avoid space issue. Since I will huge data in my input file.
Below are the file input specifications.
Code: Select all
File Name Record Format LRECL Key Field
Inp File1 - FB 100 From 10 - 12
Inp File2 - FB 200 From 110 - 112
Inp File3 - FB 300 From 16 - 18
Inp File4 - FB 400 From 67 - 69
Inp File5 - FB 500 From 34 - 36
Inp File6 - FB 600 From 99 - 101
Inp File7 - FB 700 From 58 - 60
Inp File8 - FB 100 From 87 - 89
Inp File9 - FB 600 From 21 - 23
Inp File10 - FB 300 From 11 - 13
Inp File11 - FB 400 From 44 - 46
Any help would be great.
Many thanks in advance.
Regards,
HK