RATE THIS ANSWER
0
Click to Vote:
0
0
>> "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.
Try:
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')
C/End-Exec
Tom
Last Answered:
Oct 11 2009 11:53 AM GMT by TomLiotta 
8025 pts.