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     [SOLVED] FOC262 error message

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] FOC262 error message
 Login/Join
 
Silver Member
posted
Just to put this one out there since I don't think there's anything on Focal Point about this one already.

I had created a report which builds two hold files, then joins them together for the final output.

The first hold file refers to some amper variables for filtering, and contains the FIND statements for them. The second hold file also uses these variables for filtering.

However, executing this fex, when I was selecting anything other than foc_none for the parameter, I always got FOC262.

Troubeshooting steps:
1. Created a vbscript to check for unbalanced parentheses - none found.
2. It was suggested that an AND might be too close to the bracket, ie AND(stuff..). Not found.
3. It was suggested that a WHERE line was too long, so I broke it up into pieces - no go.
4. It was suggested to try .QUOTEDSTRING on the FIND statement for the amper variable - no go.


After plenty of poking around, I finally got it.

Although I had used Report Painter to create the WHERE statement, it had put single quotes around the amper variables, and I'm not sure why.

So Report Painter had put:
WHERE J6.EMPLOYMENT.SUPERVISOREMPLOYEENUMBER EQ '&SUPERVISOREMPLOYEENUMBER';
and the correct syntax would be
WHERE J6.EMPLOYMENT.SUPERVISOREMPLOYEENUMBER EQ &SUPERVISOREMPLOYEENUMBER;

Just in case anyone happens upon this one, or for myself to find when this one strikes again...

Keith


WebFOCUS & DataMigrator 7.7.03M
Windows 2003, Windows 2008 x64
 
Posts: 35 | Registered: May 11, 2011Report This Post
Member
posted Hide Post
Keith, does the variable &SUPERVISOREMPLOYEENUMBER is a multiselect one ?

If so, Composer (Layout) provide the variable values with the proper inclosed quotes so you don't need it in the WHERE clause of the fex (must be removed as you did).

Report Painter cannot know if the variable is a multi select or not, so it always put quotes.


WF 7.6.11 HF4 gen34, WF 7.7.03 gen 253,
Windows 64 bit
Excel, PDF, HTML
 
Posts: 18 | Registered: December 06, 2007Report 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     [SOLVED] FOC262 error message

Copyright © 1996-2020 Information Builders