|
The MI gurus may have figured how to handle it more gracefully, but I have a
utility that retrieves the PDM defaults and puts them in a data area.
Updating the defaults is not possible through the interface I use to retrieve
them, which is basically:
DmpSysObj Obj( &User ) Context( QSYS ) Type( 0E ) SubType( C4 )
Since you seem to require updating the PDM defaults outside of PDM, you
probably wouldn't be interested, but I would be happy to share the source code
for formatting the DmpSysObj output into a data area. I.e.:
Data area . . . . . . . : $PDMDFTSDA
Library . . . . . . . : QTEMP
Type . . . . . . . . . : *CHAR
Length . . . . . . . . : 256
Text . . . . . . . . . : PDM Defaults for user BALED
Value
Offset *...+....1....+....2....+....3....+....4....+....5
0 '*SRCLIB YYN 1QBATCH *LIBL DJBL'
50 'IB QAUOOPT YYY '
100 ' '
150 ' '
200 ' '
250 ' '
Dan Bale
IT - AS/400
Handleman Company
248-362-4400 Ext. 4952
-------------------------- Original Message --------------------------
Anyone know any way of retrieving/changing the defaults from PDM (other than
pressing F18 on a PDM screen!!!)?
+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---
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.