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 working with an unfamiliar report that looks a little complicated. I am trying to create a Define to combine a field and another Define. I know both fields have data in them but when I check my Define syntax, I get (FOC305) SPECIFIED LABEL NOT FOUND: NODATA.
My define: combo/A100=PRIMARY_REGION_NAME || ('-' || DISPLAY_ACCOUNT_TYPE);
The code in the other Define is: DISPLAY_ACCOUNT_TYPE/A8= IF (CUSTOMER_ACCT_CLASSIFICATION EQ 'B') THEN 'Business' ELSE IF (CUSTOMER_ACCT_CLASSIFICATION EQ 'R') THEN 'Retail' ELSE ' ';
I tried using CUSTOMER_ACCT_CLASSIFICATION in my Define, but I still got the same error.
Can anyone help me decifer this error message.
Thank you. Morgan
Posts: 21 | Location: NC, USA | Registered: June 12, 2006
The error you are getting is indicative of a problem with a dialog manager statement. If Leah's suggestion doesn't work, please post all your code. It'll be easier for us to spot any issues that way.
ttfn, kp
Access to most releases from R52x, on multiple platforms.
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003
I've received this error message in the past when there are duplicate labels in the focexec. Look for two labels that are exactly the same and change/fix one, it could be the problem??? Good Luck!
-NODATA some code
-NODATA
WebFOCUS 7.6.6/TomCat/Win2k3
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003
I concur with Carol. This has bitten me, too. Check ALL your code, including any -INCLUDEs. Your DEFINE may have broken the TABLE request (don't know enough about it, like original field lengths, etc.), so &LINES may be 0 this time, and therefore trying to branch to -NODATA. You just may not have it this condition before.
PROD:WebFOCUS 7.6.11 on UNIX accessing FOCUS, Oracle, SQLServer TEST: WebFOCUS 7.7.1 on UNIX accessing FOCUS, Oracle, SQLServer
Posts: 28 | Location: USA | Registered: March 24, 2005
All of these are possible causes for the error - (FOC305) SPECIFIED LABEL NOT FOUND: NODATA.
As Piipster stated, if none of these suggestions are working, then posting all your code would be the easiest way for one of us to try and troubleshoot it.
What you are trying to do should work. Here's an example:
-SET &CARDESC = 'BMW-SPORT';
DEFINE FILE CAR CAR_CLASS/A10 = DECODE BODYTYPE(CONVERTIBLE SPORT SEDAN FAMILY HARDTOP SPORT COUPE SPORT ROADSTER SPORT ELSE '');
CAR_DESC_NO1/A100 = CAR||('-'||CAR_CLASS); END TABLE FILE CAR PRINT BODYTYPE MODEL BY CAR_DESC_NO1 WHERE CAR_DESC_NO1 EQ '&CARDESC' ON TABLE HOLD AS DATAPULL END
-IF &LINES EQ 0 THEN GOTO NODATA;
TABLE FILE DATAPULL PRINT BODYTYPE MODEL BY CAR_DESC_NO1 WHERE CAR_DESC_NO1 EQ '' ON TABLE PCHOLD FORMAT EXL2K END -EXIT
-NODATA DEFINE FILE CAR MESSAGE/A50 = 'NO RECORDS FOUND WHERE CAR DESC EQ '|'&CARDESC'; END
TABLE FILE CAR PRINT CAR NOPRINT MESSAGE AS '' WHERE RECORDLIMIT EQ 1 ON TABLE PCHOLD FORMAT EXL2K END -EXIT