set med = ‘parget median histat‘
would redirect the output to shell variable med, and thus a reference to $med would substitute the median value obtained the last time application HISTAT was invoked. If the parameter comprises a vector of values these can be stored in a C-shell array. For instance,
set perval = ‘parget perval histat‘
would assign elements of the shell array perval, perval, etc. to the
last-computed percentile values of HISTAT. For other scripting languages such as
Python, the alternative vector format produced by setting parameter VECTOR to
be more appropriate.
Single elements of an parameter array may also be accessed using the array index in parentheses.
TRUE, then vector parameters will be displayed as a comma-separated list of values enclosed in square brackets. If FALSE, vector values are printed as a space-separated list with no enclosing brackets. Additionally, if VECTOR is TRUE, string values (whether vector or scalar) are enclosed in single quotes and any embedded quotes are escaped using a backslash.
The parameter file is located in the
$ADAM_USER directory, if defined, otherwise in the
adam subdirectory of
$HOME. If it cannot be located there, the task reports an
The parameter must exist in the selected application parameter file and not be a structure, except one of type ADAM_PARNAME.
This task is not designed for use with ICL, where passing parameter values is quite straightforward. It does not operate with monolith parameter files.