As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
We have created a few compound reports. One is a combination of 3 small tables, a graph, again two small tables and then a two pages list. It works very well from the dashboard. Now we want to send these reports via reportcaster and run into problems. If I remove the two small tables (after the graph) it works, but with these two it does not.
An other report only has two small tables (all from the same dataset) and it does not work.
I have put command &ECHO=ALL on top of both reports and I get the whole logging in my "error" report, but there is no error! The report is send to my email but when I want to open the attached pdf (which is very small) I get an adobe message that says something like "unable to open, not a proper pdf file"
Any suggestions or thoughts?
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
Frank I have had that problem before with PDF and reportcaster and strange characters like ~ . Strange thing was it didn't happen all the time...so I could never narrow it down. I don't think I've seen it in 7.6, did you try it there?
oh and also carrige returns.
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
Keep in mind that when you run the reports thru Report Caster it is not WebFocus trying to open the file it is Adobe PDF. For your Report Caster program table a file (any file) and put your image in a heading, then save that report PDF. The graph for this was held as GIF1 in a previous step.
TABLE FILE RGNTNDR
BY RGN NOPRINT
HEADING
" "
FOOTING BOTTOM
"Percentage of Tenders by Region for &HD1.EVAL thru &HD2.EVAL"
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
LEFTMARGIN=0.00000,
RIGHTMARGIN=0.500000,
TOPMARGIN=1.000000,
BOTTOMMARGIN=0.500000,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,$
$
TYPE=HEADING,
IMAGE=GIF1,
JUSTIFY=RIGHT,
$
TYPE=FOOTING,
JUSTIFY=CENTER,
STYLE=BOLD,
FONT=ARIAL,
SIZE=14,
$
ENDSTYLE
END
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007
Frank, I've got a wild guess, if you open the report trough the dashboard, you use your local Adobe. If you use reportcaster, WebFOCUS uses the server Adobe or an interal PDF writer, I'm not sure which one. This can explain why you have these problems.
You could try to upgrade the Adobe on the server, but this won't help you if there's an internal PDF writer.
I realize I sent a very simple example, it is one step out of a compound report that prints 5 graphs.
I think Frans has it backward, if you are opening from Dashboard you are on the WebFocus internal PDF writer and if you are opening from your email you are on your local Adobe.
Since I'm on 5.3 here I can't even test this for you, all I can do is make suggestions. If you run the program through the dashboard can you save it and then open it again? When you save it, is it the same size as the file that is emailed? (You said it was small, are you sure it's not empty?) What if you save it and then email it to yourself? (Okay, I know I'm grasping with that one, but let's eliminate your email server). If you remove the two smaller reports at the end and the list, so that you have just the 3 small tables and the graph can you open it after it has been emailed? If you can, try running the small tables individually. If you can't, try running the other components individually. By checking the individual components you will find if you have one that isn't working through report caster. One final question, do you have any compound reports that have been created through the layout painter that you can email and open in PDF?
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007
Nice idea and I thought of that too, but since I want the reports be sent with bursting it was a bit to complex.
Meanwhile we have found what caused the problem.
In one of the included subreports I used "MORE" in a single report that works if you put the collected data after the MORE command first into a new holdfile, and use the holdfile as a new source, and if these holdfiles do not have the same names. The compound report gets a bit confused when using the same names.
After changing all the internal holdfiles to unique names we got it working.
Thanks for all the helpfull hints and suggestions.
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006