Should the embedded sql be updated to v5r4? That way the whole source could be freeformat. Also, it may work better to use subpages: <nowiki>SQLRPGLE/RPG4 example
SQLRPGLE/RPG freeformat example<nowiki>
Freeform embedded SQL available with V5R3
Embedded SQL can be written with RPGLE V5R3 with the following PTFs: SI25763, SI25532, SI23384 . Also available with Database Group PTF 16 or later.