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] How to a character '-' for blank values but not for MISSING or NULL values.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How to a character '-' for blank values but not for MISSING or NULL values.
 Login/Join
 
Gold member
posted
Hi,

For dispalying a value '-' for MISSING data, I know that We can use SET NODATA = '-'

My problem I have a field which is having a value blank but not 'NULL' kind of thing and

when I checked the length of that blank which it is showing 0(zero). Problem is in the HTML output

for MISSING data my hypen(-) character is showing but for blank kind of data which is having length 0

showing blank white space nothing it was showing. I thought the hypen(-) will be shown but it is not


Anyidea how to handle this kind of situation.

Thanks in Adavance

This message has been edited. Last edited by: Kerry,
 
Posts: 78 | Registered: January 07, 2008Report This Post
Virtuoso
posted Hide Post
When a value is blank (as opposed to NULL or MISSING) the NODATA character will not be displayed REGARDLESS of the field length. The only way around it is to redefine the field substituting '-' when the field is blank. If you want to preserve the missing values in the defined field, you'll need to add MISSING ON to the left of the equals sign.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Gold member
posted Hide Post
What if you don't want to print the field? I can't seem to figure how to do something like:
IF &variable IS MISSING THEN GOTO SKIP ELSE GOTO PRINT
-PRINT
" &variable "
-SKIP
...

or even somethink like:
IF &variable EQ '.' THEN GOTO SKIP else GOTO PRINT
-PRINT
" &variable "
-SKIP


Kevin Patterson
Appalachian State University
WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 57 | Registered: February 29, 2012Report 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] How to a character '-' for blank values but not for MISSING or NULL values.

Copyright © 1996-2020 Information Builders