Joined: 18 Jul 2007 Posts: 2150 Location: At my coffee table
I want to append line number 3 with 1 and 2 and line number 6 with 4 and 5.
Read into fielda, read into fieldb, read into fieldc, move fieldc to the end of fielda, write fielda, move fieldc to the end of fieldb, write fieldb, repeat once.
I have to only use OSRT or easutreiveor COBOL, NO ICETOOL or any other utility is preferred
I'll assume by OSRT you meant SORT and by easutreiveor you meant CA-Easytrieve. And COBOL is allowed?
Now for the stupid part, ICETOOL is a slightly different part of DFSort and is included with DFSORT and has access to a great many of the DFSort functionality. The same goes for Syncsort and its Synctool, which may actually be the sort you are currently using depending on the existence of aliases or not....