Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Enterprise Integration Forum

Enterprise Integration Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

RE: GetProperty(LCTOKEN_METADATA) returns nothing for DB2
Robar T Mike 20.Jun.08 09:33 PM a Web browser
LEI LEI - 6.5 All Platforms


Has anyone found a resolution for this issue? I'm experiencing the same problem. I have an LEI connection defined (let's call it "myconnection"). I am pointing to a DB2 table with owner "TSSTST" and Name "PD7". I would expect LCTOKEN_METADATA to return "TSSTST.PD7", but it returns an empty string. Here is a code snippet:

---------
Dim S As NotesSession
Dim Activity As LCSession
Dim connector_src As LCConnection
Dim strOwner As String
Dim strMetadata As String

Set S = New NotesSession
Set Activity = New LCSession("My Test Activity")
Set connector_src = New LCConnection ( "myconnection" )

Dim lcf As New LCField (LCTYPE_TEXT)
connector_src.Connect
Set lcf = connector_src.GetProperty(LCTOKEN_USERID)
strOwner = lcf.GetStream(1, LCTOKEN_TEXT_FORMAT).Text

Set lcf = connector_target.GetProperty(LCTOKEN_METADATA)
strMetadata = lcf.GetStream(1, LCTOKEN_TEXT_FORMAT).Text
Call Activity.LogText(LCLOGSTREAMF_EVENT, "LCTOKEN_METADATA: " & strMetadata, 0)
Call Activity.LogText(LCLOGSTREAMF_EVENT, "LCTOKEN_OWNER: " & strOwner, 0)
---------


Neither the metadata nor owner gets populated.




GetProperty(LCTOKEN_METADATA) retur... (Nancy Costantin... 2.May.07)
. . RE: GetProperty(LCTOKEN_METADATA) r... (Joseph Denhup 10.May.07)
. . RE: GetProperty(LCTOKEN_METADATA) r... (Robar T Mike 20.Jun.08)
. . Solution (Fabrice Papirny... 29.Mar.17)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite