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 is the code...
TABLE FILE PERIOD SUM ACTL_NET_SALE_AM -* BY PLTF_ID BY SYS_ID BY DEBIT_FLG BY PRDT_DSCR_TX -* ACROSS DATE_FULL_DT AS '' ON PLTF_ID SKIP-LINE -* WHERE ((PLTF_ID EQ 'SO') OR (PLTF_ID EQ 'NO')); -*WHERE PLTF_ID EQ '&PLTFM'; WHERE (DATE_FULL_DT GE '&BEG_DT'); WHERE (DATE_FULL_DT LE '&END_DT'); -* -* SELECT FOR DEBIT WHERE (PRDT_CD EQ '007' OR '012' OR '024' OR '025' OR '026' OR '046' OR '048'); -* SELECT FOR MasterCard AND Visa WHERE (((PRDT_CD EQ '007' OR '012' OR '024' OR '025' OR '026' OR '046' OR '048')) OR ((PRDT_CD EQ '001') AND (PLAN_CD EQ '075' OR '005' OR '006')) OR ((PRDT_CD EQ '002') AND (PLAN_CD NE '075' OR '007' OR '008'))); -* WHERE RECORDLIMIT EQ 2000 ON TABLE HOLD AS ONE END -RUN -* TABLE FILE ONE HEADING CENTER "Original Debit/Sales Report" " " "<+63 JUL-07 <+10 AUG-07 <+12 SEP-07" PRINT E05 AS '' IN 55 E06 AS '' IN 72 E07 AS '' IN 89 COLUMN-TOTAL BY PLTF_ID NOPRINT BY SYS_ID NOPRINT BY DEBIT_FLG AS '' IN 17 BY PRDT_DSCR_TX AS '' IN 32 ON SYS_ID SUBTOTAL AS '' ON SYS_ID SKIP-LINE -* ON SYS_ID SUBHEAD "VOLUMES -* ON TABLE PCHOLD FORMAT &FMT END -RUN
TABLE FILE PERIOD
SUM
ACTL_NET_SALE_AM
-*
BY PLTF_ID
BY SYS_ID
BY DEBIT_FLG
BY PRDT_DSCR_TX
-*
ACROSS DATE_FULL_DT AS ''
ON PLTF_ID SKIP-LINE
-*
WHERE ((PLTF_ID EQ 'SO') OR (PLTF_ID EQ 'NO'));
WHERE (DATE_FULL_DT GE '&BEG_DT');
WHERE (DATE_FULL_DT LE '&END_DT');
-*
-* SELECT FOR DEBIT
WHERE (PRDT_CD EQ '007' OR '012' OR '024' OR '025' OR '026' OR '046' OR '048');
ON TABLE HOLD AS ONE
MORE
FILE PERIOD
-* SELECT FOR MasterCard AND Visa
WHERE (((PRDT_CD EQ '007' OR '012' OR '024' OR '025' OR '026' OR '046' OR '048')) OR
((PRDT_CD EQ '001')
AND (PLAN_CD EQ '075' OR '005' OR '006'))
OR ((PRDT_CD EQ '002')
AND (PLAN_CD NE '075' OR '007' OR '008')));
END
-RUN
-* ETC