Hello guys

Need help with the following issue:

Some years ago I created a pre/post-processing method to execute CMDs/PGMs
embedded in an RPG source before or after compilation
(like setting the library list, running OPNQRYs, OVRDBF etc.)

This pre-processing is invoked by an exit point attached to CRTBNDRPG /
CRTRPGMOD CMDs (thanks to Bruce Vining for his advice)
like this:
ADDEXITPGM EXITPNT(QIBM_QCA_CHG_COMMAND) FORMAT(CHGC0100) PGMNBR(1)
PGM(ACUMGPL/RPGEXITPGM)
PGMDTA(*JOB 20 ‘CRTBNDRPG QSYS’)

I now try to do the same for SQLRPGLE programs but the following

ADDEXITPGM EXITPNT(QIBM_QCA_CHG_COMMAND) FORMAT(CHGC0100) PGMNBR(3)
PGM(ACUMGPL/RPGEXITPGM) PGMDTA(*JOB 20 'CRTSQLRPGI QSYS')

fails with CPF0197 Value QSYS/CRTSQLRPGI is not a valid name.

oddly, this ADDEXITPGM does accept CRTSQLRPG (Create SQL RPG Program)

I shamefully failed to find a solution using Google,

Does anyone have a clue?

Thanks
Gad

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-2019 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].