When you use SEQUENCE, the compiler examines columns 1 through 6 to check that the source statements are arranged in ascending order according to their EBCDIC collating sequence. The compiler issues a diagnostic message if any statements are not in ascending order.
Source statements with blanks in columns 1 through 6 do not participate in this sequence check and do not result in messages.
| SEQUENCE option syntax |
|---|
|
Default is: SEQUENCE
Abbreviations are: SEQ|NOSEQ
If you use COPY statements and SEQUENCE is in effect, be sure that your source program sequence fields and the copybook sequence fields are coordinated.
If you use NUMBER and SEQUENCE, the sequence is checked according to numeric, rather than EBCDIC, collating sequence.
Use NOSEQUENCE to suppress this checking and the diagnostic messages.
related tasks
Finding line sequence problems