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



I think you can also use OVRPRTF to output directly pdf.

On 02/12/2015 10:38 PM, Sam_L wrote:
There is an Info Print Redbook that contains a sample user mapping
program in RPG.

At my last job we had a program that took a spool file and created a
named PDF, (named with a name we provided as opposed to the random name
that Info Print creates) and then e-mailed the PDF to a user or users,
or FTPed it to a cataloging system on a Windows server. There was a lot
of internal plumbing we added for the naming and FTPing, but the code to
direct Info Print was cribbed and adapted from the Redbook.

Unfortunately, our program did not do any Excel conversion. And while
Info Print will convert a spool file to a PDF, I'm not sure it will do a
conversion to Excel, and my recollection is that the program doesn't see
individual print lines, but operates at the spool file level.

It would seem to me that what you want is to attach a data queue to the
OUTQ and then when a spool file arrives on the data queue, you convert
it and send it off. (Though someone mentioned a commercial product that
did something like this.)

Or, if you have control of the generating program(S) you could get
really fancy and go with a generalized approach and use OAR to replace
the print file, minimizing changes to each program. The general purpose
OAR handler would have to be table driven to know for each report layout
how to identify the data fields. And that to me seem like a fair amount
of coding, much of which had already been done with existing commercial
products.

Sam

On 2/11/2015 9:02 PM, Steinmetz, Paul wrote:
I want thank everyone for all their input.
Because we are already using IBM Info Print Server, I think a
combination of a "mapping object" or a "user mapping program" could be
created that would do the splf to Excel conversion.
This program could either use an API or one of the TAATOOL commands,
CPYSPLFDTA
The email would still be handled by IPS.

Has anyone ever created a "user mapping program", with an Excel
conversion?

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


-- Este e-mail fue enviado desde el Mail Server del diario ABC Color --
-- Verificado por Anti-Virus Corporativo Symantec --

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.