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



Have you tried to add DBGVIEW(*ALL) to the COMPILEOPT in the CRTSQLRGI
Command?

Mit freundlichen Grüßen / Best regards

Birgitta Hauser
Modernization ? Education ? Consulting on IBM i
Database and Software Architect
IBM Champion since 2020

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
"Train people well enough so they can leave, treat them well enough so they
don't want to. " (Richard Branson)
"Learning is experience ? everything else is only information!" (Albert
Einstein)

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Daniel
Gross
Sent: Thursday, 25 April 2024 08:52
To: i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: DBGVIEW(*ALL/*SOURCE) and STRDGB

Hi,

we have a strange problem. Since some weeks, we use a new change management
system called CMOne - but I think it might be the same without it.

We develop on one machine (partition) and have production on another. The
source code and program objects are held in differently named libraries on
both machines due to historic reasons.

We compile RPGLE programs with DBGVIEW(*ALL) and SQLRPGLE programs with
DBGVIEW(*SOURCE) (as there is no *ALL on the CRTSQLRPGI command).

Now after testing the source code and the objects are moved to the
production machine - to do that, they are moved to temporary libraries,
those are sent with SAVRSTLIB and then the objects and source file are moved
to the production libs. The temporary libs are then deleted.

Now the problem is, that when our supporters (als old fashioned developers)
use STRDBG on those objects, there is a CPF9C27 ("File QRPGLESRC not
available") message on the bottom, and only the *LISTING view is available -
all other views are showing an empty screen.

Also RDi shows a message and we have to add the source file to the source
code search list - otherwise it also only shows *LISTING view. This is
inconvenient but OK - but STRDBG has (AFAIK) no "search list" for the source
code - so I can't tell it where it can find the source.

But in the end, I thought, that for the DBGVIEW(*SOURCE) the source code of
the RPGLE/SQLRPGLE program is compiled INTO to module and therefore should
always be available. Am I wrong?

Can anyone tell me, what we can do, to solve that problem? Or what we are
doing wrong?

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

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



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.