Page History
...
NOTE: This activity imposes a maximum number of list items that can be sorted. If the variable list contains more than the maximum, the activity will end in error. The maximum is usually 9,999. However, using variable lists of this extent is generally NOT recommended in the context of this activity or any other aspect of LANSA Composer variable list processing.
INPUT Parameters:
SEQUENCE: Optional
This parameter specifies whether the variable list(s) should be sorted in ascending (*ASCEND) or descending (*DESCEND) order of the values in the list specified by the SORTLIST1 parameter.
INPUT and Output Parameters:
SORTLIST1: Required
Specifies the first variable list to be sorted. If more than one list is specified, it is the values in THIS list that are used to sort ALL the lists in parallel. This parameter must be specified.
SORTLIST2
SORTLIST3
SORTLIST4
SORTLIST5: Optional
You may specify up to four additional variable lists to be sorted in "parallel". If you use these parameters you must specify them contiguously - LANSA Composer will stop looking after the first unused parameter. Each list specified here must have exactly the same number of list items as the list specified in the SORTLIST1 parameter - otherwise the activity will end in error.