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     SPECIFIED LABEL NOT FOUND: NODATA

Read-Only Read-Only Topic
Go
Search
Notify
Tools
SPECIFIED LABEL NOT FOUND: NODATA
 Login/Join
 
Member
posted
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, 2006Report This Post
Virtuoso
posted Hide Post
Is there a NODATA statement in the FEX anywhere that might have been corrupted?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Member
posted Hide Post
I did find these to lines of code.

-IF &LINES EQ 0 THEN GOTO NODATA;
-NODATA

When you look at the physical view tab in Developer Studio (7.1.1), I see a DM Label with -NODATA

Could this be why I am getting this error? Do you know how I can use that Define in my Define? Thank you for your help!

Morgan
 
Posts: 21 | Location: NC, USA | Registered: June 12, 2006Report This Post
Virtuoso
posted Hide Post
I have a feeling you are being bit by the fact you are using a 'reserved' word for a goto label, try changing it to deadrpt or some such.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Guru
posted Hide Post
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, 2003Report This Post
Guru
posted Hide Post
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, 2003Report This Post
Member
posted Hide Post
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, 2005Report This Post
Guru
posted Hide Post
Morgan,

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


Glenda

In FOCUS Since 1990
Production 8.2 Windows
 
Posts: 301 | Location: Galveston, Texas | Registered: July 07, 2004Report 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     SPECIFIED LABEL NOT FOUND: NODATA

Copyright © 1996-2020 Information Builders