It sound a bit scary if the compiler is change to possibly execute any command 
in a RPG source.  I would think twice when trying to compile a third party 
software or something that I downloaded from the web.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Scott Klement
Sent: Wednesday, October 13, 2004 11:42 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Suggestion: File to use when compile




Maybe you should take it one step further and make it something that can
execute *ANY* CL command.

/PRECMD: OVRDBF FILE(CUSTMAS) TOFILE(FOO)
/PRECMD: SNDMSG MSG('SOMEONE RECOMPILED THE TAX CALC PGM!') TOUSR(SCOTT)

/POSTCMD: DLTOVR FILE(CUSTMAS)

Seems like it should be relatively simple for the RPG people to have the
compiler call QCMDEXC (or system() or QCAPCMD, whatever) before compiling
the program -- and this would give you a lot of flexibility.

---
Scott Klement  http://www.scottklement.com




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.