Syntax for HEI Scripted Activities - 6

When writing LotusScript® Extensions (LC LSX) scripts for HEI 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 HCL Enterprise Integrator (HEI) 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.