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     View with Linked Servers

Read-Only Read-Only Topic
Go
Search
Notify
Tools
View with Linked Servers
 Login/Join
 
Silver Member
posted
We have a view set up on Server A that pulls data from Server B. The view works fine through sql server and we can select info from it etc. We set up metadata to point to the view on Server A and tried write a proceedure to just pull the data just like a simple select statement. We're getting this error

(FOC1400) SQLCODE IS 8501 (HEX: 00002135) XOPEN: 42000
: Microsoft OLE DB Provider for SQL Server: [42000] MSDTC on server 'SERVER B' is unavailable. [01000] OLE DB error trace [OLE/DB Provider 'SQLOLE
: DB' ITransactionJoin::JoinTransaction returned 0x8004d01c]. [42000] The
: operation could not be performed because the OLE DB provider 'SQLOLEDB'
: was unable to begin a distributed transaction. [] Deferred prepare could
: not be completed.
L (FOC1406) SQL OPEN CURSOR ERROR. : VIEWREQHOURS

Is there something special we need to do with setting up the metadata when its pulling from a linked server?
 
Posts: 45 | Registered: March 18, 2005Report This Post
Gold member
posted Hide Post
Are you saying that the view you created on server A is a MS SQL Server view of the base table on server B, and then you created a synonym (MFD) for this view?
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
Silver Member
posted Hide Post
You are almost correct.

I am saying that the view I created on server A is a MS SQL Server view of the base table on server A AND another table on Server B. and then I created a synonym (MFD) for this view.
 
Posts: 45 | Registered: March 18, 2005Report This Post
Gold member
posted Hide Post
I'm sorry, I can't think of anything and I have exhausted all my other resources. That is assuming that this view works outside of WebFOCUS. I tried googling something about it and didn't find anything either...
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
Expert
posted Hide Post
Hi all,

FYI, the following online document may be of interest for this issue:

SQLCODE 8501 : trying to report from MSSQL view

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report 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     View with Linked Servers

Copyright © 1996-2020 Information Builders