Definitions and Records
Data Definition Language (DDL) Reference Manual — 426798-002
5- 27
RECORD Statement Error Handling
KEY "KY" IS f-2 FILE IS "AltKy" UPDATE NOT ALLOWED.
END.
FUP Output:
RESET
SET ALTKEY ("KY", KEYOFF 2, KEYLEN 10, FILE 0, NO UPDATE)
SET NO ALTCREATE
SET ALTFILE (0, AltKy)
SET TYPE R
SET REC 20
SET BLOCK 4096
SET EXT(4, 32)
SET MAXEXTENTS 100
CREATE Test1
RESET
SET TYPE K
SET KEYLEN 12
SET REC 16
SET BLOCK 4096
SET IBLOCK 4096
SET EXT(4, 32)
SET MAXEXTENTS 100
CREATE AltKy
RECORD Statement Error Handling
When the DDL compiler encounters an error in a RECORD statement, it continues
processing the statement to determine if there are other errors before processing the
next statement. DDL does not add the record to the dictionary, does not write any FUP
source for it, and does not write the record to any open language source-code files.