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.
then the correct file is generated.. ---------- start RMMRV1.FEX ----------- TYPE=HEADING,HEADALIGN=BODY, IMAGE=whatever.gif,$ ----------- end RMMRV1.FEX -----------
Obviously the word "image" is causing a problem that is fixed by appending the "e" to the end of "image". We are also effected by this bug when we simply try to refer to an image by amper...
-SET &PIC='whatever.gif'; TABLE FILE CAR HEADING "THIS IS A TEST" PRINT CAR MODEL SEATS BY COUNTRY ON TABLE SET STYLE * TYPE=HEADING,IMAGE=&PIC,$ ENDSTYLE END
This gives me
(FOC295) A VALUE IS MISSING FOR: pic
If I change it to
-SET &E ='E=whatever.gif';
TABLE FILE CAR HEADING "THIS IS A TEST" PRINT CAR MODEL SEATS BY COUNTRY ON TABLE SET STYLE * TYPE=HEADING,IMAG&E, $ ENDSTYLE END
Hi Jodye, IMAGE is java reserved word. There are a bunch of them, we had a thread going for a while. eg: try a statment label -SKIPIMAGE It'll make Focus go postal. a work around, just break up that image word, as you did, but here's maybe an easier way. -SET &STUFF = 'TYPE=HEADING,HEADALIGN=BODY,IMAG' | 'E=WHATEVER.GIF,$'; -WRITE filename &STUFF and it'll work
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
yep, that answer works for versions 4 and earlier. they havent' updated it for versions 5 and higher. they CLAIM on that help answer that its for 525+, but they didn't check their work. Lots of things on the help site are not updated/checked. so you have to fill in the complaint box at the end of the help answer and ask that they update that for 5+. {And they'll answer that they haven't got any idea what you're talking about)
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
MRE in this case, re-evaluates the string of IMAGE and sends that data to the server. In the 52x releases, it does it incorrectly, and is appending some additional internal data to the string. That is why you see '* mrcgi ....'
In 53x, a correct string is sent to the server, although not what you might expect. If I run the focexec you supplied, the file created contains: TYPE=HEADING,HEADALIGN=BODY, IMAGE='/ibi_apps/WFServlet?IBIMR_drill=P,whatever.gif,aaaark3w/aaaark3w.htm',$ The reason the IMAGE string is evaluated is because it is a keyword used for a STYLESHEET that indicates where an image is held within MRE.
If all you want is a verbatim copy of your -WRITE statement, you can do the following:
FILEDEF RMMRV1 DISK D:\IBI\APPS\TEST\RMMRV1.FEX -RUN -MRNOEDIT BEGIN -WRITE RMMRV1 TYPE=HEADING,HEADALIGN=BODY, IMAGE=whatever.gif,$ -MRNOEDIT END -CLOSE RMMRV1
You would also need the -MRENOEDIT BEGIN/END if you were using a STYLESHEET that indicated a .gif was on the Reporting Server and not within MRE.
Posts: 34 | Location: 2 Penn Plaza | Registered: July 29, 2004