Sort(sortkey_id, value_1[, value_2,..value_n]);
sortkey_id
value_1
.
.
value_n Each sort key requires a type definition line in a file named sortdef that defines the types (str or num) of the sort keys.Syntax of type definition line in sortdef file:sortdef "key identifier" type_1 [type_2 ...]Used in a Before Process script to assign one or more sort keys to a Message. StreamServe sorts the Messages in the job according to the specified sort keys.
Note: The Sort function requires a sortdef file that contains lists of data types. You must include the name of this file, sortdef, in the StreamServer startup argument file (Start.arg). The function is not supported in Post-processor scripting.
0 -1 sort("inv", $invno);
OpenText StreamServe 5.6 | Updated: 2013-03-01 |