View previous topic :: View next topic
|
Author |
Message |
ik5157
New User
Joined: 13 May 2005 Posts: 1
|
|
|
|
I would like to read data from 1 dataset and put them into two different sort work for two different purposes at the same time. Different calculations have to be done before releasing them into the sort work after reading the record from the dataset. The number of record is variable. I don't want to predefine a fixed number of internal variable which add limitation to the program.
How can I do this?? Thanks for advise. |
|
Back to top |
|
|
ankyhunk
Moderator
Joined: 05 May 2005 Posts: 98 Location: Navi Mumbai, India
|
|
|
|
Simply read the file into an i/p record. You can copy this into another working storage variable for the 2nd file. Then do the processing & write them into the 2 files. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
I'm not getting your point. Why don't you show us in pseudo code what you're trying to do. |
|
Back to top |
|
|
|