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     (FOC002) A WORD IS NOT RECOGNIZED: SET

Read-Only Read-Only Topic
Go
Search
Notify
Tools
(FOC002) A WORD IS NOT RECOGNIZED: SET
 Login/Join
 
Platinum Member
posted
Hi Everyone

I am getting that error message in my reports when I have -SET &ECHO=ALL;. But the reports work perfectly, so it is some kind of warning message I assume. This makes me nervous since I have seen errors like this that start to crash at some point.

Anybody have any idea what might trigger this?My report has a ton of ampers in it but they are all working fine.

Thanks

Jodye


WF 8.0.0.5M
 
Posts: 246 | Location: Montreal, QC, Canada | Registered: October 01, 2003Report This Post
Virtuoso
posted Hide Post
Would it be possible for you to post the line(s) before the '-SET', sounds as if something in the previous line is causing issues.


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

Watch out for missing semi colons after any -SET. It's the normal reason that folks get this message.

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, 2004Report This Post
Platinum Member
posted Hide Post
Hi Leah and Tony

I found the problem. I was debugging something and had an exit right after table file. Like this...

TABLE FILE CAR
-EXIT

this triggers the error. Which is a strange error given that there is no SET.

I am sure I have seen that error in the past in reports that work perfectly. Do a view source of the html and there is the error at the very end. But I do not have anything to reproduce that right now.

Thanks!


WF 8.0.0.5M
 
Posts: 246 | Location: Montreal, QC, Canada | Registered: October 01, 2003Report This Post
Virtuoso
posted Hide Post
Try forgetting the END sometime, you get a real strange one. As we say, been there, done that.


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

Leah is correct, any time you have "TABLE FILE FILENAME" without an "END" you will get the following error.

(FOC002) A WORD IS NOT RECOGNIZED: SET
BYPASSING TO END OF COMMAND
(FOC009) INCOMPLETE REQUEST STATEMENT

After it happens enough, you don't think you just go to your fex and begin to look for the section that is missing an "END".


Glenda

In FOCUS Since 1990
Production 8.2 Windows
 
Posts: 301 | Location: Galveston, Texas | Registered: July 07, 2004Report This Post
Guru
posted Hide Post
Ive had the same experience as Glenda, as you go on there are a number of errors you will begin to recognise straight away and be able to fix. In fact these two errors still happen to me when im doing multi-statement fex's but ill just flick through it looking for the missing 'END'

if you type in

? (number from error code)

like this:

? 002

and turn the 'display command lines on'

you'll get this description

0(FOC002) A WORD IS NOT RECOGNIZED:A word which is not a reserved word begins a phrase. A reservedword may have been misspelled or there is a syntax error. Reservedwords are IF, BY, AND, etc.:

works for all the error codes ive tried so far and can be a good way of learning more about the errors you may come across

also you can find a summary of all error descriptions here:


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Guru
posted Hide Post
quote:
Originally posted by nubi:
for some reason that url didn't post- let's try that again:

WF Error Descriptions

Wink


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Platinum Member
posted Hide Post
Suggestion: when issuing TABLE FILE XXX
issue an 'END' on the next line right away, and then just insert blank lines to write the body of the code. OR when code is completed use your editor do a find on 'table file', note the line number. then do a search on 'end' if you run into two 'table file' commands without an end in between you know what to do. or if you do not run into ANY 'end' commands for a single table file command - same thing. Good luck..
Ira wf 5.3.x aix 533


aix-533,websphere 5.1.1,apache-2.0,
wf 538(d), 537 (p),
==============
7.6.11 (t) aix 5312
websphere 6.1.19
apache 2.0
 
Posts: 195 | Registered: October 27, 2006Report 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     (FOC002) A WORD IS NOT RECOGNIZED: SET

Copyright © 1996-2020 Information Builders