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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Pivot Table - getting error

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Pivot Table - getting error
 Login/Join
 
Gold member
posted
I am getting this error when I'm using EXL2K PIVOT. I'm trying to learn how to use this format and i'd appreciate any input.

"(FOC3252) VERBS MUST PRECEDE 'HOLD FORMAT EXL2K PIVOT'"

here's my code below...

TABLE FILE SQLOUT
BY driverNumber
HEADING
"Driver Incident"
" "
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL

Thanks!
ON TABLE PCHOLD FORMAT EXL2K PIVOT
PAGEFIELDS driverNumber
CACHEFIELDS incidentNumber
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = endeflt,
$
ENDSTYLE
END

This message has been edited. Last edited by: Kerry,


Winnie

Webfocus 7.7.3
 
Posts: 83 | Registered: July 16, 2008Report This Post
Virtuoso
posted Hide Post
quote:
(FOC3252) VERBS MUST PRECEDE 'HOLD FORMAT EXL2K PIVOT


quote:
TABLE FILE SQLOUT
BY driverNumber
HEADING
"Driver Incident"


Could this be related to the fact that you're not specifying any verb (SUM/PRINT) in your request? Try adjusting it by using a SUM or PRINT there and perhaps including a measurement (any numeric value) Excel can use when pivoting the results.

TABLE FILE SQLOUT
SUM
   COMPUTE REC_CNT/I4 = 1;
BY driverNumber
...
END



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Gold member
posted Hide Post
thanks! So I tried it with the code below using SUM and I'm still getting the same error...

TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS SQLOUT
END

TABLE FILE SQLOUT
SUM
COMPUTE cntincident/D12 = CNT.incidentNumber;
BY driverNumber
HEADING
"Driver Incident"
" "
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K PIVOT
PAGEFIELDS driverNumber
CACHEFIELDS incidentNumber
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = endeflt,
$
ENDSTYLE
END


Winnie

Webfocus 7.7.3
 
Posts: 83 | Registered: July 16, 2008Report This Post
Virtuoso
posted Hide Post
This works for me in 7.7.03. Can you try in 7.6.8 to see what results you get?

If it works, you can perhaps model your request to match that. What happens if you remove the PAGEFIELDS and CACHEFIELDS from your request?

TABLE FILE CAR
PRINT
    DEALER_COST
    SALES
BY COUNTRY
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT EXL2K PIVOT
END



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Pivot Table - getting error

Copyright © 1996-2020 Information Builders