Try:

cat /fbtest/BIL092423_(etc) | rfile -wbQ -c "ovrprtf qprint splfname(my_print)" qprint

(Of course, replace (etc). I got lazy.) (All of the above on one line.)
++
Dennis
++
"I'm a great believer in luck, and I find the harder I work the more I have of it."
-- Thomas Jefferson


Sent from my Galaxy tablet phone. Please excuse my brevity.
For any grammatic/spelling errors, there is no excuse.
++


fbocch2595@xxxxxxx wrote:


Hi Folks, I tried Rfile and all I'd like to do is copy a file in the
IFS file to a default printer file (similar to using cpyf of a PF to
qprint) but when I use this command;

Rfile -r /fbtest/BIL092423_20111202_01_02_TEST.idx I get this
msg;

Rfile: 001-2355 /fbtest/BIL092423_20111202_01_02_TEST.idx is not a
device file or database member.

I tried using CPY but couldn't get that to work either.






-----Original Message-----
From: fbocch2595 <fbocch2595@xxxxxxx>
To: midrange-l <midrange-l@xxxxxxxxxxxx>
Sent: Tue, Dec 27, 2011 4:10 pm
Subject: Re: How to print an IFS file from a batch pgm



i Scott, it's a .idx
It looks like a text file when I view it.


----Original Message-----
rom: Scott Klement <midrange-l@xxxxxxxxxxxxxxxx>
o: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
ent: Fri, Dec 23, 2011 1:27 pm
ubject: Re: How to print an IFS file from a batch pgm

ello,
Hi Folks, Merry Christmas/Happy Hanukkah/Happy Holidays!
Anything new in V6R1 to do that?
he ability to wish a merry christmas has been around since V2R1! :-)
eriously, though...
Shell's 'pr' utility doesn't print anything -- it just formats a text
le into pages with page numbers and headings. You probably want
hell's 'Rfile' command, which can direct the output to a printer. You
uld use that with 'pr' together to make a nice printout.
ll of that assumes that your data is a text file. Please do remember
at "IFS file" is very, very unspecific. IFS includes out physical,
gical, and save files... not to mention that it includes stream files
rmatted as sounds, images, videos, and oodles of different document
rmats (Word, Excel, PDF, HTML, XML... I'm just scratching the
surface.)
o it'd be helpful if you told us the specific type of file. Saying
mething like "How do I print a text file?" or "How do I print a PDF?"
at lets us give you much better answers without having to make
sumptions.
ood luck

is is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
post a message email: MIDRANGE-L@xxxxxxxxxxxx
subscribe, unsubscribe, or change list options,
sit: http://lists.midrange.com/mailman/listinfo/midrange-l
email: MIDRANGE-L-request@xxxxxxxxxxxx
fore posting, please take a moment to review the archives
http://archive.midrange.com/midrange-l.
--
his is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
o post a message email: MIDRANGE-L@xxxxxxxxxxxx
o subscribe, unsubscribe, or change list options,
isit: http://lists.midrange.com/mailman/listinfo/midrange-l
r email: MIDRANGE-L-request@xxxxxxxxxxxx
efore posting, please take a moment to review the archives
t http://archive.midrange.com/midrange-l.

--
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-Ups:
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.