× 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.



Every program I write automatically has option(*srcstmt:*nodebugio) in it.

Joe

Try adding the following H spec in your source
H Option(*SrcStmt)

The complie listing will then refer to the actual source sequence number
instead of a statement number generated by the compiler.

On Fri, Dec 16, 2011 at 10:08 AM, Paul Bailey<PaulBailey@xxxxxxxxxx> wrote:

I am programming in RPGLE using RDP 8.0.3. I compile my program, and then
test it, but it throws an error and the joblog tells me which source line
this is on.

How do I locate that source line within Rational?

In SEU I would press F15, select option 2 and press enter. Then I would
"find" the source line number in the spooled file.

There are two LPEX actions to find line numbers in RDP: locateLine
(CTRL-L) and locateSequenceLine. Neither find the line that the joblog
mentions.

Surely there is a way to easily view the spooled file just created by a
compile in RDP? The spooled file "feature" of RDP seems to do nothing, and
it takes more than just three keypresses to locate the spooled file anyway,
so I'm not entirely happy with that route. (I know Softlanding's plugin for
RDP has some useful spooledfile features, but it is still not as quick as
F15, 2, ENTER to load the compiler listing.)


Cheers,
Paul.



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.