Focal Point
-**urgent**- ReportCaster, how to use HOLD or PCHOLD to deliver

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7211042281

August 24, 2006, 05:31 PM
Newbie
-**urgent**- ReportCaster, how to use HOLD or PCHOLD to deliver
hello all,
same question again.
i realize most developers use PCHOLD to deliver the report. However in my situation, i guess it takes up too much memory spaces and my program fails in the midway.

the situation for now is, to deliver a compound PDF report via email from report caster and use HOLD to store every single report. and filedef the final pdf. but is there a way or a script that report caster can pick up the final pdf from the physical location and deliver???

or any other solution can suggest??

thank you very much.
Lilian.


Lilian
-------
WF 7.6 on WINXP, Teradata
August 25, 2006, 09:23 AM
Prarie
Well not sure why your report would die....but here's away of doing it.
FILEDEF VPHEW DISK \\webfsahqd1\d$\ibi\apps\chddb_magic\vphew.pdf
TABLE FILE CAR
HEADING
" "
" PDF ONE"
" "
PRINT CAR
BY COUNTRY
ON TABLE HOLD AS VPHEW FORMAT PDF OPEN NOBREAK
END
FILEDEF VPHEW DISK \\webfsahqd1\d$\ibi\apps\chddb_magic\vphew.pdf (APPEND
TABLE FILE CAR
HEADING
"PDF TWO"
" "
PRINT CAR
BY MODEL
ON TABLE HOLD AS VPHEW FORMAT PDF CLOSE
END
of course you would have to change the filedef's to match your environment. In report caster make this your first Job the fex
and then make the second job a file and put the file name in where you just filedefed it...and send it in an e-mail.

Also...Please go to your profile on Focal Point and put what version you are on...always helps us to help you. Good Luck


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Never used it, but in Report Caster, you have the capability of running a procedure after the caster job finishes, you might look for clues there.


Leah
thanks very much Prarie & Leah.

i will try out your way Prarie.. but it's much more complicated than that.. i have to insert graphs and make a couple loops of the report.. i will see how it goes.

Prarie, can you specify the way you did it on report caster.. i just have no time to further research on this subject. thanks.
Lilian.
WF 5.33


Lilian
-------
WF 7.6 on WINXP, Teradata
You go in Report caster create a schedule, then at the Task TAB...in the first task you put the Fex Procdure. Click OK. Then you create a second task. Choose Task Type File and put in the location of the PDF file created. Then go to Distrbution Tab and put the E-mail address.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
thank you Prarie, i definitely will try this out.
Lilian.


Lilian
-------
WF 7.6 on WINXP, Teradata