abdul raheem mohammad wrote:
within the AT...... ENDAT the fields are filled with '*'. therefore before this AT....ENDAT I am assigning values to work area wa1.
AT END ... is used here to get the last record only.
And that's the problem. Since the dawn of time, programmers have written code to do a specific task. We need to develop code that is more easily reusable.
After all, the dirty little secret of programmers is that a large portion of what we do is <CTL>C <CTL>V.
Rob