Joined: 03 Oct 2009 Posts: 1786 Location: Bloomington, IL
Please tell the precise problem that you are having. Show code and data enclosed in Code tags to align them, a relevant portion of the trace, and the error message(s) including the message number(s).
Or read up on EXECIO. You can do that in 3 statements including dataset (not file) allocation and free. Note that Rexx does not have arrays but stem variables.
I feel I just wasted my time posting my response the way I did. I could easily have done what you did but then it would just be cut and pasted and nothing learned.
If TS is keen then he will still go and read up on EXECIO and probably should as there is a very nice subtlety with EXECIO which makes reading the stem afterwards a doddle.