|
>Is using ChgCmdDft TgtRls(v4r5m0) for all of our compile >commands the best way to "remind" us? Hi, Dan! The alternative is to CRTDUPOBJ and then CHGCMDDFT. Put the customised versions in a library above QSYS in your library list. Do yourself a favour and put the commands in a CL program that you can run during an upgrade or disaster recovery scenario. Another alternative is to use a preprocessor so that you can embed the TGTRLS into your RPG source or site-specific configuration file. The idea behind this is to use a custom routing entry to invoke your preprocessor instead of QCMD. Have the preprocessor read the RPG specs and site-specific settings table and essentially override the CRTxxx command, which gets submitted using the "normal" routing data. Henrik Krebs posted an example of doing this a long time ago. --buck
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.