>> “There is no DBGVIEW option on the CRTSQLRPGI command,”
Um, there is on mine. And the v5r4 Information Center lists it as one of the parms for that command.
The DBGVIEW() parameter has been around for quite a while. I can see it on V5R3, but don’t know how much earlier than that. I suspect all the way back to the initial release of the command. Perhaps you need to press <F10=Additional parameters> to see what all exists.
But the preprocessor would have generated the source into QTEMP for the compile. The source is obviously no longer there.
CRTSQLRPGI TOSRCFILE(mylib/myfile) COMPILEOPT(‘DBGVIEW(*SOURCE)’)
Have the preprocessor place the source into a file of your choosing. And consider placing various options directly in the source, so you don’t have to remember the next time you compile. E.g.:
C/Exec SQL Set Option CompileOpt(‘DBGVIEW(*SOURCE’)