I do not have SQL package on AS400. I am using RPGLE program with 'QC2LE' as Bnddir. What i am upto is that in my CL program i am executing DSPFFD command over PRTF and now i want to have values provided by DSPFFD file (using C Dir). The 'C' provides field names as 'WHFLDE', 'WHFLDT' etc. So i have the field name now i want to retrive the value of 'WHFLDE' in my RPG Code. Will OPNQRYF help me? and How. Or i have to look for something else.