|
You could also change the User Data on the spooled file to be the name of the library with a printer file override. This way you can see the library name when using WRKOUTQ or WRKSPLF to view the list of spooled files. Example: OVRPRTF FILE(XXXX) USRDTA(XXXX) Regards, Steve ----- Original Message ----- From: "Jim Essinger" <> To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx> Sent: Wednesday, December 22, 2004 2:26 PM Subject: RE: QMQRYFORM and variables > Don, > > Thanks! I understand now. That will work great. It's been so long since I > used the print text function of the printer file, that I had forgotten it > even existed. > > You have been a big help. > > Jim > > At 01:01 PM 12/22/2004, you wrote: > > To get around that problem, you can substring the variables (up to 30 > characters) in something like this: > Dcl VAR(&PrtText) TYPE(*CHAR) LEN(30) > Chgvar &PrtText 'Lib: ' || &Lib || ' Gen_ID: ' || &Gen_ID) > OVRPRTF PRTTEXT(&PrtText) > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > >
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.