Terry Nonamaker wrote:
<<SNIP>>

We put things like this into a library called qsyschg
... then when major things come along
... we just have to run the cl that it is in

/* Chg STRPRTWTR CMD ... do not prompt to change forms when forms change */

CHGCMDDFT CMD(QSYS/STRPRTWTR) NEWDFT('formtype(*all +
*nomsg)')

/* Chg STRPRTWTR CMD ... do not prompt to align after forms change */

CHGCMDDFT CMD(QSYS/STRPRTWTR) NEWDFT('align(*file)')


FWiW: User created libraries should not begin with the letter Q. Among potential issues that might arise, such a library would not be included-in\saved-by a SAVLIB *ALLUSR request.

FWiW, I would combine those two requests into just one. I may be about the only one in the world that would do so while including the comments inline:

/* Chg STRPRTWTR CMD defaults ... */
CHGCMDDFT CMD(QSYS/STRPRTWTR) NEWDFT(' +
/* do not prompt to change forms when forms change */+
formtype(*all *nomsg) +
/* do not prompt to align after forms change */+
align(*file) ')

Others might choose to, instead of making the comments inline to the request, do something like:

/* Chg STRPRTWTR CMD defaults ... */
/* FORMTYPE: no prompt on forms change */
/* ALIGN: no prompt on align after forms change */
CHGCMDDFT CMD(QSYS/STRPRTWTR) NEWDFT(' +
formtype(*all *nomsg) +
align(*file) ')

Regards, Chuck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.