OUT Clause

Used in the LOAD MODULE statement to expose outputs in the module to the parent scope.

Syntax

OUT
		output1-inModule = output1-parentScope [,...]

Components

output1-inModule

The name of the output defined in the module.

output1-parentScope

The name by which the output is exposed to the parent scope.

Usage

The exposed output stream created by the LOAD MODULE statement has local visibility, meaning that you cannot attach an output adapter directly to the output stream directly. Outputs are exposed to the parent scope using the output1-parentScope identifier. The output mapping provides a unique name for the module output so that it can be referred to in the parent scope.

Restrictions

Example

This example exposes the outputs of the module, modFilteredOut and marketAverageOut, using the respective names filteredOut and averageOut.

LOAD MODULE filterModule AS filter1
IN modMarketIn=marketIn1
OUT modFilteredOut=filteredOut, marketAverageOut=averageOut;