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     csv format - field length greater than 12

Read-Only Read-Only Topic
Go
Search
Notify
Tools
csv format - field length greater than 12
 Login/Join
 
Platinum Member
posted
If we have a field that is alpha and greater than the length of 12 the field displays in exponential notation when brought into csv. This is normal to be exponential notation. The problem is when you click on the field to expand it, it does not expand. It stays in exponential notation. This only happens if you have a numeric in an alpha field and the value in the field is 12 digits or more. So, if I have a field defined as a25 but only have 11 digits in it, it will expand just fine, but if another row is 12 digits, it won't show the actual value in that row without changing the column to text or reformatting the field manually. Is there a way to get this field to work properly in csv and to expand when we click on the column to show the actual data values? I searched the web a few weeks ago and I found some bug info but I'm not finding anything today. I'm hoping someone else has come across this and knows a way to fix it.

Thanks.


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report This Post
Expert
posted Hide Post
Pam,

What output format are you using to get your CSV file?

The example below creates a long value and saves to a format COMMA, which gives a file extension of .PRN. When opened and parsed into Excel the LARGE_VAL column is affected in the same manner as your comments. However, the FTOA_VAL parses just fine because it is actually dealt with as an alpha numeric value.

Perhaps this is a possible solution for you?

If not, then let me know more.

SET HOLDLIST = PRINTONLY
TABLE FILE GGSALES
SUM COMPUTE LARGE_VAL/D20.2 = DOLLARS * BUDDOLLARS;
    COMPUTE FTOA_VAL/A27 = FTOA(LARGE_VAL, '(D20.2)', FTOA_VAL);
BY REGION
BY ST
WHERE DATE FROM '19960101' TO '19971231'
ON TABLE HOLD AS BIGVALUE FORMAT COMMA
END 


T

p.s. If you are parsing your file then you can always specify that the column in question is dealt with as text and not general format.



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
Platinum Member
posted Hide Post
we are using format alpha. In my hdr file that indicates what format the fields are, I indicate that it's text so that's why it's surprising me that it's not being treated as text. I'll try the comma format but I'm not sure what downstream impacts that will have ... I will have to contact the business to see if that format will work for them. We've been using the format alpha for years.


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report This Post
Expert
posted Hide Post
Pam,

Have you changed version of WF lately or has the value only just begun to reach the 12 digit apparent cut-off? If it's the latter of course then you might have had the potential problem for a while without knowing it. If it's the former then a change of function within WF is not good (for anyone) and probably needs to addressed by the product team in NY.

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
Platinum Member
posted Hide Post
the business thinks the problem has been around for a while and they just haven't noticed it. We don't have that many account numbers that are 12 digits or more, so it's not going to show up a lot. We have not recently upgraded (we went to 5.3.3 spring of last year).


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report 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     csv format - field length greater than 12

Copyright © 1996-2020 Information Builders