Hi every one,
I have two input files I need to merge them using SYNCSORT, however I do need to files that is SORTIN01 DD and SORTIN02 DD, The fields that I need to merge the two file are in different position and also XSUM is needed.
I appreciate your help
Thanks
Just 2 data files we need to sort and merge them in one file, based on a number which in the first file is in position 5, length of 5 and the second the number is in position 25 length 5
Thank you krishy
You haven't provided enough info.I just coded the below SORT step that I understood from your reply.
Here the code.Please check and let me know if you need any modification.
Here I am sorting the first file from 2 position to 5 (of length 3) and
second file from position 6 to 8 (of length 3).You can change the code as per your requirement.