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     "Hidden" count field when using Sum feature

Read-Only Read-Only Topic
Go
Search
Notify
Tools
"Hidden" count field when using Sum feature
 Login/Join
 
<michka>
posted
We have recently upgraded from 4.3.6 to 7.1.3 and have found an unusual addition showing up in some of our FEXES.

When using the SUM function and HOLDing the results as an ALPHA format, we are seeing a new field showing up that contains the number of records. Here is an example:

TABLE FILE GROUPS
SUM GROUPNM
ON TABLE HOLD AS GRPHOLD FORMAT ALPHA
END
-RUN

-READ GRPHOLD &GRPNM.A30.

The result is that &GRPNM contains the following value - '000010HIGHLAND MARKET'.

As we come across the issues, we are modifying the -READ statement to read the first 6 characters into a field that we don't use.

I am just curious is anyone else has experienced this and if there is a command or setting that can be used to turn off that "counting" function.
 
Report This Post
Expert
posted Hide Post
Michka,

I take it that your data source is SQL based?

Use SQL SQLMSS SET VARCHAR OFF for MS SQL to get the old behaviour back

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
<michka>
posted
Tony,

Thanks for the tip. My next question is how & where do I put this statement. I have tried it in a few different spots and I get errors.

Also, will this work if we use a combination of "TABLE FILE" statements and SQL pass-thru code ?
 
Report This Post
Platinum Member
posted Hide Post
Hi Michka,
Normally these types of commands are added to the profiles, like the global server profile, edasprof.prf if you want the changes in effect for everyone.
Rich


WebFOCUS 8202 Win 2012
Test - WebFOCUS 8203 on Win 2012
 
Posts: 173 | Registered: November 16, 2005Report This Post
<michka>
posted
Thanks Rich. That makes sense. I will ask our Admin to add this statement to the edasprof.prf.
 
Report This Post
Master
posted Hide Post
The numbers are non blank lengths of variable fields.

wf generally works better with fixed length fields, this being the way it way designed. The implementation of variable length data is quite clunky - this is one thing RDBMSs do better.



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
Master
posted Hide Post
You'll have to remake your synonyms once you put VARCHAR in EDASPROF.

Also would suggest ENGINE SQLORA SET ORACHAR VAR as well as ENGINE SQLORA SET VARCHAR OFF

Perverse I know but FOCUS managed JOINs to RDBMS will stop working otherwise!



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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     "Hidden" count field when using Sum feature

Copyright © 1996-2020 Information Builders