× 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.



Since I completely overlooked the "page break" concept, I'll have to do the read/write method. Now to get the vendor to include some control codes in the file. Joy.

Sean Porterfield


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Porterfield, Sean
Sent: Tuesday, June 10, 2008 12:03
To: Midrange Systems Technical Discussion
Subject: RE: Copy stmf to splf?

Interesting idea! Since this is a batch process, using qsh and cat already generates a spooled file (since there is no terminal on which to display it.) Now I just have to figure out where to balance on "easy" vs "better" in the process. Thanks.
--
Sean Porterfield


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Tuesday, June 10, 2008 11:51
To: Midrange Systems Technical Discussion
Subject: Re: Copy stmf to splf?

qsh
cat /mydir/myfile.txt
but piping it is another matter

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Porterfield, Sean" <SPorterfield@xxxxxxxxxxxxxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
06/10/2008 11:31 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> cc

Subject
Copy stmf to splf?


I've gone the other way around, but is it possible to copy a stream file to a spooled file? I tried just using CPY to do it (as CPYF to QPRINT works for db files) but that just killed my printer file. No luck on CPYFRMSTMF or CPYFRMIMPF (not that I really expected them to work, but I had to try.)

My thought at this moment is to open the stmf in an rpg program then just write records to QPRINT or other printer file.

Sean Porterfield

This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.

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.