× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: CallP & CallB in SQLRPGLE ??
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Fri, 15 Jun 2001 16:20:26 -0700
  • Organization: Pacer International

Common question.  Common problem.  Different activation groups.
In one word as I understand it: OVRSCOPE(*JOB)

Here's a good response I found in the archives by Joep Beckeringh :
http://archive.midrange.com/rpg400-l/200012/msg00367.html

This really needs to be added to the FAQ but for technical reasons
I can't add to the FAQ right now.

Regards,

Jim Langston

Me transmitte sursum, Caledoni!

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