× 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 Tim,

that’s too bad. I don’t think, that there is anything “build in IBM i” available.

So you’re up to choose:

- install the RDi trial version (120 days)
- buy a ready made tool
- build something yourself

That’s it AFAIK

Regards,
Daniel


Am 19.06.2023 um 12:11 schrieb tim ken <timk2574@xxxxxxxxx>:

Thanks, but there is no RDi tool available to fetch these details.



Thanks.

On Mon, 19 Jun 2023 at 15:00, Daniel Gross <daniel@xxxxxxxx> wrote:

Hi Tim,

well - in RDi there is a tool called "Visualize Application Diagram" -
this gives you a graphical tree-like view of the called objects (programs
and service programs) - which would result in all possible call stacks.



HTH
Daniel

Von meinem iPad gesendet

Am 19.06.2023 um 10:03 schrieb tim ken <timk2574@xxxxxxxxx>:

Hi,

Thanks for all these inputs but what I am looking for is neither a live
or
past joblog. What I want is a complete call stack for all the involved
programs from the main program something siilar like which we get by
using
DSPPGMREF (but problem here is again the program and module objects which
are being referred from the main program , i need to again look inside
those programs and modules whether they are calling some other programs
or
modules so by doing this again and again manually is becoming too hard)

i tried this 'SELECT * FROM
TABLE(QSYS2.STACK_INFO('123456/JOBNAME/JOBUSER')) based on the job( by
mentioning its corresponding job details) which ended in the system few
days back but this command ended in error with message id 'CPF503E'. "An
error occurred while invoking the associated program or service program
.........in library QSYS with error code 1- "the external program or
service program returned SQLSTATE 42704. The text message returned from
the
program is : job (my job details) NOT FOUND".

I don't have any hawkeye or aldon tool available to analyze all these
impacted programs.

Though I can see this job's completion history in the ROBOT Job log but
from there also it's very difficult to read all the joblog and filter out
all the called programs and modules names from there.

From DSPJOB How to get such called programs and all the modules list
which
are invoked by this main driver program? it will just show again a joblog
which will be containg many pages to read and filter out all the programs
and modules names from it.



Thanks.








On Sun, 18 Jun 2023 at 00:22, Vern Hamberg via RPG400-L <
rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:

Hi Eric

I think the OP wants to know the live job call history - option 11 on
DSPJOB - this might also show IBM programs in the job.

The cross-reference tools are great for just what you describe - we use
Abstract, and I've been able to get very helpful call stream diagrams,
very useful for learning an entire process.

Cheers
Vern

On 6/17/2023 1:28 PM, Lehti, Eric wrote:
Why reinvent the wheel?
Cross-reference code tools have existed forever for IBMi: e.g. Hawkeye
PATHfinder (https://hawkinfo.com/features/ , and Aldon S-Compare
https://en.wikipedia.org/wiki/Aldon_Inc.
Thousands of hours of developer time were required in building those
utilities.

If you are referring to programs having source in multi-member source
physical files like QRPGSRC, QRPGLESRC, QCBLSRC, QCBLLESRC, you "could"
override to each source member iteratively e.g OVRDBF FILE(QRPGLESRC)
TOFILE(QGPL/QRPGLESRC) MBR(PROOF) and search that member with STRSQL,
and
DLTOVR after viewing each member.
But why invest time in building your own ad hoc tool?

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of tim
ken

Let's say program A is calling B and Bis calling C like wise there is a
chain up to let's say 100 programs.

So in a single SQL query can i get all these program names?

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


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

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


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