I have a RPGLE question concerning looping though field names instead of having multiple routines with each field name.
Exp. I have field names FIELD1, FIELD2, FIELD3, etc. I know in the past(I've been away from AS/400 for years) I would use a DOU loop something like this.
DOU I = 10
FIELD,I CHAIN FILE 99
How do I do that in RPGLE?