IBM 15 Switch User Manual


 
69
Building Streams
Parameters can also be set for SuperNodes, in which case they are visible only to nodes
encapsulated
within that SuperNode.
To Set Stream and Session Parameters through the User Interface
E To set stream parameters, on the main menu, click:
Tools > Stream Properties > Parameters
E To set session parameters, click Set Session Parameters on the Tools menu.
Figure 5-25
Setting parameters for the session
Prompt?.
Check this box if you want the user to be prompted at runtime to enter a value for
this parameter.
Name.
Param eter names are listed here. You can create a new parameter by entering a name in this
eld. For example, to create a parameter for the minimum temperature, you could type
minvalue
.
Do not include the
$P-
prex that denotes a parameter in CLEM expressions. This name is also
used for display in the CLEM Expression Builder.
Long name.
Lists the descriptive name for each parameter created.
Storage.
Select a storage type from the list. Storage indicates how the data values are stored in
the parameter. For example, when working with values contain ing leading zeros that you want
to preserve (such as 008), you should select String as the storage type. Otherwise, the zeros
will be stripped from the value. Available storage types are string, integer, real, time, date, and
timesta mp. For date parameters, note that values must be specied using ISO standard n otation as
shown in the next paragraph.
Value.
Lists the current value for each parameter. Adjust the parameter as require d. Note that for
date parameters, values must be specied in ISO standard notation (that i s, YYYY-MM-DD). Dates
specied in other formats are not accepted.
Type (optional).
If you plan to deploy the stream to an exte
rnal application, select a measurement
level from the list. Otherwise, it is advisable to leave the Type column as is. If you want to
specify value constraints for the parameter, such as upper and low er bounds f or a numeric range,
select Specify fro m the list.