ADD TABLE "orderline"
AREA "Schema Area"
DUMP-NAME "orderline"
ADD FIELD "ordernum" OF "orderline" AS integer
FORMAT "->,>>>,>>9"
INITIAL "0"
POSITION 2
MAX-WIDTH 4
ORDER 10
ADD FIELD "linenum" OF "orderline" AS integer
FORMAT "->,>>>,>>9"
INITIAL "0"
POSITION 3
MAX-WIDTH 4
ORDER 20
ADD FIELD "custnum" OF "orderline" AS integer
FORMAT "->,>>>,>>9"
INITIAL "0"
POSITION 4
MAX-WIDTH 4
ORDER 30
ADD INDEX "num-line" ON "orderline"
AREA "Schema Area"
UNIQUE
PRIMARY
INDEX-FIELD "ordernum" ASCENDING
INDEX-FIELD "linenum" ASCENDING