Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CLOSED] Do we have any problem in "IN FILE" concept (where condition)
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Do we have any problem in "IN FILE" concept (where condition)
 Login/Join
 
Gold member
posted
Do we have any problems faced in "IN FILE"
one week back i was using "IN FILE" in where condition.
now if i try to use same condition, report fails

(FOC1400) SQLCODE IS 936 (HEX: 000003A8)
: ORA-00936: missing expression
: Error context area: "COLUMN_NAME" IN(, , , ,
L (FOC1406) SQL OPEN CURSOR ERROR. : TABLE_NAME

if you observe closely IN list contains null values.

does anybody have any inputs on this error?

Regards,
Santhosh

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.0.0.7 App Studio
 
Posts: 67 | Registered: September 26, 2008Reply With QuoteReport This Post
Expert
posted Hide Post
Whats the code ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6131 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Master
posted Hide Post
Your file should have a separate value on every line and be formatted like this:
value 1
value 2
...
value n


Note that if the values are alpha, WebFOCUS will put the quotes around the string.

As testing for NULL in an IN clause, that never returns a true or false value. See this:

Understand how NULLs affect IN and EXISTS


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 938 | Location: Oklahoma City | Registered: October 27, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CLOSED] Do we have any problem in "IN FILE" concept (where condition)

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.