As Chuck mentions, there is the QCDRCMDD - Retrieve Command Description
- API. This can give you either an XML file or a variable with XML of
the various "elements" in the source used to create the command.
And it does give the default as it is - not as delivered or not as the
source may specify.
Now if you are talking about IBM commands, you COULD use a roundabout
way to get to the default of the original - get the help text, which
always shows the original default as an underlined value.
I dug around, and there is an API - Retrieve Help Text (QUHRHLPT) API -
this puts out an XML with what the help looks like - it might give you
whether something is a default and would not be affected by CHGCMDDFT.
I also see there is a Java class (CommandHelpRetriever) that can be
called in QShell - it uses these 2 APIs, apparently - and it's from IBM.
HTH
Vern
On 2/24/2014 3:58 PM, fbocch2595@xxxxxxx wrote:
How is that done? Wouldn't dspcmddft be a good thing to have so you know what dft's have been changed...like wrksysval?
-----Original Message-----
From: rob <rob@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Mon, Feb 24, 2014 4:55 pm
Subject: Re: Printing cmddft's
It is possible to list all IBM commands that have had CHGCMDDFT ran on
them.
Rob Berendt
This mailing list archive is Copyright 1997-2026 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.