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.
I read for the previous hour all the post regarding the different issues for saving a graph in a fex but i didn't find the solution.
I'm with webfocus client 7.61 and webfocus server 7.6.1. I wrote a fex that generate a graph saved in SVG. When i run the report the output result is "SVG FILE SAVED ..." but i' m not able to find it nether on my desktop nor the server.
I tried these on my previous install and the result is "FILE GRAPHSPS.SVG SAVED TO P:\ibi\srv71\wfs\edatemp\edatemp\ts000030" that seems to be more efficient. The setup of this version was made by a IBI consultant.
Perharps some server settings are wrong on my 7.6.1 installation but i can't find wich one. So i need your help
I tried the GRAPHSRVURL settings but i still have the mentionned file saved message
I tried to use the TEMPATH function but i doesn't. So I tried the following code given by Francis but on my config it doesn't work i got a red cross (i tried wtih differebt output format) Any idea -* excel graph and report
-SET &ECHO=ALL;
SET PAGE-NUM=OFF SET TEMPERASE=OFF -RUN
-SET &TEMPDIR = TEMPPATH(80,'A80');
-SET &GIFFILE = &TEMPDIR || 'G1.GIF';
GRAPH FILE CAR SUM SALES BY COUNTRY ON TABLE HOLD AS G1 FORMAT GIF END -RUN
DEFINE FILE CAR IMG1/A100 WITH CAR='';
END -RUN
TABLE FILE CAR HEADING "Sales Report" " " FOOTING "SUM SALES BY COUNTRY ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET STYLE * TYPE=REPORT, TITLETEXT='Sales', $
Please update your signature with the release and platform that you are using - see this topic
You can include a graphic in your output like this -
GRAPH FILE CAR
SUM SALES
BY COUNTRY
ON TABLE HOLD AS G1 FORMAT GIF
END
-RUN
TABLE FILE CAR
SUM SALES BY COUNTRY
HEADING
"Sales Report </1"
FOOTING
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE, $
TYPE=REPORT, TITLETEXT='Sales', $
TYPE=HEADING, IMAGE=g1.gif, $
ENDSTYLE
END
-RUN
Be aware though that depending upon the output format the reference to the graphic file will need to be reporting server based (Exl2k and PDF) or client server based (Html).
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Thx to all. I applied what Tony told me and the mistake I made is testing an include with a bad hold format (i typed PCHOL HTML) so it didn't.
Now I'll able to run report pdf including a graph ... i can continue to test the compound relative behaviour on 7.6.1 version ... Francis this is for you i saw your topic on the pain with pdf compound I encoutered the same issues with compound with the new features you can manage easily the pdf compound.
Actually, I really like the Unix environment. This site is almost all self-service and we can use user and group directory and file permissions to isolate the business units.
The thing that is really tough is working with IGS and WebSphere.
Susannah, AIX is IBM's unix Flavour, we here are using Sun Solaris Machines.
There is a myriad of Unix flavours
such as AIX, Sun Solaris (Many types), Linux (Many Types), HP UX.
Ludo, one thing you didn't mention, is what are you going to do with the SVG file, are you using it in a PDF document, if it is generated by WebFOCUS, then Tony's suggestion is right for you, The SVG doesn't need to be in a permanent location.
I know the more experienced of us are aware of the follwing snippet but there are some out there that may not realise the following -
APP HOLD is indeed a great way to get the hold files into an APP folder of your choice however (and FWIW), be aware that it will place ANY file held after that command including any FOC$TEMP files etc.
This can be a benefit but is often a pain because folks do not remember to get rid of any temporary files.
For me, I prefer to use a system copy command to get the exact files that I want copied over. Because I use a text editor instead of the GUI this can be a tad easier (only just) to do over the APP HOLD and it does mean that I only ever have the files that I want in the APP folder instead of some temporary files that may only serve to spoil my testing.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Waz, whats the difference between APP HOLD and APP HOLDDATA ? is it what it sounds like? no .mas? i'm back to using !cp because its totally safer, now that i figured out (thanks to GJ) how APP HOLD worked...
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
That's correct. HOLDDATA puts the data file in the specified directory, but the MAS goes to EDATEMP. There is also an APP HOLDMAS.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
It's actually APP HOLDMETA (as per Warren's post).
Ginny,
Good point about the platform independent. I tend to only use (when I really need to) the APP SHOWPATH and occasionally APP HOLD or the individual versions APP HOLDDATA and APP HOLDMETA. I guess that I should really start thinking about the other commands even though, for my current Client, the are no cross platform issues
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004