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    [CASE-OPENED] iDM Function in sub-select
Go
New
Search
Notify
Tools
Reply
  
[CASE-OPENED] iDM Function in sub-select
 Login/Join
 
Member
posted
Hi,

I'm using:
-*DM_CLIENT_RELEASE_GEN=M728100D_827
-*DM_SERVER_RELEASE_GEN=M728100D_827

I'm trying to do a function call to a sqlserver 2008 r2 function within a sub-select.

SQL PREPARE SQLIN FROM
SELECT
T1.FIELD_1 ,
T1.FIELD_17 ,
(SELECT MIN(SQ.@RETURN_VALUE ) FROM
MAITLAND.GETINSTRUMENTIDENTIFER SQ WHERE SQ.@FROMTYPECODE = 'InstCode' AND
SQ.@TARGETTYPECODE = 'BbgUniqID' AND
SQ.@FROMREFERENCEVALUE = T1.FIELD_17 ) AS INST
FROM
corporateactions T1
END
-RUN
When I run the flow I get the following error:
(FOC1400) SQLCODE IS 201 (HEX: 000000C9) XOPEN: 42000
Microsoft SQL Server Native Client 10.0: [42000] Procedure or function '
getInstrumentIdentifer' expects parameter '@FromReferenceValue', which was not supplied.
(FOC1406) SQL OPEN CURSOR ERROR.

SQ.@FROMREFERENCEVALUE = T1.FIELD_17...why is this not working?
When I use a normal sub-select and refer to fields in the main select it works perfectly.

Please help!
Regards,
J

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


WebFOCUS 8.0.02M
Windows Server 2008 R2
iSM 6.1.6 - sp6.36971
DQC,MDC 8.01
DQIT 7.08
 
Posts: 7 | Registered: May 09, 2013Reply With QuoteReport This Post
<Kathryn Henning>
posted
Hi J,

It looks like you've got a case open and are working with Customer Support on this issue. Please keep us updated on the outcome.

Thanks and regards,

Kathryn
 
Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CASE-OPENED] iDM Function in sub-select

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