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 trying to produce a totals line for each column in the report captioned below. I cannot use RECAP, RECOMPUTE, SUMMARIZE as they will not produce fields that I can carry forward in a hold file for future in a program.
Here is the code...
TABLE FILE TF_PRREF2 HEADING CENTER "ECT RATINGS REPORT" "FOR &BEG1 - &END1" "FOR FILE1 " SUM CNT.COUNTER AS 'CNT' TOTANS CORRECT NA WRONG COMPUTE PRCT/I10 = (CORRECT/TOTANS)*100; -*TTOTANS -*TCORRECT -* -*COMPUTE GRADE/A1 = IF (PRCT GE 90) AND (PRCT LE 100) THEN 'A' -* ELSE IF (PRCT GE 80) AND (PRCT LE 89) THEN 'B' -* ELSE IF (PRCT GE 70) AND (PRCT LE 79) THEN 'C' -* ELSE IF (PRCT GE 60) AND (PRCT LE 69) THEN 'F'; -* BY REVIEWTYPE BY MDDEPT NOPRINT BY REVIEWED_MD BY VSTART BY VEND BY VASOF -*ON TABLE HOLD AS FILE1 END -RUN -GOTO OUTT -* -* TABLE FILE FILE1 HEADING CENTER "ECT RATINGS REPORT" "FROM FILE1 " PRINT CNT TOTANS CORRECT NA WRONG COMPUTE PRCT/I10 = (CORRECT/TOTANS)*100; -* BY REVIEWTYPE -*BY MDDEPT BY REVIEWED_MD BY VSTART BY VEND BY VASOF -*ON REVIEWTYPE RECOMPUTE AS '' -*ON TABLE NTOTAL -*ON TABLE HOLD AS FILE2 END -RUN
-* File tomsweb2.fex
TABLE FILE CAR
PRINT SALES RETAIL DEALER
BY COUNTRY BY CAR
ON TABLE HOLD AS TOM FORMAT ALPHA
END
FILEDEF TOM DISK TOM.FTM (APPEND
DEFINE FILE TOM
XCOUNTRY/A10='ZZZZZZZZZZ';
XCAR/A16=' ';
END
TABLE FILE TOM
SUM SALES RETAIL DEALER
BY XCOUNTRY BY XCAR
ON TABLE SAVE AS TOM
END
TABLE FILE TOM
PRINT SALES RETAIL DEALER
BY COUNTRY BY CAR
END
This message has been edited. Last edited by: Danny-SRL,
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006