Entering content frame

 sequence_number 

Syntax Rules for Column Descriptions

Syntax

<sequence_number> ::= SEQNO | SEQNO <valSTART>
| SEQNO <valSTART> <valINCREMENT>

valSTART

Start value and first value to be loaded

valINCREMENT

Increment between loaded values

The keyword SEQNO specifies that sequential numbers are generated. Both the start value and the increment can be negative.

If you only enter the keyword SEQNO in the command, the start value is 0 and the increment between values is 1.

If you only enter the start value in the command after SEQNO, the increment between the values is 1.

Use

Use this syntax rule to load self-generated sequential numbers with a freely definable start value and increment.

The set of calculable numbers is cyclical. This means that the value that comes after the largest possible value is the smallest possible value. In this way, you can generate as many numbers as you want, including repeated sequential numbers.

A column of the type FIXED(10) is enough for storing the sequential numbers.

DATALOAD TABLE article
  ano       SEQNO 10000 5
  descr     2
  stock    3 NULL IF POS 3 < '0'
INFILE 'article.data' FORMATTED

Leaving content frame