|
Not sure if I understand the question....
OVRPRTF QPQUPRFIL SPLFNAME(&query-name)
RUNQRY QRY(&query-name) ......
will substitute the query name for the usual spooled file name of QPQUPRFIL.
Glenn
At 10:51 AM 6/5/97 -0600, you wrote:
> want to do an ovrprtf so that the printer file generated by RUNQRY
>coresponds to the query name.
>
>Doing the override and calling the RUNQRY command is not the problem...
>but the various RUNQRY commands that I want to replace tend to use all
>the parameters available.
>
>Here's an example...
>
>RUNQRY QRY(&QRYLIB/COST.C) QRYFILE((*SAME) (*SAME) +
> (*SAME) (*SAME) (QTEMP/MEPRM))
>
>david
_/_/_/_/ _/ _/_/_/_/ _/_/ _/ _/_/ _/
_/ _/ _/ _/ _/ _/ _/ _/ _/
_/ _/_/ _/ _/_/_/ _/ _/ _/ _/ _/ _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/_/_/_/ _/_/_/_/ _/_/_/_/ _/ _/_/ _/ _/_/
Glenn Gundermann
ggundermann@ibm.net
work tel: (416) 967-8222
cel: (416) 409-4551
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List! To submit a new message, *
* send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from *
* this list send email to MAJORDOMO@midrange.com and specify *
* 'unsubscribe MIDRANGE-L' in the body of your message. 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-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.