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