• Subject: RE: Calling Report and Viewing Output from a PC
  • From: Joel Fritz <JFritz@xxxxxxxxxxxxxxxx>
  • Date: Wed, 26 Apr 2000 15:44:56 -0700

Kinda depends on what you have available and how fast you need this.

Are these interactive, on demand reports, or output from a batch process?
Sounds like the former.

The easiest might be copying the spooled file to a data base file and
copying that to a text file in the IFS with cpytoimpf or cpytopcdoc.  This
means the end users have to have access to the IFS.  They could view the
reports in notepad or the editor of your choice.  This is the quickest and
dirtiest.  You could do it in a batch file.  Execute the remote commands on
the 400 and then invoke the editor on the PC.

There's the intranet solution, assuming you have the HTTP server up.  With
net.data you could throw together something together that would take a bit
longer, but would offer cosmetic advantages. CGI RPG would take longer
(unless you're already good at it) but might do better.

If you just want to display spooled files as HTML, News 400 had an article a
couple of years back with code to copy a spooled file to a data base file
and run it through a program that inserted a minimal set of HTML tags.  We
use that for a couple of daily reports.  I wouldn't recommend it for
something that was more than a couple of pages long, unless you wanted to
modify it to make it more user friendly.

Another approach would be a query tool on the PC that uses ODBC.  That means
spending money and taking some precautions against the many to many join
that kills the host system.

Good luck.  

 

> -----Original Message-----
> From: Joe Giusto [mailto:JGiusto@patuxent.com]
> Sent: Wednesday, April 26, 2000 8:33 AM
> To: 'midrange-l@midrange.com'
> Subject: Calling Report and Viewing Output from a PC 
> 
> 
> We have recently eliminated an operator position, and I have 
> now been asked
> to take some of the reports and allow the users to view them 
> on the PC by
> clicking on an Icon on the windows desktop.
> They do not want to have to bring up a Client Access session 
> and log on to
> run these reports.
> 
> I have started playing with FTP 's Quote RCMD and have had 
> mixed results.
> I am able to get a program to run that generates the spooled 
> file, then I
> get stuck on how to get it back to the PC user to be viewed on screen.
> 
> I would appreciate and suggestions from the list to help me 
> out with ideas
> on how to approach this.
> 
> Thank you,
> 
> 
> Joe Giusto II
> Patuxent Publishing Company
> 10750 Little Patuxent Parkway
> Columbia, MD 21044
> mailto:JGiusto@patuxent.com <mailto:jgiusto@patuxent.com> 
> http://www.lifegoeson.com <http://lifegoeson.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
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.