×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Hi Folks, I couldn't get the cat to run but got sed working and I'm not sure it'll work every time but I'd like to know I can make sed default to print the entire file since this is what I'm using now;
sed -n '1,99999p' /TEST/list1.txt | rfile -wQ qsys/qsysprt
Thanks, Frank
-----Original Message-----
From: bdietz400 <bdietz400@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Wed, Jan 4, 2012 3:30 pm
Subject: Re: Re: How to print an IFS file from a batch pgm
Based on the Info center, and some testing, you may have to not use the "b"
ption of rfile
-b
rocess binary data. This option prevents normal processing for newline
haracters in the input or output stream. When -b is omitted, newline
haracters are removed from standard input lines written to a record file,
nd newline characters are inserted at the end of records written to
tandard output.
http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzahz%2Frzahzrfile.htm
n , Dennis <iseries@xxxxxxxxxxxx> wrote:
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
-
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.
As an Amazon Associate we earn from qualifying purchases.