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]Integer with $ from Query

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Integer with $ from Query
 Login/Join
 
Silver Member
posted
Hi,
I'm getting asset value from our Teradata DB with comma seperated and appended with $ symbol using below command. I've created master file using the semantic view but I'm getting blank value in Assets. How do I reproduce the comma seperated value and Dollar($) symbol in Webfocus.

Note:I don't want to manually make changes to Synonym as we refresh it frequently.

Please suggest.

 TRIM(TRD_MKT_VAL_AM (FORMAT 'GLLZ(I)D9(F)')) AS ASST_VAL  

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8.1.03
Windows, Linux All Outputs
 
Posts: 46 | Location: India | Registered: August 18, 2011Report This Post
Expert
posted Hide Post
If you are trying to do this within the GUI then compute a new field and you will see in the "new compute field" dialogue that you can add attributes to the format as necessary. Just click on the "format" tab to add options.

This is normally covered in basic training.

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
All of those formats are shown in the WebFOCUS Keysheet available from www.aviter.com or Amazon.


Vivian Perlmutter
Aviter, Inc.


WebFOCUS Keysheet Rel. 8.0.2
(Almost) 1001 Ways to Work with Dates thru Rel. 8.0.2
Focus since 1982
WebFOCUS since the beginning
Vivian@aviter.com

 
Posts: 191 | Location: Henderson, Nevada | Registered: April 29, 2003Report This Post
Virtuoso
posted Hide Post
What USAGE= and ACTUAL= values does Create Synonym assign to this field?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Silver Member
posted Hide Post
hi Babak,
Below is format it is generated using GUI.

 FIELDNAME=ASSET, ALIAS=ASSET, USAGE=P33.2, ACTUAL=A53V, 


WebFOCUS 8.1.03
Windows, Linux All Outputs
 
Posts: 46 | Location: India | Registered: August 18, 2011Report This Post
Silver Member
posted Hide Post
Tony,
Before I raise request for adding compute column to my admin, I just want to understand that will compute column remain if I refresh the master file when I've new changes.


WebFOCUS 8.1.03
Windows, Linux All Outputs
 
Posts: 46 | Location: India | Registered: August 18, 2011Report This Post
Expert
posted Hide Post
quote:
I just want to understand that will compute column remain if I refresh the master file when I've new changes


This question suggests that you have had no training in WebFOCUS, so I would urge you to push your management for basic training or a refresher.


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
Virtuoso
posted Hide Post
Do you have a field called ASST_VAL in your synonym? Unless this is something very peculiar to Teradata, I don't understand how Create Synonym would decide to make an ACTUAL of A53V into a USAGE of P33.2.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Silver Member
posted Hide Post
quote:
USAGE


Yes Babak, thats surprising us too. Not sure how to proceed futher from here.

Tony - Usually we don't have access to create master files, we have raise request to Admin to just check if refresh will takeoff compute and define in synonyms.
From my understanding refresh will take off computes and defines.
So this will not work for us


WebFOCUS 8.1.03
Windows, Linux All Outputs
 
Posts: 46 | Location: India | Registered: August 18, 2011Report This Post
Virtuoso
posted Hide Post
Ask your DBA to provide you with the DDL of the view so you can see what it looks like. I'd also ask him to give you the description of the view. You can use "SHOW VIEW VIEW_NAME" or "HELP COLUMN VIEW_NAME" to get all column names and datatypes in the view. Use this to look up the column descriptions in the Teradata Adapter Manual and find out what behavior you should expect. An ACTUAL of A53V tells me Create Synonym looks at ASSET_VAL as a string (most likely because it's described as a string in Teradata). If for some reason WebFOCUS is turning the USAGE to a P33.2 automatically, then you should call tech support to find out why that's happening.

By the way, I tested Refresh Synonym on a SQL Server table and the DEFINE and COMPUTE weren't deleted.

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


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report 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]Integer with $ from Query

Copyright © 1996-2020 Information Builders