Syntax for LEI Scripted Activities - 3
When writing LotusScript® Extensions (LC LSX) scripts for IBM® Lotus Enterprise Integrator® (LEI) Scripted activities, you must specify Dim LCSession as a named session (this becomes the default log document name). LCConnections must also be dimensioned as existing, named LEI connection documents.
An example statement of the proper syntax is shown as follows:
Uselsx "*lsxlc"
Sub Initialize
DIM MyLEISession As New LCSession ("MainLEISession")
Dim MyNotesConnection As New LCConnection("MyNotesConn")
Dim MyOracleConnection As New LCConnection("MyOracleConn")
In the previous example, the "MainLEISession" is the session name. The "MyNotesConn" and "MyOracleConn" are existing, named connection documents.