Hi Jim,

That looks good too, although now I'm wondering about performance
considerations, QSH vs CPYFRMIMPF and either RUNQRY or CPYF.  On the other
hand if there's no way to override the printer file for QSH's pr command,
yours may be the simplest solution short of writing a program to do it.

Thanks.

Peter Dow
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax

----- Original Message -----
From: "Jim Franz" <franz400@triad.rr.com>
Sent: Monday, December 17, 2001 7:56 PM
Subject: Re: Printing from the IFS


> i've done this (in 3 steps) could easily turn this into a cmd with parms
for
> file name,etc
> CHKOBJ     OBJ(IFSDTA) OBJTYPE(*FILE)
> MONMSG     MSGID(CPF9801) EXEC(CRTPF FILE(IFSDTA) RCDLEN(198))
> CPYFRMIMPF FROMSTMF('/files/abc.txt') TOFILE(IFSDTA) MBROPT(*REPLACE)
> RUNQRY     QRY(*NONE) QRYFILE((IFSDTA)) OUTTYPE(*PRINTER) FORMSIZE(66 198)
> can set any spool overrides you want before runqry with ovrprtf.
> jim franz



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.