Simon

This sounds great. I looked, and user-modified is on for any user-created command. But APAR ID is blank, and "changed by program" is No. The latter may matter, albeit very unlikely, because APAR ID can be changed to anything using QLICOBJD API - that's the "changed by program" attribute, if I read the help text properly.

But I don't see any customer going to the trouble of using that API - still, I can use the 3 values. Ausgezeichnet!!! (Love that word)

Now for something simple for changed members of source files. I think I saw that last source change date is changed by restore/save operations, so that would be unreliable. I'll look again, otherwise I've another method.

Thanks much
Vern

Simon Coulter wrote:
On 20/12/2009, at 8:17 AM, Vern Hamberg wrote:

I'm using the QCDRCMDD - retrieve command definition - API to get what
all the parameters are set to, etc. It puts out XML representation into
either a variable or an IFS file. I am using it to compare commands that
customers may have modified using CHGCMDDFT. I don't really care about
the details, only that a change was made,

If you don't care about the details then retrieve the object description instead. CHGCMDDFT sets User Modified to YES and APAR ID to CHGDFT.

That will be so much easier than messing with XML output.

I have some recollection of seeing somewhere a flag that indicated CHGCMDDFT had been used on the command but can't recall it right now. I'll keep pondering ...

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.