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


  • Subject: Re: Spool file to physical file in a ile program
  • From: ywexler@xxxxxxx
  • Date: Tue, 02 Jun 1998 10:05:09 +0300

Bruce Odum wrote:
> 
> What is the best way to take a spool file that is built in a ile rpg program
> and when it is finished copy it to a standard PF.  I am starting to get into
> modifying our old programs and converting them to ile and making the output
> web enabled.  I need to send a the print file that the program generates out
> to the web server on user request.  The user will enter a customer number
> and I will build the spool file then copy it to a PF and read the file and
> write it out using the web api's and place html around it.  This would be
> much faster than rewriting the program.  I looked at the printer file
> infields but their does not seem to be the correct information to do a
> cpysplf.  Is their another way to do this.
> 
> +---
Probably you have diferent CPI's in your spool file or special chrs.
You can try to use the spool handling API's, but may be you can
transform the printer file you use into a display file, which is not to
complicate, and add the HTML keyword to the DDS of the resulting DSPF,
then change your programs only to write to the new DSPF.

J. Wechsler
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.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.