|
First thing I would do is check to see if on both of the compile options, you're specifying the same activation group option. Gary Guthrie NEWS/400 Technical Editor Mike Naughton wrote: > > Hi Everyone, > > This one has me stumped. I know what is happening, but I don't know why > (or how to fix it). > > PgmA is SQLRPGLE; it calls PgmB (CLLE), and it also uses CallP for > QCMDEXC to do a printer file override, like so: > > <begin pseudo code> > > do SQL stuff > > Call PgmB > > Eval Statement = "OVRPRTF QSYSPRT OUTQ(MYOUTQ)" > CallP QCMDEXC procedure > > Call PgmC [separate program that produces a report -- I want it sent to > MYOUTQ] > > Eval Statement = "DLTOVR *ALL" > CallP QCMDEXC procedure > > . . .etc. . . > > <end pseudo code> > > The above example works fine. However, if I change "Call PgmB" to "CallB > PgmB", the OVRPRTF is ignored (never executed?). That is the only > difference in the code, but I do compile it differently -- in the above > case, there are no other CallBs, so I simply compile the source directly > into a program; with the CallB, I compile it into a module first and then > use CRTPGM to put it together. > > Any ideas? +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.