Hi,
Is it possible to call the utility SORT in a program Cobol? If it is possible, Is there some example?
Thank a lot.
can´t use the internal sort,
I suspect that if you can find a way to what you need "invoking DFSORT" you could also use the SORT statement. . .I can´t use the internal sort
This is more of a COBOL challange than a sorting challange. Keep in mind that you would not implement using/giving in your code, but rather iniput/output procedure. When input/output procedure are used any number of files can be read and "search fields" can be evalueated and only needed data would be RELEASEd to the sort. Similarly, when sorted records are RETURNed from the sort, you have complete control over the processing.I am trying use call DFSORT because I need extract records under conditions using search fields, moreover I won't know how many files will be processed.
Return to DFSORT/ICETOOL/ICEGENER