× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



When you use CRTSQLRPGI (or any embedded SQL precompiler), you are limited to choosing DBGVIEW(*SOURCE).

It has nothing to do with WDSC. You have the same limit at the command-line or PDM.

However, if you use a precompiler and pick *SOURCE, it actually runs CRTBNDRPG/CRTRPGMOD with DBGVIEW(*ALL). So all debug views (including *LIST) should be available in the debugger. Plus, precompiler itself adds it's own *SOURCE debug view to show what the program looked like before the precompiler ran.

The problem with *LIST in this instance is that you'll see the source as CRTRPGMOD/CRTBNDRPG saw it -- in order words, you'll see if after the precompiler was done, which is much harder to read than the original source. But the *LIST debug view is there, nonetheless. It's just not the default view.


Bryce Martin wrote:
CRTSQLRPGI OBJ(BMARTIN/ProgramA) SRCFILE(BMSRC/QRPGLESRC) SRCMBR(ProgramA) OBJTYPE(*MODULE) OPTION(*EVENTF) REPLACE(*YES) DBGVIEW(*SOURCE) TOSRCFILE(BMARTIN/QSQLTEMP1)

That is the compile command from WDSC7. They won't let my type *LIST or *ALL for the DBGVIEW. Sooooo... am I using the wrong compile command or is this a WDSC limitation?

Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx Sent by: rpg400-l-bounces@xxxxxxxxxxxx
10/02/2009 11:42 AM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>


To
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Re: %date not evaluating in DOW as "I" would expect






personally i always use *LIST using *SOURCE is like so last decade!!!!


Thanks,
Tommy Holden



From:
Jon Paris <jon.paris@xxxxxxxxxxxxxx>
To:
rpg400-l@xxxxxxxxxxxx
Date:
10/02/2009 10:09 AM
Subject:
Re: %date not evaluating in DOW as "I" would expect
Sent by:
rpg400-l-bounces@xxxxxxxxxxxx



One very good reason why I always compile with *ALL or *LIST! For the small additional storage overhead it is not worth sticking with just *SOURCE.


Jon Paris

www.Partner400.com
www.SystemiDeveloper.com



On 2-Oct-09, at 10:42 AM, rpg400-l-request@xxxxxxxxxxxx wrote:

However, I think Scott
might have gotten it right when he said that my source didn't match my
object. I don't know why it wouldn't have,



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.