Hi all SQL::Statement did not do it for me, so I switched to DBIx::myParsePP. This works quite well as far as MySQL syntax is concerned. There appears to be an issue with FETCH statement. When I try to parse any perfectly correct FETCH statement: FETCH POSTRN INTO XXX_HOST_VAR1 ,XXX_HOST_VAR2 and then do