BigKat
2540 pts. | Sep 17 2009 1:46PM GMT
How soon till you go to i6.1 (V6R1)?
OVRPRTF FILE(print-file) DEVTYPE(*AFPDS) WSCST(*PDF)
TOSTMF(’/usr/local/pdfs/my-pdf-file.pdf’)
CALL PGM(program)
DLTOVR FILE(print-file)
Instead of a spool-file, you have a PDF that is ready for distribution!
NO changes to the report program itself are required, just change the calling CL – or add a wrapper CL – to do the override, call the program, (distribute it), and remove the override.
JohnsonMumbai
380 pts. | Oct 29 2009 6:08AM GMT
We are on v5r4, we would like to convert the spool file which are statements to be sent to customers to pdf. Also we need the name of pdfs to be the customers number which is to be take from within the spool file. Is that possible too.
YuVa47
280 pts. | Oct 29 2009 4:57PM GMT
JohnsonMumbai,
According to what you are writing you have ONLY one choice.
Check out <a href="http://SpoolFactory.com" title="http://SpoolFactory. " target="_blank">SpoolFactory.com</a> and I know that it will solve all your needs and is not expensive.
YuVa
RVP400
250 pts. | Oct 30 2009 4:21PM GMT
Hi,
Check this article out:
<a href="http://www.mcpressonline.com/programming/rpg/has-your-system-i-emailed-someone-today.html" title="http://www.mcpressonline.com/programming/rpg/has-your-system-i-emailed-someone-today.html" target="_blank">http://www.mcpressonline.com/programming…</a>
It describes how to convert a spool file to PDF and save it to the IFS or sending it via e-mail. The article includes the program, some examples and its all FREE!
Regards,
RVP
Lovemyi
1470 pts. | Nov 2 2009 7:09PM GMT
There is another relatively inexpensive product called SPLTOOL and MAILTOOL from Bradley V. Stone at <a href="http://BVS.com" title="http://BVS. " target="_blank">BVS.com</a>, I believe. Just goodle Bradley V. Stone and you will see his website. The products are very reasonable and work really great on V5R3 and V5R4 machines.
Lovemyi
Svankipu
55 pts. | Nov 11 2009 9:18AM GMT
Hi Johnson,
Use this command (WRKWTR) & check whether u have this WRITER (PDFMAIL) in your AS/400.
once it is there; take opt-2 on the spool-file & take F10(for addl. attributes) & change the following:-
1) Printer . . . . . . . . . . . . PDFMAIL
2)Save file . . . . . . . . . . . *YES
3)User Defined Data . . . . . . . ‘mailtag( <a href="mailto:xxxxx@yyyyy.com" title="mailto:xxxxx@yyyyy.com">xxxxx at yyyyy.com</a>)’ - this would be your mail-id
& hit enter; it would send an PDF-attachment to your INBOX;
save it to wherever you want.
Thanks






