Protected: IBM i and JSON

This content is password protected. To view it please enter your password below:

Protected: Nikto

This content is password protected. To view it please enter your password below:

IBM i – CRTSQLRPG v7r1 – Missing source in STRDBG

Sometimes the defaults on the system prevent browsing source on SQL RPG programs in debug. To prevent this we can add following SQL code to the beginning of your RPG program

EXEC SQL SET OPTION
      NAMING = *SQL,                          
      CLOSQLCSR = *ENDMOD,                    
      COMMIT = *NONE,          
      DATFMT = *ISO,
      COMPILEOPT = 'DBGVIEW(*LIST)';

or add ‘DBGVIEW(*LIST)’ to compiler options COMPILEOPT on command CRTSQLRPGI.

No Comments IBM i