SEQUENCE and ENDSEQ Statements
SEQUENCE and ENDSEQ statements syntax
SEQUENCE | POS=BEGIN|END|LVTOC|RVTOC|VTOC|ccccccchhhh |
---|---|
SELECT DSN= statements | |
ENDSEQ |
SEQUENCE statement
This statement is used when you wish to position a number of data sets, yet want to establish a positional relationship among the data sets. In essence, the SEQUENCE statement allows you to treat its member data sets as a single sequenced group for purposes of positioning. The SEQUENCE statement must be followed by one or more SELECT DSN= statements specifying fully-qualified data set names (no filters) to define the members of the set, and an ENDSEQ statement delimiting the end of the set. The positioning sequence for members of a set is implicit in the sequence of the SELECT statements; that is, the first named data set is positioned first, followed by the second named data set, and so on. A SELECT ***VTOC may also be included in the sequenced set to position the VTOC as part of the set, and to position data sets around the VTOC (see VTOC SELECT Statement for information on moving the VTOC).
ENDSEQ statement
This statement must be used to delimit a sequenced set. It must follow the last SELECT statement naming a member of the sequenced set.
SEQUENCE statement operands
The set is to be placed as near the beginning of the DASD volume as possible.
The set is to be placed as near the end of the DASD volume as possible.
The set is to be placed as close to the VTOC as possible, on the left side (lower numbered tracks) of it.
The set is to be placed as close to the VTOC as possible, on the right side (higher numbered tracks) of it.
The set is to be placed as near the VTOC as possible, on either side of it.
ccccccchhhh
Code an 5 to 11 digit decimal cylinder and head address, when you wish to specify an absolute position for the first track of the first data set in the set. The first 1 to 7 digits are the decimal cylinder number (at least 1 “c” value must be specified) and the last 4 are the decimal track number which must always be 0000 since sequence sets always start on a cylinder boundary. The cylinder address is relative to zero. POS=00000000 is invalid. CPK will fail if this address causes any data set in the set to overlap with an unmovable data set or another absolute positioned data set. A minimum of 5 digits must be specified.
Default: POS=VTOC.