|
Terry, It strikes me that if you let the RPG program open the printer file then it will be closed if the program ends with *LR on, regardless of whether it is shared or not. Perhaps if you opened the printer file explicitly within the calculations of your first program and then don't close it, (or) don't end the first program, just exit it without turning on *LR. I'm guessing but it makes sense to me. Regards, Andy Nolen-Parkhouse > Thank you for your help. > > What is described for share(*yes) is exactly what I want to do. > But possibly there is more to it than 1st glance. > > It will not seem to work for me. > > OVRPRTF FILE(QSYSPRT) DEV(PRT05) PAGESIZE(*N &PGE) + > CPI(&CPI) SHARE(*YES) > > .... &pge and &cpi are defined elsewhere in the cl. > ...... these are used to manipulate the output for pdf or ascii printer. > > There are two programs run sequentially in line in the same cl. > The printer statements are exactly the same. > > I get two full reports instead of being combined. > > Any thoughts? > > Terry Nonamaker
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.