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



Indeed. But Rob's original question was how to find this out _without_ initiating a debug session in RDi or STRDBG. Any ideas?

Brian.

On 01/12/2018 22:34, Marvin Radding wrote:
Enter debug and press F15. It will show a list of the view available.

Thanks,

Marvin
No trees were killed in the sending of this message, but a large number of electrons were terribly inconvenienced, traumatized, triggered, and crying for their safe spaces.

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian Parkins
Sent: Saturday, December 01, 2018 1:43 PM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: Re: How to display which debug views are available.

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

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l
.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
Notice: This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. This message may also contain Protected Health Information (PHI) and must be treated confidentially and handled in accordance with HIPAA and other federal and state privacy laws. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are not the intended recipient or their designee, please notify the sender immediately and delete this e-mail (and any accompanying attachments).


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.