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.
SET TRACEOFF = ALL
SET TRACEON = STMTRACE//CLIENT
SET TRACEON = SQLAGGR//CLIENT
SET TRACEUSER = CLIENT
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
SET SQLTOPTTF = ON
SET TRACEOFF = ALL
SET TRACESTAMP= OFF
SET TRACEWRAP = 72
SET TRACEON = SQLTRANS
SET TRACEON = SQLAGGR//CLIENT
SET TRACEON = STMTRACE//CLIENT
SET TRACEON = STMTRACE/1/CLIENT
SET TRACEON = STMTRACE/2/CLIENT
SET TRACEUSER = ON
SET MSG = ON
SET HOLDSTAT = ON
SET EMGSRV = ON
-SET &ECHO = ALL;
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
SET TRACEOFF=ALL
SET TRACEUSER=CLIENT
SET TRACEON=SQLAGGR//CLIENT
SET TRACEON=STMTRACE//CLIENT
SET TRACEON = STMTRACE/2/CLIENT
SET TRACEON = SQLTRANS
SET TRACESTAMP = OFF
-RUN
JOIN LEFT_OUTER THIS_ID IN FILE1 TO UNIQUE THAT_ID IN FILE2 TAG J001 AS J001
-RUN
TABLE FILE DF_FILE1
BY THIS_ID
ON TABLE HOLD
END
-EXIT
NUMBER OF RECORDS IN TABLE= 1 LINES= 1
There are 1 lines;
AGGREGATION DONE ...
SELECT
T1."THIS_ID",
MAX(T1."PRESCRIBER_ID")
FROM
FILE1 T1
WHERE
(T1."THIS_ID" >= 0)
GROUP BY
T1."THIS_ID"
ORDER BY
T1."THIS_ID"
FOR FETCH ONLY;
This message has been edited. Last edited by: Doug,
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
SELECT
T1."THISID",
T2."SOME_DATE",
MAX(T1."THISID")
FROM
( FILE1 T1
LEFT OUTER JOIN FILE2 T2
ON T2."THAT_ID" = T1."THISID" )
WHERE
(T1."THISID" >= 0)
GROUP BY
T1."THISID",
T2."SOMDATE"
ORDER BY
T1."THISID",
T2."SOMDATE"
FOR FETCH ONLY;
So, it is showing it in this example. I'll go back to the real / production joins and verify it from the user.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005