August 18, 2006, 12:34 PM
NewbieWeb Caster- delivery issue
hello all, does anyone know how to deliver the pdf files in web caster, in which it is a compound report.
what have i done is assigned the big report to my work folder of the data server.
ex:
FILEDEF PAGE1 DISK //dataserver/f301a/REPORT.PDF, in which PAGE1 is set to compound=open.
does anyone know how the webcaster pick up my
PAGE1 hold file to deliver via email??
thanks a lot.
Lilian.
August 18, 2006, 01:58 PM
PrarieIf you just do a compound pdf...with no Filedefs..you can put it in ReportCaster..with the selection PDF and have it go to an E-mail address...that should work.
| In Focus since 1993. WebFOCUS 7.7.03 Win 2003 |
August 22, 2006, 04:41 PM
Newbiethanks Prarie.
however i come across the challenge that i save the rpt to
ON TABLE HOLD AS xxx, and it does not perform well with WC. and then i switch to ON TABLE PCHOLD FORMAT PDF..i can send out the email with PDF attachement successfully, but with no context.. just blank pages...
trying to figure out my next approach to fix this.???!!!
thank you all to the response.
Lilian
-------
WF 7.6 on WINXP, Teradata
August 22, 2006, 05:15 PM
N.SelphPut a second task, of type "file" to pick up the file from where you have FILEDEF'd it and email the result.
(This only works for email, not ftp).
(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
August 23, 2006, 09:14 AM
Newbiethanks. i tried it, but WC dont recognize the FILE command.. can you please be more specific on this..
here's my code:
FILEDEF PAGE1 DISK //dataserver/f301a/REPORT.PDF
FILETABLE FILE APPLCODEM1
PRINT
APPLCODE
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE HOLD AS PAGE1 FORMAT PDF
END
Lilian
-------
WF 7.6 on WINXP, Teradata
August 23, 2006, 04:17 PM
N.SelphWhen you said 'Web Caster' I assumed you meant 'Report Caster'. In Report Caster, "File" is a Report Caster schedule task option, not a command used in a focexec.
(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)