Dave,
Eric on the RPG/400 list just answered this I will post his Message
below....






Well, remember that printer files can be overridden to a data file using
OVRDBF, so you could simply

CRTPF FILE(TEST/OVRREPORT) RCDLEN(200)
OVRDBF FILE(QPUOPRTF) TOFILE(TEST/OVRREPORT)
FNDSTRPDM STRING(TEST) FILE(GENSRC/QRPGLESRC) MBR(*ALL) OPTION(*NONE)
PRTMBRLIST(*YES)
DLTOVR FILE(QPUOPRTF)

If the FNDSTRPDM command normally produces two seperate spooled files, then
you will find both reports in the file.


hth,
Eric DeLong
Sally Beauty Company
MIS-Project Manager (BSG)
940-898-7863 or ext. 1863









J. Scott Carter
Programmer/Analyst
e-mail: Mailto:scarter@xxxxxxxxxxx
Phone: 214.583.0348

It's not the destination that counts in life it's the journey. The journey
with the people we love is all that really matters. Such a simple truth so
easily forgotten.


|---------+------------------------------->
|         |           "Dave Snyder"       |
|         |           <dsnyder@xxxxxxxxxx>|
|         |           Sent by:            |
|         |           midrange-l-bounces@x|
|         |           idrange.com         |
|         |                               |
|         |                               |
|         |           03/27/2003 08:44 AM |
|         |           Please respond to   |
|         |           Midrange Systems    |
|         |           Technical Discussion|
|         |                               |
|---------+------------------------------->
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                 |
  |       To:       midrange-l@xxxxxxxxxxxx                                     
                                 |
  |       cc:                                                                   
                                 |
  |       Subject:  Printer file override                                       
                                 |
  
>--------------------------------------------------------------------------------------------------------------|




Is there any way to override a printer file to a physical file?
Dave


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


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.