|
Hi Vern, I wasn't aware of this API. Thanks. It may be that XML will be IBM's new standard for APIs going forward. I hear that some XML parsing will be directly supported in ILE RPG soon. Keith vhamberg@xxxxxxxxxxx wrote: > At V5R1 there is the QCDRCMDD API, which should have no problems with system > state, as it comes from IBM: > > ======================== > The Retrieve Command Definition (QCDRCMDD) API retrieves the command > definition source for a given command in XML tag language format. The source > is returned in the destination provided in UTF-8 (CCSID 1208). See the > Document Type Definition (DTD) in /QIBM/XML/DTD/QcdCLCmd.dtd for details of > the XML tag language returned by this API. > ======================== > > At V5R1 it did not return information about hidden parameters (defined with > CONSTANT). At V5R3 a second format for the return variable was added that > gives you everything. > > There is a style sheet at IT Jungle - you could search there - that is a > start at giving you the true command. It has a couple errors and is missing > several things, but it is a start. The DTD is located at > /QIBM/XML/DTD/QcdCLCmd.dtd. No need for MI anything here. > > This API returns current defaults (CHGCMDDFT results), not the originals as > set by IBM or a vendor. > > HTH > Vern >
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.