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.
Hi all I've read through what seems like a hundred posts on this age old problem, but can't seenmto quite get it to work across all my environments.
My end goal is to be able to email via Report Caster a compound PDF report containing a graph and table. I'm running into varying combinations of FOC3230, FOC3251, and FOC3202 errors when following the examples posted on this forum and without even including Report Caster into the mix.
My code (pardon the commented lines - I've been trying lots of different things):
-* File graphtest.fex
-*SET GRAPHSERVURL=https://webfocusdev.sandia.gov/ibi_apps/IBIGraphServlet
-*SET TEMPERASE = OFF
GRAPH FILE CAR
SUM SALES
BY COUNTRY
-*ON GRAPH HOLD AS MYGRAPH FORMAT HTMTABLE
ON GRAPH HOLD AS MYGRAPH FORMAT GIF
-*ON GRAPH PCHOLD FORMAT PNG
END
-RUN
-*GOTO SKIPTABLE
TABLE FILE CAR
PRINT CAR MODEL
ON TABLE PCHOLD FORMAT PDF
-*ON TABLE HOLD AS MYTABLE FORMAT HTMTABLE
HEADING
" "
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
LEFTMARGIN=1.0, $
TYPE=HEADING, SIZE=250, $
TYPE=REPORT, IMAGE=MYGRAPH.GIF, POSITION=(0.5 0), SIZE=(8 4), $
TYPE=REPORT, COLUMN=CAR, BACKCOLOR='LIGHT BLUE', $
ENDSTYLE
END
-RUN
This will work in my local environment, but when run in development (Unix), I'll get a FOC3230 when trying to create the gif hold file, even though the server reports "FILE MYGRAPH.GIF SAVED TO /usr/local/webfocus/dev2/ibi/srv71/wfs/edatemp/ts0".
You'll see I've commented out my GRAPHSERVURL line, but that's because it's already resolved somehow and displayed in my output as "SET GRAPHSERVURL=https://webfocusdev.sandia.gov:443/ibi_apps/IBIGraphServlet"
Yes, we are running SSL and I've tried changing the IBI_USE_JSCOM3 setting to Yes with no success.
Any thoughts?
-Jim
WebFOCUS 7.1.6 on Sun/Solaris (dev/qual/prod), Servlet running on WebLogic 9.2
I'm running on AIX and your version did not run. I changed from gif to svg and it worked.
GRAPH FILE CAR
SUM SALES
BY COUNTRY
-*ON GRAPH HOLD AS MYGRAPH FORMAT HTMTABLE
ON GRAPH HOLD AS MYGRAPH FORMAT SVG
-*ON GRAPH PCHOLD FORMAT PNG
END
-RUN
-*GOTO SKIPTABLE
TABLE FILE CAR
PRINT CAR MODEL
ON TABLE PCHOLD FORMAT PDF
-*ON TABLE HOLD AS MYTABLE FORMAT HTMTABLE
HEADING
" "
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
LEFTMARGIN=1.0, $
TYPE=HEADING, SIZE=250, $
TYPE=REPORT, IMAGE=MYGRAPH.SVG, POSITION=(0.5 0), SIZE=(8 4), $
TYPE=REPORT, COLUMN=CAR, BACKCOLOR='LIGHT BLUE', $
ENDSTYLE
END
I ran into a similar issue using format GIF. Changed mine to JPEG and fixed the problem (SVG format gave me some undesirable changes to the graph layout, labels, spacing, etc. for this particular report)
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
Using either SVG or JPG outputs I still get the same error:
0 ERROR AT OR NEAR LINE 30 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC3251) IMAGE FILE UNREADABLE OR INVALID: MYGRAPH (RC=1)
(FOC3202) BAD VALUE IN STYLESHEET FILE AT LINE 3: IMAGE=MYGRAPH.JPG
Ginny/Darin: Are either of you using SSL and IBI_USE_JSCOM3 = No?
WebFOCUS 7.1.6 on Sun/Solaris (dev/qual/prod), Servlet running on WebLogic 9.2
we do not use SSL and we have IBI_USE_JSCOM3=Yes One thing to note - simply changing the value of IBI_USE_JSCOM3 will not make any difference if your server does not know where to find Java. There is a lot more to it than changing the NO to YES.
I don't know if you have perused the "Appendix B: Additional Graph Configuration Options" of the installation manual. This covers all aspects of what you are trying to do with holding graphs along with instructions for enabling the JSCOM3. If not, that's your next step.
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
Which manual is this appendix in? I'm not seeing it in my "Creating Reports..." or "Developing Reporting..." manuals. Nevermind. I now see it in the WF and RC Installation manual.
thanksThis message has been edited. Last edited by: Jim Fernandez,
WebFOCUS 7.1.6 on Sun/Solaris (dev/qual/prod), Servlet running on WebLogic 9.2