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



If you have in the H spec Option(*Srcstmt) then the statement number in the dump print will be the source statement line number.
Good Luck
Bill
(All in favour of saving gas, raise your right foot!)




________________________________
From: Nick Arndt <nick.arndt@xxxxxxxxx>
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Sent: Tue, February 23, 2010 11:01:17 AM
Subject: Get statement number in an RPG IV program

Hi all,
I have a situation where I need the line number of where a DUMP opcode is
executed.  I thought I would use the PSDS to do this but that will only give
a line number when an error occurs.  Is there another way to get the line
number into a field that I can view in the created dump?

Thanks.
Nick

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.