Focal Point Banner


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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Add Regions?
 Login/Join
 
Master
posted
I am trying to create a report where I can add
the Debit and Debit Card transactions from SYSP
to the Debit and Debit Card transactions from SYSS.

I cannot find any documentation using the 'MORE'
technique to do something like this.

Ideas anyone?

Here is the desired report output:

PAGE 1

Original Debit/Sales Report

JUL-07 AUG-07
VOLUMES SYSP

ON-LINE DEBIT Debit 135 141
Debit Card 243 202

SYSP 378 343

VOLUMES SYSS

ON-LINE DEBIT Debit 197 203
Debit CardDebit 306 302

SYSS 503 505

VOLUMES SYSP & SYSS

ON-LINE DEBIT Debit 332 344
Debit CardDebit 549 504


-*******************************************************************************
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

Thanks! Confused


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Guru
posted Hide Post
How about:
 
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
 


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Expert
posted Hide Post
Amazingly, the "MORE" command is documented in the "Creating Reports With WebFOCUS Language" document under "Universal Concatenation".


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
Can't I get this publication on tbe IB web site?

Thanks Francis Nice Thread


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Master
posted Hide Post
quote:
WebFOCUS Language" document under "Universal Concatenation


I just located a reference to it at:
.

Wink


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Master
posted Hide Post
I just located a reference to it at:


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Virtuoso
posted Hide Post
What Tomsweb meant to tell us is that he found documentation on Universal Concatenation.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders