dcl-s sql_RCONAME char(20) ; exec sql select RCOCD into :sql_RCONAME from RPFCOMP ; where RCOCD = 'R' dsply sql_RCOCD ; *INLR = *on ; RPFCOMP is the PF, RCOCD and RCONAME are fields in PFI compiled with option '14' in PDM as well as with command 'CRTSQLRPGI OBJ(RRDSAASQL) SRCFILE(QRDSSRC) COMMIT(*NONE)'. Error in SQL pre-compiler is same in both the cases, i.e, 'SQL0053 10 No SQL statements found.' I don't know where the mistake is. Could someone point out the mistake in the code for a full free format RPG. Thanks!