itp_parameter (k)

The itp_parameter (k) function retrieves the value that has been set by the last ITP Model for the key "k". An ITP model sets this value by calling the function itpserver_parameter ("k"; "value").

If no ITP model has previously been run by the job or if the last ITP Model did not set a value for the key "k" the itp_parameter (k) function returns an empty string.

Note

The itp_parameter(...) function combined with the itpserver_parameter(…) function in the ITP Model language is the recommended way of passing data from an ITP Model to the calling ITP/Server script.

Note

The itp_parameter data is part of the session data and persists over jobs until the next ITP Model is run.

Note

This function is used to retrieve information from the ITP Model. The ITP Model can use the runmodel_setting, itpserver_setting and environment_setting to retrieve information from its context. Refer to the model developer's Help for more information on the runmodel_setting, itpserver_setting and environment_setting functions.