SEQUENCE | NOSEQUENCE
Category
Compiler input
Pragma equivalent
Purpose
Specifies the columns used for sequence numbers.
Syntax
For C++ (fixed record format, variable record format, and the z/OS® UNIX System Services file system):
.-NOSEQ----------. >>-+-SEQ--+-------+-+------------------------------------------>< '-(m,n)-'
For C (fixed record format, variable record format, and the z/OS UNIX file system):
.-SEQ--(--m,n--)-. >>-+-NOSEQ----------+------------------------------------------><
Defaults
- For C++ fixed record format, variable record format, and the z/OS UNIX file system, the default is NOSEQUENCE.
- For C variable record format and the z/OS UNIX file system, the default is NOSEQUENCE.
- For C fixed record format, the default is SEQUENCE(73,80).
- The default values for C++ SEQUENCE are columns 73 to 80.
Parameters
- m
- Specifies the column number of the left-hand margin. The value of m must be greater than 0 and less than 32760.
- n
- Specifies the column number of the right-hand margin. The value of n must be greater than m and less than 32760. An asterisk (*) can be assigned to n to indicate the last column of the input record. Thus, SEQUENCE (74,*) shows that sequence numbers are between column 74 and the end of the input record.
Usage
When the SEQUENCE compiler option is in effect, it defines the section of the input record that is to contain sequence numbers. No attempt is made to sort the input lines or records into the specified sequence or to report records out of sequence.
You can use the MARGINS and SEQUENCE options together. The MARGINS option is applied first to determine which columns are to be scanned. The SEQUENCE option is then applied to determine which of these columns are not to be scanned. If the SEQUENCE settings do not fall within the MARGINS settings, the SEQUENCE option has no effect.
Predefined macros
None.
Related information
For further information on the MARGINS compiler option, see MARGINS | NOMARGINS.