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 am creating an FML report and would like to show the column value on RECAP also.
see the following code.
DEFINE FILE CAR PERIOD/A20=IF CAR EQ 'AUDI' THEN '12/31/11' ELSE IF CAR EQ 'BMW' THEN '1/1/12 - 12/31/12' ELSE IF CAR EQ 'DATSUN' THEN '12/31/12' ELSE IF CAR EQ 'JENSEN' THEN '1/1/12 - 12/31/12' ELSE IF CAR EQ 'MASERATI' THEN '1/1/12 - 12/31/12' ELSE ''; END
TABLE FILE CAR SUM PERIOD DEALER_COST RETAIL_COST FOR CAR AUDI AS 'ROW1' OVER BMW AS 'ROW2' OVER DATSUN AS 'ROW3' OVER BAR AS '-' OVER RECAP NET/D8=R1 + R2 - R3 ; AS '' OVER JENSEN AS 'ROW5' OVER MASERATI AS 'ROW6' OVER BAR AS '=' OVER RECAP PER/D8.1%=((R6 / R4) * 100); AS 'PERCENT' WHERE CAR EQ 'AUDI' OR 'BMW' OR 'DATSUN' OR 'JENSEN' OR 'MASERATI' ON TABLE SET PAGE-NUM NOPAGE ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * TYPE=REPORT,GRID=OFF,FONT=ARIAL,SIZE=9,$ TYPE=TITLE,COLUMN=LIFE,JUSTIFY=RIGHT,$ ENDSTYLE END -EXIT
From the above output, I want to see the PERIOD column value in front of RECAP value.
How can I show that?
Thanks in advance,This message has been edited. Last edited by: Kamesh,
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
DEFINE FILE CAR PERIOD/A20=IF CAR EQ 'AUDI' THEN '12/31/11' ELSE IF CAR EQ 'BMW' THEN '1/1/12 - 12/31/12' ELSE IF CAR EQ 'DATSUN' THEN '12/31/12' ELSE IF CAR EQ 'JENSEN' THEN '1/1/12 - 12/31/12' ELSE IF CAR EQ 'MASERATI' THEN '1/1/12 - 12/31/12' ELSE ''; END
TABLE FILE CAR SUM PERIOD BY CAR NOPRINT SUM DEALER_COST RETAIL_COST BY CAR NOPRINT FOR CAR AUDI AS 'ROW1' OVER BMW AS 'ROW2' OVER DATSUN AS 'ROW3' OVER BAR AS '-' OVER RECAP NET/D8=R1 + R2 - R3 ; AS 'NET' OVER JENSEN AS 'ROW5' OVER MASERATI AS 'ROW6' OVER BAR AS '=' OVER RECAP PER/D8.1%=((R6 / R4) * 100); AS 'PERCENT' WHERE CAR EQ 'AUDI' OR 'BMW' OR 'DATSUN' OR 'JENSEN' OR 'MASERATI' ON TABLE SET PAGE-NUM NOPAGE ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * TYPE=REPORT,GRID=OFF,FONT=ARIAL,SIZE=9,$ TYPE=TITLE,COLUMN=LIFE,JUSTIFY=RIGHT,$ ENDSTYLE END -EXIT
WebFOCUS - ver8201 [ReportingServers: Windows 64bit; Client: tomcat and IIS on windows 2012 AppStudio
Posts: 104 | Location: Indianapolis | Registered: November 08, 2007
Thanks Rao for looking in to it but that's not what I am looking for. Anyway I found a solution.
set my desired output on the Nodata value and that solved my purpose.
DEFINE FILE CAR PERIOD/A20=IF CAR EQ 'AUDI' THEN '12/31/11' ELSE IF CAR EQ 'BMW' THEN '1/1/12 - 12/31/12' ELSE IF CAR EQ 'DATSUN' THEN '12/31/12' ELSE IF CAR EQ 'JENSEN' THEN '1/1/12 - 12/31/12' ELSE IF CAR EQ 'MASERATI' THEN '1/1/12 - 12/31/12' ELSE ''; END
SET NODATA='12/31/12' TABLE FILE CAR SUM PERIOD DEALER_COST RETAIL_COST FOR CAR AUDI AS 'ROW1' OVER BMW AS 'ROW2' OVER DATSUN AS 'ROW3' OVER BAR AS '-' OVER RECAP NET/D8=R1 + R2 - R3 ; AS '' OVER JENSEN AS 'ROW5' OVER MASERATI AS 'ROW6' OVER BAR AS '=' OVER RECAP PER/D8.1%=((R6 / R4) * 100); AS 'PERCENT' WHERE CAR EQ 'AUDI' OR 'BMW' OR 'DATSUN' OR 'JENSEN' OR 'MASERATI' ON TABLE SET PAGE-NUM NOPAGE ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * TYPE=REPORT,GRID=OFF,FONT=ARIAL,SIZE=9,$ TYPE=TITLE,COLUMN=LIFE,JUSTIFY=RIGHT,$ ENDSTYLE END -EXIT
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005