Keith, thanks for the info.  I have been watching this thread and am
recently experiencing the same issue as Rob.  I modified RTVCMDC on our
system to always do a DMPOBJ and depending whether it is *DUMPOBJ whether a
user space is dynamically created or not.  It then goes on and skips the MI
program RTVCMDM that would have done about the same thing of getting the
source into the user space.  By skipping RTVCMDM and using the DMPOBJ
method instead, it allows RTVCMDSRC to work on commands that call system
state programs.  For example, DSPOBJD, SAVLIB, etc.  It works great.  I
made sure I did not change any of your source statements, I only added
statements.  If you want this RTVCMDC, I am willing to email it to you.  I
recommend making this change if you want to ensure RTVCMDSRC works on
commands like DSPOBJD in the future.

Craig

** Keith wrote:
Rob,

Another great tool.

RTVCMDSRC does not require system state or program patching as did
UNDEL.  You still need a MI compiler which I think has been posted in
MI400 a few times.  IBM also documents a simple one in API manuals.

If you mean a non MI program version, it should be doable in RPG.  The
MI program direct accesses the command definition space obj, but you can
avoid some security issues (domain violations) by going the DMPOBJ route
instead. The code to do the DMPOBJ is already in RTVCMDSRC.


Keith


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.