• Subject: RE: Spool files to HTML?
  • From: Joel Fritz <JFritz@xxxxxxxxxxxxxxxx>
  • Date: Wed, 3 Nov 1999 10:01:02 -0800

Well, other than the usual copy to data base file stuff, it is pretty
simple.  News400 had an article about two years ago with code showing how to
do it in detail.  High level is:

Copy the spool file to a flat file.  By some means or other (whatever you
find convenient) add HTML tags to the flat file.  Copy the flat file to a
text file with a HTM extension.  Another approach is to copy to flat file
and use Net.Data to extract the stuff from the flat file.  Client Access
file transfer also offers you a transfer to HTML option that sometimes
works.  

Bear in mind that there could be some formatting involved depending on what
your cosmetic requirements are.  We are displaying a few reports using the
code from News400 and it works very simply for displaying an analogue of the
printed report.  We're doing it daily in batch.  If you want more exciting
fonts etc. there could be more work.

There are also utilities you can buy that do this sort of thing.  I'm pretty
sure at least one list member has one available.

> -----Original Message-----
> From: Allen, Stuart [mailto:sallen@fellowes.com]
> Sent: Wednesday, November 03, 1999 8:42 AM
> To: 'Midrange'
> Subject: Spool files to HTML?
> 
> 
> I'm sure i've read somewhere recently (whether Midrange or 
> not i'm not sure)
> that its quite easy to transfer an AS400 spool file to a web 
> document that
> can be published on our intranet.  I've searched the Midrange 
> archives but
> can't find anything.  Any one got any ideas / places to go for info?
> 
> Regards,
> Stuart
>                                      
> Stuart Allen
> European Systems Analyst
> Fellowes
> 
> Tel: +44 1302 892273
> Fax: +44 1302 890003
> mailto:sallen@fellowes.com
> 
> 
> +---
> | 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
> +---
> 
+---
| 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
+---

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].