Use the Sequence editor to define the parameters for a DB2 sequence.
To define a DB2 for z/OS sequence
The DB2 for z/OS Sequence Editor opens.
Note: Click New on the toolbar to create a sequence. Use the Enter filter text text box to filter a large list of names to locate the one you want to work with.
Specifies the name of the sequence.
Specifies the default schema for the sequence. Select a schema from the drop-down list.
Specifies the physical data type for the sequence. Select a data type from the drop-down list.
Specifies whether or not to generate DDL for this object during Forward Engineering.
Specifies the first value for the sequence.
Specifies the interval between consecutive values of the sequence.
Specifies if you want to indicate the minimum value for the sequence. When you select True from the drop-down list, a second field appears, where you can indicate the value.
Specifies if you want to indicate the maximum value for the sequence. When you select True from the drop-down list, a second field appears, where you can indicate the value.
Specifies that the value of a sequence that reaches its maximum or minimum value to generate its respective minimum value or maximum value on the following NEXT VALUE expression. You can select Cycle or No Cycle.
Specifies the maximum number of sequence values that the database manager generates and stores in memory. When you select True from the drop-down list, the field Cache Capacity appears, where you can indicate the value.
Specifies whether or not the sequence numbers must be generated in order of request.
The DB2 for z/OS Sequence Editor closes.
Copyright © 2013 CA.
All rights reserved.
|
|