Utility Package
OUTNVP Methods
OUTNVP.Collect Method
rc=obj.Collect (Variable,<Utag>);
Stores a numeric type, either scalar literal or variable or array variable in the OUTNVP table. When the Variable parameter is a numeric scalar literal or variable, this method collects a single row into the OUTNVP table. When the Variable parameter is a numeric array variable, this method collects a sequence of rows for the span of indices in the array. If the optional parameter Utag is specified, its value is included in the _UTAG_ column of each collected OUTNVP row. The name of the collected variable is also included in the _NAME_ column of each collected OUTNVP row. Similarly, the value of a counter that counts the number of calls to this method that are made within a BY group is also included in column _CALL_ of each OUTNVP row. A negative return value indicates that an error occurred while storing results into a table.
Input Arguments
You must specify the following input arguments:
- Variable
specifies a numeric array to be collected into the OUTNVP table.
You can also specify the following input argument:
- Utag
takes a numeric value that is included in the _UTAG_ column of the OUTNVP table. The default value is a missing value.