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     Missing values in Maintain

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Missing values in Maintain
 Login/Join
 
Guru
posted
Hi All,
I have computed a field by concatenating two fields in the datasource and trying to display it as a column in Read/Write Grid. I tried to declare the computed field by using below methods:

 
compute EvestProdMapStk1.MandateDesc/A130V ;
OR
compute EvestProdMapStk1.MandateDesc/A130V MISSING ON = ; 
OR
compute EvestProdMapStk1.MandateDesc/A130V = ' ' ;
OR
compute EvestProdMapStk1.MandateDesc/A130V  MISSING ON = MISSING;
 


Later in the code this fields is derived by concantenating two fields as:

 
REPEAT EvestProdMapStk1.FocCount;
compute  EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc =  EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION || (' ' | EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT );

-* compute  EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc =STRAN(EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc,'.','');

COMPUTE EvestProdMapDispStk1Cnt = EvestProdMapDispStk1Cnt +1;
ENDREPEAT 


Now when I am displaying this field in Read/Write Grid,It is showing Period(.) for missing values. i.e, If either one of the two fields value is missing, it shows (.) for that particular value. If both values are missing it show (..) . I have used SYS_MGR.FOCSET("NODATA",""); in Top function already but it did not help.
Can anyone please help me get rid of this problem.

Thanks in advance.


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report This Post
Master
posted Hide Post
Using:
SYS_MGR.FOCSET("NODATA", "") in your top case should absolutely take care of both fields and the grids. You could also put:
SET NODATA = '' in your EDASPROF and that should do it as well. If neither work, please open a case with customer support and send in your files.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Guru
posted Hide Post
Hi Mark,
I tries your suggestion. It did not work. Raised a case with customer support. Thanks for your reply.

Regards.


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report This Post
Virtuoso
posted Hide Post
Shankar

Missing can be awkward in Maintain, and you are correct to open a case. The issue is in the concatenation of 2 missing fields. However if you want a workaround, you can use:
.
.
declare EvestProdMapStk1.MandateDesc/A130V MISSING ON;
.
.
Case Top
SYS_MGR.FOCSET("NODATA", "") ;
.
.
repeat EvestProdMapStk1.FocCount
if EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION eq missing and EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT eq missing then EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = missing 
  else 
  if EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION eq missing then EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT 
    else 
    if EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT eq missing then EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION 
      else
      EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION || ' ' | EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT ;

.
.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Guru
posted Hide Post
quote:
if EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION eq missing and EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT eq missing then EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = missing
else
if EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION eq missing then EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT
else
if EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT eq missing then EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION
else
EvestProdMapStk1(EvestProdMapDispStk1Cnt).MandateDesc = EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_INVESTMENT_REGION || ' ' | EvestProdMapStk1(EvestProdMapDispStk1Cnt).FUND_ASSET_CLASS_SPLIT ;



Thanks Alan for your reply.But i have already tried this but it did not work.Is there any other workaround for this.

Thanks,
Anil


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report This Post
Virtuoso
posted Hide Post
Anil

Are you sure? This is code I have used many times and it has always worked for me. Have you tried displaying only a single field to ensure that the NODATA is correct?


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Guru
posted Hide Post
Hi Alan,
For single field,it is working fine but for computed field in which i concatenated two fields ,it did not work (showing . for null values).
When we concatenated the fields in one field at database end and then displayed it on Grid,it worked fine.

Thanks,
Anil


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report 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     Missing values in Maintain

Copyright © 1996-2020 Information Builders