Syntax for HEI Scripted Activities - 7

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