|
willI was shocked to see that, at V5R3 there is no Retrieve
Program References API that I can find. I do know about
DSPPGMREF to an output file, and all that, but this surprises
me.
Dennis, I didn't know about this API. What advantages are there in
using it over DSPPGMREF?
I've grown accustomed to the List ... APIs, I guess. This case shows an
API
advantage, I think. Remember I want to find all the things impacted by
altering this program. Since a program can reference other programs I
need DSPPGMREF output from those programs as well. So here's a vision:I'll
Display Program References to an output file. Now in RPG open that output
file, begin reading. Ack, my first record refers to PROGRAMB, so I need
its
references. I (probably) cannot DSPPGMREF to the file I've opened, so
need to go to an alternate. OK, can handle that. But when I'm processingcetera.
the alternate file, I see that there's a reference to PROGRAMC. Et
list
With recursion and APIs, this would all be SOP. But it gets complex with
DSPPGMREF.
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
REALITY.SYS corrupted. Reboot universe <Y/N>?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 9.0.733 / Virusdatabase: 271.1.1/2769 - datum van uitgifte:
03/25/10 08:33:00
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.