Remove your overrides after the program run.

Program A:

Ovrprtf outq(a)
Call rpgprogramA
Dltovr
Call program-b
Endpgm

Program B:

Ovrprtf outq(b)
Call rpgprogramB
Dltovr
Endpgm

HTH,
Loyd


Loyd Goodbar
Business Systems
BorgWarner Shared Services
662-473-5713
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Adam West
Sent: Thursday, September 11, 2008 2:17 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Problem with ovrprtf

 I have  CL program-A,
 pgm
program-A.
 
Overprtf outq(A)
Call rpgprogramA

 


Call program-B ( a CL PROGRAM)
 
Endpgm
 


This is program-B
pgm
Overprtf outq(B)
Call rpgprogramB
 endpgm
BUT the outq of the second CL goes to the first outq - outq A
 
I need them to split. I have played around with the Ovrscope parameter but then when I make that *job or *Calllvl, the both outputs go to Outq B.
 
WHat am I missing to have them split off?
 



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].