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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
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)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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, 2008Report This Post
Expert
posted Hide Post
Whats the code ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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-2020 Information Builders