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.
So, just to be sure, that A20V column has data that contains the slashes?
If so, try the following:
TABLE FILE CAR
PRINT
COMPUTE DISPLAYMMYY/A20V = '09/29/2011';
COMPUTE OLDENDDATE1/A8MDYY = EDIT(DISPLAYMMYY,'99$99$9999');
OLDENDDATE/YYMD = OLDENDDATE1;
BY COUNTRY
END
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
I tried your example and When I clcked the run button it doesn't run, there are no errors. I also found that there are some records that are mm/dd (01/23).
My code below, maybe I am missing something?
TABLE FILE WKFLOW_DOC_TYPE_FACT COMPUTE DISPLAYMMYY/A20V = '09/29/2011'; COMPUTE OLDENDDATE1/A8MDYY = EDIT(DISPLAYMMYY,'99$99$9999'); OLDENDDATE/YYMD = OLDENDDATE1; SUM WKFLOW_DOC_TYPE_FACT.WKFLOW_DOC_TYPE_FACT.OLDENDDATE J3.TRAN_TYPE_DIM.TRAN_TYPE_NM WKFLOW_DOC_TYPE_FACT.WKFLOW_DOC_TYPE_FACT.DISPLAYMMYY WKFLOW_DOC_TYPE_FACT.WKFLOW_DOC_TYPE_FACT.ACTIVE WKFLOW_DOC_TYPE_FACT.WKFLOW_DOC_TYPE_FACT.PEND BY LOWEST J0.USER_DIM.USER_ID BY LOWEST J2.NODE_DIM.NODE_NM BY LOWEST WKFLOW_DOC_TYPE_FACT.WKFLOW_DOC_TYPE_FACT.DISPLAYMMYY NOPRINT WHERE J3.TRAN_TYPE_DIM.TRAN_TYPE_CD EQ 'E'; ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = endeflt, $ TYPE=REPORT, COLUMN=N1, SQUEEZE=1.680556, $ TYPE=REPORT, COLUMN=N2, SQUEEZE=1.430556, $ ENDSTYLE END
WebFOCUS 7.7.03 Windows 7
Posts: 55 | Location: USA | Registered: November 02, 2009