Das Retrieve Command Definition (QCDRCMDD) API sollte eigentlich genau das ausgeben. In der Dokumentation dazu heißt es:

"If the default value for an optional command parameter has been changed using the Change Command Default (CHGCMDDFT) command, the returned command information will reflect the default currently in effect rather than the default specified when the command was created."

Ist leider nur etwas umständlich, weil als Ausgabe eine XML-Datei erzeugt wird, die man einlesen und parsen müßte.

Mit freundlichen Grüßen,
Christian Bartels.