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.
Here's how it croaks on the realmdriver trace. I did all migrations through the supplier tools except that I copied the mrrealm repository tables and manually adjusted wf_mrdomains.domainname from 48 to 128.
[2007-08-21 11:04:31 BST] {ERROR} [WFMRX_MRRepositoryDriver] renameDomain: EXCEPTION CLASS: ibi.webfoc.wfmre.mrutil.WFMRError MESSAGE: 1016 STACK TRACE: ibi.webfoc.wfmre.mrutil.WFMRError: 1016 at ibi.webfoc.wfmre.mrutil.WFMRUtil.htmlReplaceText(WFMRUtil.java:1601) at ibi.webfoc.wfmre.mrio.WFMRFile.replaceTextInHtmlFile(WFMRFile.java:192) at ibi.webfoc.wfmre.repos.htm_bd.WFMRFileRepositoryHandler.renameDomain(WFMRFileRepositoryHandler.java:859) at ibi.webfoc.wfmre.repos.core_bd.WFMRRouterRepositoryHandler.renameDomain(WFMRRouterRepositoryHandler.java:169) at ibi.uas.drivers.WFMRX_MRRepositoryDriver.renameDomain(WFMRX_MRRepositoryDriver.java:427) at ibi.webfoc.wfmre.repos.WFMRRepositoryHandlerProxy.renameDomain(WFMRRepositoryHandlerProxy.java:449) at ibi.webfoc.wfmre.mrobj.WFMRDomain.changeRecord(WFMRDomain.java:1481) at ibi.webfoc.wfmre.mrobj.WFMRDomain.setProperties(WFMRDomain.java:1454) at ibi.webfoc.wfmre.WFMRService.perform(WFMRService.java:1167) at ibi.webfoc.WFRequestWorker.processRequest(WFRequestWorker.java:502) at ibi.webfoc.WFWorkerUtil.processRequest(WFWorkerUtil.java:387) at ibi.webfoc.WFServlet.processRequest(WFServlet.java:763) at ibi.webfoc.WFServlet.doPost(WFServlet.java:728) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at ibi.srv.util.IBIHttpServlet.service(IBIHttpServlet.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at ibi.srv.util.IBIHttpServlet.service(IBIHttpServlet.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2 Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006
Thanks very much for keeping us up to date on your 7.6.2 upgrade work.
It seems to me that you're doing the work that IBI should have done???
This will be a very valuable resource when I assist a client in upgrading - unfortunately, by that time, a new version will be out, with all its bugaboos!
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
You cannot match on a key field that has the missing=on attribute set when that value is initially INCLUDEd as a blank.
(Please do not say that key fields must not be MISSING=ON - there is no documented restriction in wf although a lot of rdbms'es stupidly enforce this condition)
The following code works in 7.1 but not in 7.6 where REJECTs occur.
DEFINE FILE CAR
CAR_NAME /A50 MISSING ON = ' ' ;
END
TABLE FILE CAR
SUM RETAIL_COST
BY CAR
BY CAR_NAME
-* will always hold CAR_NAME as missing regardless of HOLDMISS setting.
ON TABLE HOLD AS HOLD1 FORMAT XFOCUS
END
-RUN
TABLE FILE HOLD1
PRINT *
ON TABLE HOLD AS HOLD2 FORMAT ALPHA
END
-RUN
MODIFY FILE HOLD1
FIXFORM FROM HOLD2
MATCH CAR CAR_NAME
ON NOMATCH REJECT
ON MATCH UPDATE RETAIL_COST
DATA ON HOLD2
END
-EXIT
The workaround is when you do your
BY POTENTIAL_BLANK_FIELD ON TABLE HOLD FORMAT XFOCUS
The SET FIXFRMINPUT command enables you to specify how to handle FIXFORM input fields as either conditional (field/format C) or non-conditional fields. Thus, spaces in a transaction field can be used for updating database fields. Syntax: How to Control Whether FIXFORM Input Fields Are Conditional SET FIXFRMINPUT = {COND|NONCOND} where: COND Treats all transaction fields generated by FIXFORM FROM mastername as conditional (format C) fields. COND is the default value. NONCOND Treats all transaction fields as present in the transaction, and their contents are treated as real values. Note that if you have not changed the value of the FIXFRMINPUT parameter and you query its value, the value displays as DEFAULT. Reference: Usage Notes for SET FIXFRMINPUT ❏ The FIXFRMINPUT setting does not affect a FIXFORM command that does not have a FROM phrase. ❏ If you run a compiled MODIFY, its behavior reflects the FIXFRMINPUT setting at the time it was compiled, even if a different setting is in effect at run time.
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2 Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006
You can no longer append the results of a HOLD file onto itself:
TABLE FILE xyz
ON TABLE HOLD AS RESULTS FORMAT ALPHA
END
-RUN
FILEDEF RESULTS DISK RESULTS.FTM (APPEND
TABLE FILE RESULTS
...
ON TABLE SAVE AS RESULTS FORMAT ALPHA
END
Tried setting AUTOTABLEF=OFF but in the end the only thing would work is:
TABLE FILE xyz
ON TABLE HOLD AS RESULTS FORMAT ALPHA
END
-RUN
COPY RESULTS.FTM RESULTS1.FTM
COPY RESULTS.MAS RESULTS1.MAS
FILEDEF RESULTS DISK RESULTS1.FTM (APPEND
TABLE FILE RESULTS
...
ON TABLE SAVE AS RESULTS1 FORMAT ALPHA
END
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2 Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006
Regarding the FILEDEF (APPEND, I think the real problem is that this occurs with any FILDEF (APPEND and not just a recursive one. Basically the function no longer works as in previous releases.
A quick test against the CAR file shows the problem -
TABLE FILE CAR
SUM RCOST
DCOST
BY COUNTRY
BY CAR
BY MODEL
ON TABLE HOLD AS TEMPCAR FORMAT ALPHA
END
-RUN
FILEDEF TEMPCAR DISK TEMPCAR.FTM (APPEND
-RUN
TABLE FILE CAR
SUM RCOST
DCOST
BY COUNTRY
BY CAR
BY MODEL
ON TABLE SAVE AS TEMPCAR FORMAT ALPHA
END
-RUN
TABLE FILE TEMPCAR
PRINT *
END
-RUN
The final report should show 36 records (and does in 7.1.3) but only shows 18 in 7.6.2.
I raised a case with IB (32402513) if any of you wish to reference it.
Keep smiling
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
In 7.6.1 if you edit an HTML in the text editor...in MRE only .and hit the save button...when you exit the HTML it does not save the changes. You have to X out and when it prompts for 'Do you want to Save changes'..and save - it then saves them. Very annoying. Works fine in Self Service. Was wondering if the same behavior was in 7.6.2...and a more important question...How did this behavior show up with " Code Tightening
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
That rings a bell from 5.n.something (5.2.3? I think). Basically you could perform an edit and the disk icon would still show greyed out (non selectable) and no asterisk beside the fex title.
In 7.1.3 you can open a fex up in text editor (state A), make changes and save (state B), then run the changed fex to test. If you then undo all the changes back to the original state of the fex (state A), the disk icon is greyed out, saving via alt f - s doesn't save the fex at current state (state A) and if you close and reopen you will find the fex has the changes you made (state B) which is OK as you didn't (couldn't!!) save back to the original state (state A).
The wall next to my desk now has an imprint of my head
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
Amper autoprompt inserts blank for null string Your IBI Case#32412520 internal: 000141658
This illustrates the prob nb you must have IBIF_wfdescribe to XMLRUN or XMLPROMPT at the client console to enable autoprompting
-SET &DUMMY = &X.Dummy. ;
-DEFAULT COUNTRY=''
-SET &DUMMY = &COUNTRY.Please Enter Country. ;
TABLE FILE CAR
PRINT SEG.CAR
IF COUNTRY EQ '&COUNTRY'
END
Under 7.1.3 the cursor was hard left in the generated textbox. Under 7.6.1 there is a leading space.
If the user thinks he has entered 'XXX' he will have entered ' XXX'. This will mean that selection criteria will fail.
The workaround is to not code the null default and no leading spaces were supplied. Ironically the nulls were only coded in 7.1 because if you didn't then you got leading spaces.This message has been edited. Last edited by: hammo1j,
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2 Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006