SEQUENCE Keyword (OMS command)

SEQUENCE is an alternative to DIMNAMES that uses positional arguments. These positional arguments do not vary based on output language or output display settings. The SEQUENCE keyword must be followed by an equals sign (=) and a list of positional arguments enclosed in square brackets.

  • The general form of a positional argument is a letter indicating the default position of the element--C for column, R for row, or L for layer--followed by a positive integer indicating the default position within that dimension. For example, R1 would indicate the outermost row dimension element.
  • A letter indicating the default dimension followed by ALL indicates all elements in that dimension in their default order. For example, RALL would indicate all row dimension elements, and CALL by itself would be unnecessary since it would not alter the default arrangement of the table. ALL cannot be combined with positional sequence numbers in the same dimension.
  • SEQUENCE=[CALL RALL LALL] will put all dimension elements in the columns. With FORMAT=SAV, this will result in one case per table in the data file.

Example

OMS
 /SELECT TABLES 
 /IF COMMANDS = ['Regression'] SUBTYPES = ['Coefficient Correlations']
 /DESTINATION FORMAT = SAV OUTFILE = '/mydir/myfile.sav'
 /COLUMNS SEQUENCE = [R1 R2].
Figure 1. Positional arguments for dimension elements
Positional arguments for dimension elements