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



I think Paul is suggesting the use of the DSPPGM command. Press ENTER until the *MODULE detail panel is displayed, then type option 5). against the Module(s).

However, this shows only,
Debug data . . . . . . . . . . . . . . . . . . :   *YES

- and doesn't answer Rob's question. How to tell WHICH debug views, (*LISTING, SOURCE, etc.) are available. DSPPGM does not provide this information, as Rob has already discovered.

I've no idea how you would find this out without initiating a debug session in RDi or STRDBG. The System APIs don't appear to help either.

Brian.

On 01/12/2018 21:04, Steinmetz, Paul wrote:
DSPPGM
Then
5=Display description

Paul

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Robert Rogerson
Sent: Saturday, December 01, 2018 3:48 PM
To: RPG programming on the IBM i / System i
Subject: How to display which debug views are available.

Hi all,

Can I tell from an object which is already created which debug views are
available?

I understand that when creating an object you may specify which debug
views (*LISTING, *SOURCE, *COPY) you wish to make available.  But if the
object (in my case a program) has already been created how do I tell
which views are available.  I've tried dsppgm but I don't see any view
information.  The only way I've found is through starting debug on the
program and pressing F15=Select view .

Thanks,

Rob



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.