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.
I am getting a syntax error message on the following IF THEN ELSE statement.
IF J1.SEG01.LICENSE EQ '' THEN J0.SEG01.NONABACARDNUMBER ELSE J1.SEG01.LICENSE
I am trying to say if the field LICENSE is null then use NONABACARDNUMBER else use LICENSE
I am new to webfocus and couldn't find a function and/or not sure how to handle the 'null' scenario in a report section of a procedure.This message has been edited. Last edited by: <Kathryn Henning>,
What is the size and format of the 2 fields you're using in the if,,,then,,,else? The field on the left if the = sign must be the same size and format of those on the right side of the = sign.
As Tewy points out, you can use IS MISSING to test for missing data, but you can also use the IS-NOT MISSING syntax to test that there is data present.
8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
Posts: 1113 | Location: USA | Registered: January 27, 2015
You might want to check out the use of SET MISSING = ON/OFF, (also SET HOLDMISS and SET COMPMISS) and how they might change the way you check for missing values in differing data sources (e.g. RDBMS, HOLD files etc.)
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, 2004
Thanks folks I believe the issue is with checking from the Nonabacardnumber which is an I11 type and Licence is an A6 type. I did an FPRINT(ABACARDNUMBER,'I11','A11') to convert it and then tried the SUBSTR on that define and still couldn't get it to work. Anyone have ideas on how to convert an I11 to an A6? The field never has anything more than 6 characters in it.