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
Concatenation
 Login/Join
 
<Torque>
posted
Hi,

I have to concatenate two A360 fields to produce an output.
Some records have these fields as empty/null and as a result on concatenation I get garbage values.
I have tried using TRIM before concatenation; STRIP after concatenation; IS-MISSING and replacing before concatenation, but none of them have worked.

Please help..

Thanks Smiler
 
Report This Post
Virtuoso
posted Hide Post
Have you tried passing the values separately in a hold file then concatenating from that point? I've found WebFOCUS will pass missing on as blanks or zeroes based on the format when coming out of a hold file.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
Try

SET HOLDMISS=ON

or

ON TABLE SET HOLDMISS ON

This seems to do the trick.

Here's a working example, just change the setting to OFF or ON to see the difference.

SET HOLDMISS=OFF
SET HOLDLIST=PRINTONLY
TABLE FILE CAR
SUM
SALES
MODEL/A360
CAR/A360
FOR COUNTRY
'ENGLAND' OVER
'FRANCE' OVER
'CANADA'
ON TABLE HOLD AS H001 
END
-RUN
DEFINE FILE H001
TEST1/A720 = MODEL | CAR;
END
TABLE FILE H001
PRINT 
E01
SALES
TEST1
END
-RUN


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders