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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
I'v enever seen this one before so any help would be greatly appreciated.
SQL
SELECT DISTINCT
;
TABLE
ON TABLE HOLD AS ELIG_DET1
END
-RUN
DEFINES MAY BE SET TO OLD OR COMPILED
DEFINES MAY BE SET TO OLD OR COMPILED
1
0 NUMBER OF RECORDS IN TABLE= 73 LINES= 73
0
1
0 NUMBER OF RECORDS IN TABLE= 76 LINES= 76
0
1
0 NUMBER OF RECORDS IN TABLE= 76 LINES= 76
0
1
0 NUMBER OF RECORDS IN TABLE= 76 LINES= 76
0
1
0 NUMBER OF RECORDS IN TABLE= 140 LINES= 140
0
1
0 NUMBER OF RECORDS IN TABLE= 140 LINES= 140
0
(FOC010) THE NUMBER OF SORT FIELDS EXCEEDS THE MAXIMUM: SQLHLD06.E33
(FOC009) INCOMPLETE REQUEST STATEMENT
BYPASSING TO END OF COMMAND
Any ideas?This message has been edited. Last edited by: rfbowley,
Robert F. Bowley Jr. Owner TaRa Solutions, LLC
In WebFOCUS since 2001
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005
The E33 part is the FOCUS alias for the 33rd data column.
Processing of "DISTINCT" requires sorting. The limit (on the number of sort keys in one segment of the internal matrix) is 32.
Since your WHERE requires SUB_CNCL_DT, TYP_COV_FL, and IDE.CASE_STAT_CD to have specified values, it is pointless to include them in the list.
- - - - -
I suggest you identify a set of key fields that guarantee uniqueness of the remaining columns' values, and use a request of the form
JOIN ...
TABLE FILE ... SUM FST.X FST.Y ... BY A BY B ... WHERE ...
(where A,B,... are the keys [presumably numbering well below the limit of 32] and X,Y,... the dependent fields).This message has been edited. Last edited by: j.gross,
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
At the Requst of Management, I have deleted the actual SQL code that contains 'identifiable' code from the original request.
The problem was, in a SQL report, there were a significant number of tables involved, with multi field joins, and a the SELECT DISTINCT cause the error. Changing to a simple SELECT solved the problem.
Many thanks to j.gross for the assit.
Robert F. Bowley Jr. Owner TaRa Solutions, LLC
In WebFOCUS since 2001
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005