My DDS screen has 60 fields in which an end user can enter in a batch number. The field names are batch1, batch2, batch3, through batch60.
D array S 4A Dim(60)
When running the RPGLE (could be /free), how do I go through the 60 batch fields and load them into an array
using a do/for loop?
I do not want to have to write 60 lines of code :
array(1) = batch1;
array(2) = batch2;
etc etc etc......
Regards,
The Oche
D array S 4A Dim(60)
When running the RPGLE (could be /free), how do I go through the 60 batch fields and load them into an array
using a do/for loop?
I do not want to have to write 60 lines of code :
array(1) = batch1;
array(2) = batch2;
etc etc etc......
Regards,
The Oche