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



Hi Mark,

The signing on and off did not work. But I see that I am indeed a sinner,
so I shall try tomorrow morning by not forcing the service program to
activate in the DAG.
I still don't understand why I don't see the source of the main module of
the RPG programme but I do have memories of strange things happening whilst
mixing OPM and ILE.


-
* Subject*: Re: No debug view visible
- *From*: Mark Waterbury <mark.s.waterbury@xxxxxxxxxxxxx>
- *Date*: Tue, 14 Nov 2023 16:28:07 +0000 (UTC)

------------------------------
Dave,

You created an ILE bound program with ACTGRP(*CALLER), without using
DFTACTGRP(*YES) (only available on CRTBNDRPG or CRTBNDCL), so most likely
you now have an older copy of the *PGM that is "activated" in the
*DFTACTGRP, so that when you tried to debug it, you are debugging the "old"
(activated) copy. :-/

You can work around this problem by issuing:

RRTJOB RTGDTA(QCMDI)

to start a new "job step" thus clearing out any activation groups, without
disturbing your *LIBL, etc.

(or just sign off and sign-on again).

Then try your STRDBG again.

I suggest reading Jon Paris' and Susan Gantner's article on "The Seven
Deadly Sins of ILE" ... see:

https://authory.com/JonParisAndSusanGantner/The-Seven-Deadly-Sins-of-ILE

See also:
https://www.ibm.com/support/pages/job-fails-mch3402-deadly-sin-ile

(Even IBM now recommends Jon and Susan's article!) :-)

HTH,

Mark S. Waterbury

On Tue, 14 Nov 2023 at 16:24, Dave <dfx1@xxxxxxxxxxxxxx> wrote:

I tried that but the result is the same. I also saw I could specify the
SRVPGM on the STRDBG command and there is no source available for that
either.
I checked with DSPPGM and DSPSRVPGM and each case there is one module
which indicates DBGDTA *YES



- *Subject*: Re: No debug view visible
- *From*: Rob Berendt <robertowenberendt@xxxxxxxxx>
- *Date*: Tue, 14 Nov 2023 09:29:49 -0500

------------------------------
Just a WAG, but did you try STRDBG PGM(*NONE) and, from the help, "...or
the Display Module Source (DSPMODSRC) command"?
Especially since you are doing a CRTPGM from a module and a service
program?

On Tue, 14 Nov 2023 at 15:21, Dave <dfx1@xxxxxxxxxxxxxx> wrote:

Hello,



I only have STRDBG available but get the message « source not available »

Creating my first real RPGILE pgm for more than 10 years and there is no
infrastructure in place to help me with compiling.


V7R3



CRTRPGMOD MODULE(MyMod) SRCFILE(QRPGLESRC) DBGVIEW(*ALL)

CRTPGM PGM(MyPGM) MODULE(MyLib/MyMod) BNDSRVPGM((MySrvPgm))
ACGRP(*CALLER)



What’s occurring ?




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.