IBM Streams 4.2

Directing the compiler to the toolkit directory

To use the operators and functions that are defined in a toolkit, you first need to point the SPL compiler to the toolkit root directory.

Procedure

Set the STREAMS_SPLPATH environment variable to the root directory of a toolkit or multiple toolkits (use : as a separator). As an alternative, pass the toolkit location to the compiler directly with the sc -t option. If you are invoking the streams compiler from the comand line or makefile, add the toolkit directory using the -t or --toolkit option. Note this overrides STREAMS_SPLPATH environment variable, but can also be specified as -t <your_toolkit_path>:$STREAMS_SPLPATH.