RE: GetProperty(LCTOKEN_METADATA) returns nothing for DB2 Robar T Mike 20.Jun.08 09:33 PM a Web browser LEI LEI - 6.5All 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