|
Initially the DMPSYSOBJ OBJ(QWMSYSVAL) CONTEXT(QSYS) looks like a possible way of getting the list of system values. Until you get way further down into that resultant spool file. Then the formatting doesn't look quite so pretty. What starts out as (after a few lines of fluff): +....9....+.. *QDECFMT *QDATFMT *QDATSEP *QDATE *QYEAR *QMONTH *QDAY *QTIME *QHOUR *QMINUTE quickly degenerates into: +....9....+....0....+....1....+....2 *QLOGOUTPUT * *QALWJOBITP * * * *QSYS QSYS2 QHLPSYS QU* *SRSYS * * * * * * QTEMP * * QGPL * * * * QCTL QS* *YS UPS QUSRSYS *NON* *E /MDY ENUUS $0* *110200010000000000050000000002*D* *MPUSRJOB1 102EF8C*NONE * So counting on the format of this can be as ugly as parsing a spool file. Perhaps parse the WRKSYSVAL spool file to get the list of system values, then use the api, or RTVSYSVAL to stuff the values somewhere. Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
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.