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 Tuesday, November 14, 2023 at 09:22:08 AM EST, 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 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.