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'm receiving a scheduled report that I made just fine. However, the report window displays a copy of the report for some reason. It doesn't do this when I run the report in AppStudio, just when I receive the schedule through email. Code is below.
-SET &ECHO=ON; SET EMPTYREPORT=ON SET ASNAMES=ON SET LINES=99999
TABLE FILE CUSTOMERS SUM CNT.CUSTOMERS.CUSTOMERS.FIELD1 AS 'COUNTS' BY CUSTOMERS.CUSTOMERS.FIELD1 WHERE TOTAL CNT.CUSTOMERS.CUSTOMERS.FIELD1 GT 1; WHERE CUSTOMERS.CUSTOMERS.FIELD1 IS NOT ''; WHERE CUSTOMERS.CUSTOMERS.CUSTOMERID IS NOT ''; ON TABLE HOLD AS MASTER END -RUN
JOIN CUSTOMERS.CUSTOMERS.FIELD1 IN CUSTOMERS TO MULTIPLE MASTER.MASTER.FIELD1 IN MASTER TAG J1 AS J1 END
TABLE FILE CUSTOMERS PRINT J1.MASTER.FIELD1 AS 'LEGACYID' CUSTOMERS.CUSTOMERS.CUSTOMERID ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE SET HTMLCSS ON ON TABLE PCHOLD FORMAT HTML END -RUN -EXITThis message has been edited. Last edited by: FP Mod Chuck,
Are you wanting to see the report as an attachment in the email rather than embedded in the email?
If so, then go to the scheduled job and open it up. Go to the Distributions tab and open the method. Then in the email information about halfway down, change the radio button to 'Send all reports as attachments'
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015
Actually, I am receiving the report as an attachment, which is good. But the values within that report are duplicated. For example, when I review the results window, I should see;
Since MASTER file become your main selection table : it's the file that contain only the key field that you want, try with the below JOIN instead (also have included Hallway suggestion). I would not be surprise that the problem is the JOIN … MULTIPLE
Another point is that in your original JOIN the child file (MASTER) is a none indexed alpha file. This may also cause issue in a JOIN
TABLE FILE CUSTOMERS
SUM CNT.CUSTOMERS.CUSTOMERS.FIELD1 AS 'COUNTS'
BY CUSTOMERS.CUSTOMERS.FIELD1
WHERE TOTAL CNT.CUSTOMERS.CUSTOMERS.FIELD1 GT 1;
WHERE CUSTOMERS.CUSTOMERS.FIELD1 NE '';
WHERE CUSTOMERS.CUSTOMERS.CUSTOMERID NE '';
ON TABLE HOLD AS MASTER
END
-RUN
JOIN MASTER.MASTER.FIELD1 IN MASTER TAG T1
TO CUSTOMERS.CUSTOMERS.FIELD1 IN CUSTOMERS TAG T2 AS J1
END
TABLE FILE CUSTOMERS
PRINT T1.FIELD1 AS 'LEGACYID'
T2.CUSTOMERID
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT HTML
END
-RUN
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013