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     WHERE IN FILE errors on spaces

Read-Only Read-Only Topic
Go
Search
Notify
Tools
WHERE IN FILE errors on spaces
 Login/Join
 
<Pooch>
posted
I'm trying to use the values from a hold file to delimit a query using the 'where in file' clause.

It behaves as expected, but errors out when the value in the hold file has a space.

TABLE FILE WTF
ON TABLE HOLD AS LIM FORMAT ALPHA
PRINT RC1 AS VALID
BY HIGHEST 3 SRCNT NOPRINT
END

TABLE FILE SUMRY
SUM
LOB
RC1
SRCNT
BY
LOB NOPRINT
BY
RC1 NOPRINT
WHERE
RC1 IN FILE LIM

END


Works when RC1 = 'Unknown' but not when RC1='Customer Site' gives error:

0 ERROR AT OR NEAR LINE 223 IN PROCEDURE _ADHOCRQFOCEXEC *
(FOC272) FORMAT ERROR IN DECODE OR FILE ELEMENT: Site
(FOC009) INCOMPLETE REQUEST STATEMENT


Does anyone know a workaround?

Thanks in advance...
Jason
 
Report This Post
Expert
posted Hide Post
sure,you need to create your file with each element in quotes.
'Unknown'
'Customer Site'
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Platinum Member
posted Hide Post
Are you sure that the field RC1 has the same
format definition in the two data files?
Blanks don't make a difference, but the length
of the literal value may exceeed what you
described in the second file.
 
Posts: 226 | Registered: June 08, 2003Report This Post
<Pooch>
posted
Thanks Susannah!!!

That worked perfectly (and I never would have thought of it)!!

Having seen a number of your posts and forum involvement you've definately earned your 'Platinum' status.

Jason
 
Report 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     WHERE IN FILE errors on spaces

Copyright © 1996-2020 Information Builders