am currently encounter a doudt in rpgle free format concept,
how to retrieve or read a data from database file using alternate array concept in rpgle (using free format)
for example if i have a db file with fields department code and description then read the description for
a particular code
IT Information technology
if any one knw the ans plz reply
I guess I'm not sure where the "array" is coming from in this. Maybe I just don't understand the question...
But, why not use SQL and select the values you need directly from the DB?
Select DepCde, DepDes
From (My File)
Where DepDes = (Target Value)
Thanks for you reply and suggestion @FaStOnE
@mercury TanQ ) i seen that ppt ,, i will use it