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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Error in SQL
 Login/Join
 
Member
posted
I get the following error while running a script reproduced below (partly). The SQL statement runs just fine in the SQL Server environment.

(FOC14010) COMMU.STATUS IS NOT A VALID COLUMN NAME

The script is reproduced below

.....
SQL
select
.....
commu.date AS COMMDATE,
commu.Status AS COMMSTATUS,
......
from
..........;
TABLE
ON TABLE HOLD AS CALLCYCLE FORMAT FOCUS
END
.....

If I replace SQL with SQL SQLMSS the error message changes to

(FOC336) THE SUM OF ALL FIELD LENGTHS EXCEEDS MAXIMUM.
BYPASSING TO END OF COMMAND

Help!


WebFOCUS 5.3.3, Win 2000, IIS
 
Posts: 18 | Location: Baltimore | Registered: September 29, 2005Report This Post
Member
posted Hide Post
By the way if I comment out the line "commu.status AS COMMSTATUS", I get the output.


WebFOCUS 5.3.3, Win 2000, IIS
 
Posts: 18 | Location: Baltimore | Registered: September 29, 2005Report This Post
Virtuoso
posted Hide Post
that seems obvious....

commu.status is not a valid filed in your sql database.
it might be a typo.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Master
posted Hide Post
Was going to say that comments and blank lines cause problems but that is now fixed in 7.6.2.

But watch out for -- comments they cause truncation


-* File newfex.fex
ENGINE SQLORA SET DEFAULT_CONNECTION WF_IFS
SQL SQLORA PREPARE SQLOUT FOR
SELECT
/*+ this works now */
EMP_NO FROM IFSAPP.COMPANY_PERSON_ALL


/* this blank line is ok now */
-- this truncates SQL

WHERE EMP_NO = 'xxxxxx' ;
END



Just seen you on 5.3.3 - get rid of all these things and then try.



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Member
posted Hide Post
FrankDutch

Not really!

I tested the SQL statement in the SQL Server environment before using it in the procedure.


quote:
Originally posted by FrankDutch:
that seems obvious....

commu.status is not a valid filed in your sql database.
it might be a typo.


WebFOCUS 5.3.3, Win 2000, IIS
 
Posts: 18 | Location: Baltimore | Registered: September 29, 2005Report This Post
Silver Member
posted Hide Post
Problem seems to be in connection - since you can run the same exact sql on the server without any issue. I believe SQL SQLMSS is reuqired instead of just SQL at the top, then I see you still get error "FOC336) THE SUM OF ALL FIELD LENGTHS EXCEEDS MAXIMUM.
BYPASSING TO END OF COMMAND" This is FOCUS error message and it seems to me that you summing something in focus/Webfocus query and the field size is not long enough to hold the summarized data.
For to the point answer pls send your entire code so we can see what's going on here.


-Yogesh Patel
------------------------------------------------------------------------
PROD: WF 764 on Linux Apache tomcat v5.5
DEV: WF 768 on Linux
 
Posts: 42 | Location: Edison, New Jersey | Registered: January 30, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders