IBM InfoSphere Streams Version 4.1.0

Submission-time values

You can provide values for arguments to your SPL application at the time of submission.

SPL supports submission-time values, which are arguments that are specified at the time of application launch. These values need to be specified when the application is launched. The values can then be accessed from within SPL code through the following three submission-time value access functions:

rstring getSubmissionTimeValue(rstring name)

rstring getSubmissionTimeValue(rstring name, rstring default)

list<rstring> getSubmissionTimeListValue(rstring name)

Submission time values are specified as <name>=<value> on the application launch command line. The name part is an identifier, as in myParam. It matches the name parameter that is specified in calls that are made to the submission-time value access functions from within the SPL code.

Streams Studio provides tools to help you enter and manage submission-time values. When your application is launched, Streams Studio detects if submission time values are required for the application that is launched. If submission-time values are required, you are prompted to enter the submission-time values. The launch configurations save these values and reuse them on subsequent launches. You can also configure your launch to always prompt for the submission-time values giving you an opportunity to change the values before launch.