jgcarter56
Programmer
I need to move SORT statements from the main procedure of my code into one or more separate subroutines. I also need to remove the use of RETURN and RELEASE statements from the main procedure as well. How do I go about doing this? Should I create temporary files that contain the data that would have been RELEASED to the sort work file? Can I pass an SD in the linkage section? Can I write to an SD just as I would to an FD? If so, I wouldn't need a USING clause, would I? Even better, would it be possible to create a generic SORT subroutine that I could use to replace all of my specific SORT statements?
The SORT statements I'm currently working with are of the variety of SORT ... INPUT / OUTPUT PROCEDURE ...
Thanx for any help that anyone can provide.
The SORT statements I'm currently working with are of the variety of SORT ... INPUT / OUTPUT PROCEDURE ...
Thanx for any help that anyone can provide.