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  iWay Software Product Forum on Focal Point    [CASE-OPENED] iDM Function in sub-select

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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: 1 | Registered: May 09, 2013Report 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
 
Report 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    [CASE-OPENED] iDM Function in sub-select

Copyright © 1996-2020 Information Builders