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] multiple verb specification is invalid... error

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] multiple verb specification is invalid... error
 Login/Join
 
Platinum Member
posted
TABLE FILE COMCLASS_MOVEMENT
SUM
totCost NOPRINT
totSRP NOPRINT
totbydepcase NOPRINT
Departtotprof NOPRINT
DepartmentTotProfit NOPRINT
cITEMS NOPRINT
cITEMSC NOPRINT
NOcITEMS NOPRINT
NOcITEMS NOPRINT
departcost NOPRINT
NOcITEMS NOPRINT
cITEMS NOPRINT
cITEMSC NOPRINT
COMPUTE DepCost/D10.2 = totCost; NOPRINT AS 'DepCost'
COMPUTE DepSRP/D10.2 = totSRP; NOPRINT AS 'DepSRP'
COMPUTE DepCase/D10 = totbydepcase; NOPRINT AS 'DepCase'
COMPUTE DepProf/D10.2 = Departtotprof; NOPRINT AS 'DepProf'
COMPUTE DepartmentProfit/D10.2 = DepartmentTotProfit; NOPRINT
AS 'DepartmentTotProfit'
COMPUTE TOTPCTPRODEP/D9.2 = ( TotalProfit / totSRP ) * 100; NOPRINT
COMPUTE totalcases/I7 = CaseDel; NOPRINT
COMPUTE totalcostdepart/D12.2 = totCost; NOPRINT
COMPUTE totaltotal/D12.2 = totSRP - totCost + cITEMSC; NOPRINT
AS 'totaltotal'

BY IN_CUSTNO NOPRINT
BY DepartOrder NOPRINT
BY IN_DEPARTMENT NOPRINT
----------------------------------------
i think it has to do with the following section
-----------------------------------------
SUM
COMPUTE gtotbydepcase/I7 = totbydepcase + cITEMS + NOcITEMS; NOPRINT
COMPUTE gtotcost/D12.2 = totCost; NOPRINT
COMPUTE gtotalprof/D12.2 = totSRP - departcost; NOPRINT
COMPUTE gpercentprof/D12.2 = ( totSRP - departcost ) / totSRP * 100; NOPRINT
BY IN_CUSTNO



I dont know what this error is or how to fix it

thanks for the help!

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


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 111 | Registered: May 12, 2011Report This Post
Guru
posted Hide Post
Charles,

This error is caused by the fact that you need to have you multi-verb in a particular sequence. It has to be BY IN_CUSTNO first and then BY IN_CUSTNO BY...


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report This Post
Platinum Member
posted Hide Post
Ok, but then how would I get those computes to sum by just IN_CUSTNO? If I put in more BY fields it will give me the worng result, i believe


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 111 | Registered: May 12, 2011Report This Post
Guru
posted Hide Post
Unless you are using the fields you computed in the first statements later, just switch the order on the Computes.

/*
TABLE FILE COMCLASS_MOVEMENT

SUM
COMPUTE gtotbydepcase/I7 = totbydepcase + cITEMS + NOcITEMS; NOPRINT
COMPUTE gtotcost/D12.2 = totCost; NOPRINT
COMPUTE gtotalprof/D12.2 = totSRP - departcost; NOPRINT
COMPUTE gpercentprof/D12.2 = ( totSRP - departcost ) / totSRP * 100; NOPRINT
BY IN_CUSTNO


SUM
totCost NOPRINT
totSRP NOPRINT
totbydepcase NOPRINT
Departtotprof NOPRINT
DepartmentTotProfit NOPRINT
cITEMS NOPRINT
cITEMSC NOPRINT
NOcITEMS NOPRINT
NOcITEMS NOPRINT
departcost NOPRINT
NOcITEMS NOPRINT
cITEMS NOPRINT
cITEMSC NOPRINT
COMPUTE DepCost/D10.2 = totCost; NOPRINT AS 'DepCost'
COMPUTE DepSRP/D10.2 = totSRP; NOPRINT AS 'DepSRP'
COMPUTE DepCase/D10 = totbydepcase; NOPRINT AS 'DepCase'
COMPUTE DepProf/D10.2 = Departtotprof; NOPRINT AS 'DepProf'
COMPUTE DepartmentProfit/D10.2 = DepartmentTotProfit; NOPRINT
AS 'DepartmentTotProfit'
COMPUTE TOTPCTPRODEP/D9.2 = ( TotalProfit / totSRP ) * 100; NOPRINT
COMPUTE totalcases/I7 = CaseDel; NOPRINT
COMPUTE totalcostdepart/D12.2 = totCost; NOPRINT
COMPUTE totaltotal/D12.2 = totSRP - totCost + cITEMSC; NOPRINT
AS 'totaltotal'

BY IN_CUSTNO NOPRINT
BY DepartOrder NOPRINT
BY IN_DEPARTMENT NOPRINT
*/


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report 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] multiple verb specification is invalid... error

Copyright © 1996-2020 Information Builders