Nancy Costantini 2.May.07 01:29 PM a Web browser LEI LEI - 6.5 All Platforms
I have a scripted activity to update a Notes database from DB2. Script is in the LEI vault and runs fine if I hardcode all the database parameters in the script.
I would like to use the LEI connection documents to get the appropriate Notes and DB2 database info, rather than hardcoding in the script. The connection docs are already set up in the LEI Administrator because of replication activities.
Accessing the Notes connector doc works just fine:
Set conFld = LCnotes.GetProperty( LCTOKEN_DATABASE )
dbname = conFld.Text(0)
gets me the Notes db.
Doing the same to DB2 doesn't work consistently. What I want most is the Metadata name, which is definitely defined in the connection document (doc does have a Metadata field, and the value is filled in). But
Set conFld = LCdb2.GetProperty( LCTOKEN_METADATA )
db2meta = conFld.Text(0)
gets me nothing.
I know I am reaching DB2 connection doc since I can pull other LCTOKEN values (like DATABASE) and print them in the log.
I have been all over the forum and the LCLSX guide, and have found nothing to explain why this Metadata token is impossible to get.