sequenceNumbers parameter

Use the sequenceNumbers parameter to set or query the size, type, and location of the sequence numbers.  The sequence numbers may consist of a numeric part, a text part, or a numeric part and an adjacent text part.

 

Availability

query command
set command
current parameter
default parameter
install parameter

 

Scope

sequenceNumbers is scoped to the current view's document.
current.sequenceNumbers is scoped to the current view's document.
default.sequenceNumbers is globally scoped.
install.sequenceNumbers is globally scoped.

 

Syntax

query sequenceNumbers
set sequenceNumbers [ default
                    | numColumn numWidth [ textColumn textWidth ]
                    ]
query current.sequenceNumbers
query default.sequenceNumbers
set default.sequenceNumbers [ install
                            | numColumn numWidth [ textColumn textWidth ]
                            ]
query install.sequenceNumbers 

 

Parameters

default If you specify the default parameter for the set sequenceNumbers command, the current document will use the value of default.sequenceNumbers to determine the sequence numbers.
numColumn numWidth
textColumn textWidth
If you specify the width and column parameters for the set sequenceNumbers command, the specified width and column will be used to determine the current document's sequence numbers.  If you specify the width and column parameters for the set default.sequenceNumbers command, the specified width and column will be used to determine the sequence numbers for all of the documents that have sequenceNumbers set to default.

Use the numColumn parameter to specify the starting column of the numeric part of the document's sequence numbers, and the numWidth parameter to specify its width.
Use the textColumn parameter to specify the starting column of the text part of the document's sequence numbers, and the textWidth parameter to specify its width.
install If you specify the install parameter for the set default.sequenceNumbers command, all of the documents that have sequenceNumbers set to default will use the value of install.sequenceNumbers to determine the document's sequence numbers.

 

Description

If you do not specify any of the parameters for the set sequenceNumbers command, default is assumed.  If you do not specify any of the parameters for the set default.sequenceNumbers command, install is assumed.

The query current.sequenceNumbers command returns the sequence numbers settings being used by the current document.

 

Examples

query sequenceNumbers
query current.sequenceNumbers
query default.sequenceNumbers
set default.sequenceNumbers install
query install.sequenceNumbers 
To define the sequence numbers as iSeries sequence numbers consisting of a 6-digit numeric part followed by a 6-digit (date) text part, you can use this command:
set sequenceNumbers 1 6 7 6
To define the sequence numbers as an 8-digit MVS sequence number appearing in columns 73 to 80 of a line, use:
set sequenceNumbers 73 8

Related reference
query command
resequence command
set command
current parameter
default parameter
install parameter
maintainSequenceNumbers parameter
sequenceDefaultText parameter
sequenceNumber parameter
sequenceNumbersFormat parameter
sequenceText parameter