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

POS=
BEGIN

The set is to be placed as near the beginning of the DASD volume as possible.

END

The set is to be placed as near the end of the DASD volume as possible.

LVTOC

The set is to be placed as close to the VTOC as possible, on the left side (lower numbered tracks) of it.

RVTOC

The set is to be placed as close to the VTOC as possible, on the right side (higher numbered tracks) of it.

VTOC

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.

Warning

Important

  • wIf the VTOC is itself part of the set (SELECT ***VTOC) POS=VTOC implies POS=MIDDLE: that is, the set is placed as near the center of the DASD volume as possible. If the VTOC is not part of the set, then POS=VTOC places the set either before or after the VTOC; the VTOC is not embedded in the set.
  • wIncluding the VTOC as part of a sequence set implies that it moves, so this can be done only on a COMPAKT-from-backup (TYPE=CPK) with VTOC=COMPAKT specified.
Error
Warning

We don't recommend use of sequenced sets with FASTCPK since it may require more data movement and may increase the elapsed time of the COMPAKTion.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Compuware FDR 5.04