Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

DDL syntax error messages


In addition to its number and text, the message includes the number of the line in the source program in which the error has been detected as well as the sequence number of the entry in the line that was detected as being incorrect.

The line number refers to the line in which the DDL compiler has detected the logical error. This number will not necessarily correspond to the line in which the error may have to be corrected. If the output of the line and entry sequence numbers makes no sense with regard to the message number, this indicates that there is a syntax error in the preceding lines which has only now become apparent; a message may already have been issued for the “actual” error, but not necessarily so.

1 E

FIRST WORD OF SOURCE NOT CORRECT

Meaning
The first word of a source must be either SCHEMA or IDENTIFICATION, depending on whether it is a schema or subschema definition.

Response
Start source with “SCHEMA”/“IDENTIFICATION” in column 8.

2 E

NO SCHEMA-NAME SPECIFIED

Meaning
The DDL Compiler identifies no schema name.
This error message only refers to the syntactical check of the name.

Response
Specify valid name. The name must not be identical with a reserved word.

3 E

ILLEGAL WORD OR CLAUSE IN SCHEMA-ENTRY

Meaning
The schema entry contains a clause which is not permitted.

Response
Correct input.

4 E

SAME ITEM IS ALREADY USED IN THIS KEY

Meaning
An item is listed more than once in the list of key items in the definition of a compound key.

Response
Correct definition.

5 E

ILLEGAL ENTRY AFTER PERIOD

Meaning
The end of an entry or a data structure is marked by a period. A new entry must start in a
defined way. In this case the schema entry is followed by “AREA...”.

Response
Correct input.

6 E

UNEXPECTED END OF SOURCE

Meaning
Input is ended at an undefined place.

Response
Probably last line omitted or /SYSFILE SYSDTA = (PRIMARY) not adapted.

7 E

NO AREA-NAME SPECIFIED

Meaning
No realm name was identified. The name was checked syntactically only.

Response
Specify name; reserved words must not be used.

8 E

AREA-NAME NOT UNIQUE

Meaning
This error message is output following the semantic check. The name must be unique, i.e. it must only occur once in the schema definition.

Response
Change name.

9 E

ILLEGAL WORD OR CLAUSE IN AREA-ENTRY

Meaning
The area entry contains an invalid clause.

Response
Correct input.

10 W

WRONG TEMPORARY-CLAUSE

Meaning
Invalid specification of a temporary realm.

Response
The correct entry is:
AREA IS TEMPORARY.

11 E

NUMBER OF AREAS > 247

Meaning
The total number of realms must not exceed 247.

Response
Limit number of realms to 247.

12 E

NO RECORD-NAME SPECIFIED

Meaning
No record name was identified.

Response
Specify record name; it must not be a reserved word.

13 E

RECORD-NAME NOT UNIQUE

Meaning
The specified record name must be unique, i.e. it must only occur once in the schema definition.

Response
Change name.

14 E

AREA-NAME DOUBLE IN WITHIN-CLAUSE

Meaning
A duplicate realm name has been specified in the WITHIN clause.

Response
Change name.

15 E

ILLEGAL WORD OR CLAUSE IN RECORD-ENTRY

Meaning
The record entry contains an invalid clause.

Response
Correct input.

16 E

MORE THAN ONE LOCATION-CLAUSE

Meaning
More than one LOCATION clause has been specified for one record type.

Response
Specify LOCATION no more than once per record type.

17 E

SYNTACTICAL ERROR IN LOCATION-CLAUSE

Meaning
The structure of the LOCATION clause is invalid.

Response
Correct LOCATION clause.

18 E

NO DUPLICATES OPTION IN LOCATION-CALC-CLAUSE

Meaning
The DUPLICATES clause must be specified within the LOCATION clause.

Response
Correct input:
DUPLICATES ARE ALLOWED
or: DUPLICATES ARE NOT ALLOWED

19 E

MORE THAN ONE WITHIN-CLAUSE

Meaning
One record entry may contain no more than one WITHIN clause.

Response
Remove excessive WITHIN clauses.

20 E

SYNTACTICAL ERROR IN WITHIN-CLAUSE

Meaning
Structure of WITHIN clause invalid.

Response
Correct WITHIN clause.

21 E

NO AREA-ID SPECIFIED

Meaning
If more than one realm is specified in a WITHIN clause, an AREA-ID clause must be specified.

Response
AREA-ID IS identifier

22 E

NAME IN WITHIN-CLAUSE IS NO AREA-NAME

Meaning
The realm name specified in the WITHIN clause has not been defined in the realm entry.

Response
Define appropriate AREA in the realm entry.

24 E

NO DATA-NAME SPECIFIED

Meaning
Item name missing.

Response
Check and correct structure of data.

25 E

DATA-NAME NOT ALLOWED

Meaning
Item name not allowed at this place.

Response
Check and correct structure of data.

26 E

ILLEGAL WORD OR CLAUSE IN DATA-SUB-ENTRY

Meaning
Structure of elementary item invalid. PICTURE/TYPE/OCCURS clause missing.
This message is output also if a variable-length item is followed by a further item name.

Response
Correct definition of elementary item.

27 E

MORE THAN ONE TYPE-CLAUSE

Meaning
TYPE is specified more than once in an elementary item definition.

Response
Correct elementary item definition.

28 E

ILLEGAL TYPE-CLAUSE

Meaning
Specification of the TYPE clause must be followed by:
BINARY/DECIMAL/FIXED/REAL/CHARACTER/DATABASE-KEY and the appropriate combinations in the case of further specifications.

Response
Correct elementary item definition.

29 E

MORE THAN ONE PICTURE-CLAUSE

Meaning
The PICTURE clause has been specified more than once within one elementary item.

Response
Correct elementary item definition.

30 E

MORE THAN ONE OCCURS-CLAUSE

Meaning
The OCCURS clause has been specified more than once in the definition of a vector or a repeating group.

Response
Correct definition of data structure.

31 E

SYNTACTICAL ERROR IN OCCURS-CLAUSE

Meaning
The OCCURS clause contains no numeric specification.

Response
Correct input:
OCCURS N (N > 1)

32 E

ELEMENTARY ITEM NOT FOLLOWED BY TYPE- OR PICTURE-CLAUSE

Meaning
Specification of a TYPE or PICTURE clause is missing.
The item name is not interpreted as the name of a group item.

Response
Correct data structure.

33 E

LENGTH OF ELEMENTARY ITEM IS 0

Meaning
An elementary item has been defined with a length of 0, i.e. it does not have any valid positions.

Response
Correct definition.

34 E

COMBINATION OF TYPE AND PICTURE-CLAUSE NOT ALLOWED

Meaning
PICTURE has been specified within a TYPE clause or vice versa. This is not allowed.

Response
Correct elementary item definition.

35 E

ROUP-ITEM MUST HAVE ONLY ONE OCCURS-CLAUSE

Meaning
Only one repeating group is allowed per schema definition. A data structure is not allowed.

Response
Insert an OCCURS clause.

36 E

NO SET-NAME SPECIFIED

Meaning
No set name has been specified.

Response
Correct input:
SET NAME IS setname

37 E

SET-NAME NOT UNIQUE

Meaning
Within one schema definition a set name must be unique; it must not be used more than once.

Response
Change name.

38 E

ILLEGAL WORD OR CLAUSE IN SET-ENTRY

Meaning
The ORDER/OWNER/IS/DYNAMIC specification is missing.

Response
Check and correct structure of set definition.

39 E

SYNTACTICAL ERROR IN CHECK-CLAUSE

Meaning
VALUE specification is missing, or value is invalid.

Response
Correct input:
VALUE lit-1 THRU lit-2
VALUE IS NOT lit-1 THRU lit-2

40 E

WRONG DYNAMIC-CLAUSE

Meaning
The DYNAMIC specification is missing.

Response
Correct input:
SET IS DYNAMIC

41 E

MORE THAN ONE DYNAMIC-CLAUSE

Meaning
The DYNAMIC specification occurs more than once within one set definition.

Response
Correct set definition.

42 E

MORE THAN ONE ORDER-CLAUSE

Meaning
The ORDER specification occurs more than once in one set definition.

Response
Correct set definition.

43 E

ILLEGAL ORDER-CLAUSE

Meaning
One of the following specifications is missing:
FIRST/LAST/NEXT/PRIOR/IMMATERIAL/SORTED.

Response
Complete ORDER clause correctly.

44 E

NO INDEX-NAME IN INDEX-OPTION OF ORDER-CLAUSE

Meaning
Index name is missing.

Response
Correct input:
SORTED INDEXED NAME IS name-1

45 E

OCCURS NUMBER MUST BE > 1

Meaning
The number specified in the OCCURS clause must be greater than 1.

Response
Specify correct number.

46 E

MORE THAN ONE OWNER-CLAUSE

Meaning
The OWNER specification occurs more than once within one set definition. This is not allowed.

Response
Correct set definition.

47 E

WRONG OWNER-CLAUSE

Meaning
“SYSTEM” is missing in the OWNER specification.

Response
Correct input:
OWNER IS { recordname-1 | SYSTEM }.

48 E

OWNER-RECORD DOES NOT EXIST

Meaning
The record name specified within the OWNER clause has not been defined in the schema definition.

Response
Either the specified record type is invalid, or a record definition must be added.

49 E

NO MEMBERS ALLOWED IN DYNAMIC SET

Meaning
No MEMBER clause is allowed in the definition of a dynamic set.

Response
Correct set definition.
Correct input:
SET NAME IS setname-1
SET IS DYNAMIC
ORDER IS IMMATERIAL
OWNER IS SYSTEM.

50 E

NO MEMBER-NAME SPECIFIED

Meaning
Record name missing in MEMBER clause.

Response
MEMBER IS recordname-1 ...

51 E

MEMBER-RECORD DOES NOT EXIST

Meaning
The record name specified in the MEMBER clause has not been defined in the schema definition.

Response
Either the record name is invalid, or a record definition must be added.

52 E

SYNTACTICAL ERROR IN MEMBER-SUB-ENTRY

Meaning
Either of the following specifications must follow:
MANDATORY/OPTIONAL or AUTOMATIC/MANUAL

Response
The type of set membership must be correctly specified for member records.

53 E

MORE THAN ONE TEMPORARY-CLAUSE

Meaning
The TEMPORARY clause must not be specified more than once.

Response
Correct input:
AREA IS TEMPORARY.

54 E

ONLY SYSTEM ALLOWED FOR DYNAMIC-SET

Meaning
In the case of a dynamic set, SYSTEM is the only possible owner.

Response
Correct input:
OWNER IS SYSTEM
(see error no. 49).

55 E

ILLEGAL WORD OR CLAUSE IN MEMBER-SUB-ENTRY

Meaning
One of the following specifications must follow:
ASCENDING/DESCENDING/SEARCH/SET/OCCURRENCE/SELECTION.

Response
Correct member definition.

56 E

NO DATA-NAME IN ASC/DESC-CLAUSE

Meaning
The item name is missing in the ASC/DESC clause.

Response
Insert an item name.

57 E

NO DATA-NAME IN SEARCH-CLAUSE

Meaning
The item name is missing in the SEARCH KEY clause.

Response
Insert an item name.

58 E

WRONG USING-OPTION IN SEARCH-CLAUSE

Meaning
One of the following specifications is missing:
USING/INDEX/CALC

Response
Correct SEARCH KEY clause.

59 E

WRONG INDEX-NAME IN USING-OPTION OF SEARCH-CLAUSE

Meaning
The index name is missing.

Response
Correct SEARCH KEY clause.

60 E

NO DUPLICATES-OPTION IN SEARCH-CLAUSE

Meaning
The DUPLICATES specification is missing.

Response
Correct SEARCH KEY clause.

61 E

SYNTACTICAL ERROR IN SELECTION-CLAUSE

Meaning
One of the following specifications is missing:
SELECTION/CURRENT/LOCATION/ALIAS

Response
Correct SELECTION clause.

62 E

MORE THAN ONE SELECTION-CLAUSE

Meaning
SELECTION must not be specified more than once in one member definition.

Response
Correct SELECTION clause.

63 E

ONLY IMMATERIAL ALLOWED FOR DYNAMIC-SET

Meaning
For a dynamic set only IMMATERIAL may be specified in the ORDER clause.

Response
Correct input:
ORDER IS IMMATERIAL
(see error no. 49)

64 E

WRONG QUALIFICATION

Meaning
Certain clauses allow qualified item names. The specified qualification is invalid.

Response
Correct input:
itemname { IN | OF } recordname

65 E

MORE THAN ONE TEMPORARY-AREA

Meaning
A temporary realm must no be specified more than once.

Response
Remove excessive TEMPORARY definitions.

66 E

ITEM WITH VARIABLE LENGTH MAY NOT BE USED IN KEY- OR LOCATION-CLAUSE

Meaning
A variable item has been defined as key.

Response
Select other key or define fixed length for item.

67 E

INTEGER MUST BE UNSIGNED

Meaning
The specified integer must not be negative.

Response
Correct input, e.g. OCCURS 3

68 E

NUMBER OF BITS OF BINARY ITEM MUST BE 15, 31 OR 63

Meaning
A TYPE IS BINARY specification must be followed by 15, 31 or 63.

Response
Correct input:
TYPE IS BINARY 15.
TYPE IS BINARY 31.
TYPE IS BINARY 63.

69 E

NUMBER OF DIGITS OF DECIMAL ITEM MUST BE < 19

Meaning
A decimal number must not exceed 18 digits.

Response
Example

correct:
TYPE IS DECIMAL 18.

invalid:
TYPE IS DECIMAL 19.
TYPE IS DECIMAL 9, 112.
TYPE IS DECIMAL 10, -9.

70 E

DUPLICATES-OPTION IN ORDER IS SORTED BY DEFINED KEYS

Meaning
The DUPLICATES specification is missing.

Response
Correct ORDER clause.

71 E

TYPE OF SORTING NOT SPECIFIED

Meaning
The BY DATABASE-KEY specification is not interpreted if SORTED is specified.

Response
Correct ORDER clause.

72 E

DYNAMIC SET SPECIFIED BUT NO TEMPORARY AREA

Meaning
The schema definition contains a dynamic set, but no temporary realm.

Response
Insert a temporary realm.

76 E

DATABASE-DATANAME NOT UNIQUE.

Meaning
An item name is not unique within a record definition.

Response
Change item name.

77 E

NO WITHIN-CLAUSE SPECIFIED

Meaning
The mandatory WITHIN clause is missing in the record definition.

Response
Insert WITHIN clause.

81 E

NO ORDER-CLAUSE IN SET-ENTRY

Meaning
The mandatory ORDER clause is missing in the set definition.

Response
Insert ORDER clause.

82 E

NO OWNER-CLAUSE IN SET-ENTRY

Meaning
The mandatory OWNER clause is missing in the set definition.

Response
Insert OWNER clause.

83 E

CYCLE OF SETS WITH AUTOMATIC MEMBERS

Meaning
All the members in a cycle of sets are defined as AUTOMATIC.

Response
One set has to be defined as MANUAL, or it will not be possible to write any records from this cycle to the database.

84 E

NO MEMBER AFTER SET-ENTRY

Meaning
The mandatory MEMBER clause is missing in the set definition.

Response
If no dynamic set has been defined, the MEMBER clause must be specified; or the SET IS DYNAMIC specification has been omitted.

85 E

MORE THAN ONE MEMBER-CLAUSE

Meaning
The MEMBER clause must not be specified more than once in one set definition.

Response
Correct set definition.

86 E

MORE THAN ONE ASCENDING AND/OR DESCENDING CLAUSE IN SET-ENTRY

Meaning
The ASC/DESC clause must not be specified more than once in one member definition.

Response
Correct member definition.

87 W

CARD SEQUENCE NUMBER MAY ONLY CONTAIN DIGITS

Meaning
The line numbering (column 1-6) contains characters other than digits.

Response
Correct line numbering. The error may be due to an asterisk for comments in column 6.

88 E

NONE OF THESE AREAS MAY BE TEMPORARY

Meaning
This set must not refer to temporary realms.

Response
Correct WITHIN clauses for records.

89 E

THE OWNER AND MEMBER RECORD OF A SET MUST BE IN THE SAME TYPE OF AREA

Meaning
Owner and member records must not be in different types of realms (normal and temporary).

Response
Correct WITHIN clause.

90 W

WRONG SEQUENCE IN CARD-NUMBERING

Meaning
Line numbers are not in ascending order.

Response
Correct line numbers.

91 E

WHEN USING THE OPTION CALC OWNER IS SYSTEM MUST BE SPECIFIED

Meaning
IS USING CALC has been specified for the SEARCH KEY clause on set level. In this case specification of OWNER IS SYSTEM is mandatory.

Response
Correct set definition.

97 W

WRONG DEFINED QUOTE

Meaning
A literal must be enclosed in either apostrophes or quotation marks. This option is specified by

system parameter QUOTE IS { SINGLE | DOUBLE }

Response
Either modify system parameter QUOTE, or change apostrophes to quotation marks or vice versa.

101 E

COLUMN 7 CONTAINS NO SPACE OR HYPHEN

Meaning
Invalid character in column 7.

Response
Column 7 may contain one of the following characters only:
Blank
/ page feed
* comment
- continuation of the preceding line

102 W

CONTINUATION STARTS IN MARGIN A

Meaning
Continuation line must start in field B.

Response
Field B starts at column 12. The entry must be corrected accordingly.

103 E

STRING NOT CONTINUED

Meaning
Input of a literal has been started with an apostrophe or quotation mark, but not completed.

Response
Check literal and complete with apostrophe or quotation mark, on new line if necessary.

104 E

NO CONTINUATION-QUOTE

Meaning
Final quote or apostrophe expected on new line.

Response
Complete literal with apostrophe or quotation mark.

105 E

NO QUOTE AFTER CONTINUATION

Meaning
A further literal is expected.

Response
Check format of literals.

106 E

EMPTY STRING

Meaning
There are no characters between a pair of apostrophes/quotation marks.

Response
Correct literal.

107 W

ILLEGAL LEFT DELIMITER

Meaning
A comma or semicolon has been entered in the wrong place.

Response
Correct.

108 W

INVALID CHARACTER IN UNIT

Meaning
A word contains an invalid character, or illegal symbols are used. The compiler ignores this unit of the schema definition.

Example
HEI/NZ is an illegal name.
* within item A or B is an illegal symbol.

Response
Correct.

109 E

LENGTH VIOLATION

Meaning
The number of characters is too high or an X literal consists of an odd number of characters or an NX literal consists of a number of characters which is not a multiple of 4.

Response
Truncate concerned unit to maximum length permitted.

110 E

RESERVED WORD NOT ALLOWED

Meaning
A word included in the list of reserved words must not be specified as a name.

Response
Change name.

114 W

ILLEGAL DELIMITERS

Meaning
A comma or semicolon was inserted in the wrong place.

Example
RECORD NAME IS recordname-1, WITHIN realmname-1 not permitted
SEARCH KEY key-1; USING CALC                    not permitted

Response
Correct.

115 W

MARGIN RESTRICTIONS VIOLATED

Meaning
The entry begins in the wrong field, field A or B.
This message may also be issued when a clause occurs in a place where it is not expected regardless of its column range; the clause is ignored.

Response
Field A starts at column 8, field B at column 12. Start line in correct field.

116 E

INVALID NATIONAL PICTURE

Meaning
The character “N” occurs together with other characters in the PICTURE string. The character “L” (variable item) is also not allowed.

Response
Correct.

117 W

PICTURE-CLAUSE WITHOUT SIGN

Meaning
A decimal unpacked numeric item has been defined without sign in the schema (PIC 9 without S).

Response
Correct.

118 E

NUMERIC PICTURE > 18

Meaning
The number of digits in the PICTURE clause may not exceed 18.

Example
PIC 9 (28) impermissible.
PIC 9 (18) correct.

Response
Correct.

119 E

INVALID PICTURE

Meaning
The PICTURE clause cannot be interpreted.

Example
PIC S(6) impermissible.
PIC S9(6) correct.

Response
Correct.

120 E

NO DIGIT POSITIONS IN PICTURE

Meaning
No integer is found within the brackets as a repetition factor.

Example
PIC S9(XX) impermissible.
PIC S9(6) correct.

Response
Correct.

121 E

PICTURE TOO LARGE

Meaning
The number of characters contained in an item must not exceed 255 (with the exception of variable record length).

The number of “N” characters in the PICTURE string may not exceed 127.

Example
PIC X(756) impermissible.
PIC X(255) correct.

Response
Correct.

122 E

INVALID CHARACTER IN PICTURE

Meaning
The PICTURE clause contains an impermissible character or the STRING entry is missing.

Response
Correct PICTURE clause.

123 W

NAME IN SCHEMA BEGINS NOT WITH A LETTER

Meaning
In the schema or subschema definition a name must start with a letter.

Response
Correct name.

130 E

DML-STORE NOT POSSIBLE

Meaning
The specified schema or subschema definition is stored in the DBCOM with the aid of DML statements (in this case STORE). Execution of the STORE command was not possible. The cause of the error must be obtained from the database status provided.
Also note the outputs to SYSOUT. The most common cause of error is either an incorrect name specification (duplicates, database status = ’14051’) or the DBCOM selected was too small.

Response
Depending on the corresponding analysis.

134 W

FIRST 8 CHARACTERS OF PROCEDURE-NAME TAKEN

Meaning
The specified procedure name may consist of up to 8 characters. The remaining characters are ignored.

Response
Shorten name if necessary.

Example
LOCATION MODE IS DIRECT PROZEDUR-NAME
PROZEDUR-NAME is replaced by PROZEDUR.

135 W

LITERAL TOO LONG

Meaning
A literal in the PRIVACY clause may consist of up to 10 characters. The remaining characters are ignored.

Response
Shorten name if necessary.

136 E

DOUBLE SPECIFICATION IN FOR-CLAUSE

Meaning

SCHEMA:

Incorrect or repeated entries in the PRIVACY clause. 

SUBSCHEMA:

Repeated entry of: LOCKS/DISPLAY/COMPILE

Response


SCHEMA:

Correct entry: PRIVACY LOCK FOR COPY

SUBSCHEMA:

Limit to one entry, then use new PRIVACY clause:
PRIVACY LOCK FOR COMPILE IS ...
PRIVACY KEY FOR COPY IS ...

137 E

SYNTACTICAL ERROR IN PRIVACY CLAUSE

Meaning
Incorrect sequence in the PRIVACY clause.


Response
Correct PRIVACY clause.

139 E

NAME NOT UNIQUE

Meaning
Within a clause (e.g. PRIVACY clause, LOCATION clause,...) a name was specified which is not unique within the schema definition, i.e. it has already been used elsewhere.

Response
Change name.

140 E

NO MORE THAN 2 COMPILE LOCKS ALLOWED

Meaning
Only 2 literals may be specified within the PRIVACY clause.

Response
Correct PRIVACY clause.

141 E

PRIVACY LOCK NOT UNIQUE

Meaning
The specified literal has already been used at least once in the subschema.

Response
Change the literal.

142 E

NO MORE THAN 2 COPY LOCKS ALLOWED

Meaning
In the PRIVACY clause no more than 2 literals are permitted.

Response
PRIVACY LOCKS FOR COPY IS lit-1 OR lit-2.

143 E

ONLY LITERALS ALLOWED FOR COPY AND COMPILE

Meaning
SCHEMA:     Only literals are permitted for the COPY specification in the PRIVACY LOCK.

Response
Change name to a literal.

151 W

WRONG IDENTIFICATION DIVISION HEADER

Meaning
Incorrect start of the subschema source.

Response
Correct entry:
IDENTIFICATION DIVISION.
SUB-SCHEMA NAME IS ...

152 W

MISSING PERIOD AFTER DIVISION OR SECTION HEADER

Meaning
Period after

IDENTIFICATION DIVISION
DATA DIVISION
AREA SECTION
RECORD SECTION
SET SECTION

missing.

Response
Enter period.

153 E

SUB-SCHEMA CLAUSE IS NOT THE FIRST CLAUSE

Meaning
No SUBSCHEMA clause has been identified.

Response
The clause is often mistaken for SUBSCHEMA.
Correct entry: “SUB-SCHEMA NAME IS ...”

154 E

SYNTACTICAL ERROR IN SUB-SCHEMA CLAUSE

Meaning
Incorrect SUBSCHEMA clause.

Response
Correct entry:
SUB-SCHEMA NAME IS subschemaname OF SCHEMA NAME schemaname

157 E

ILLEGAL CLAUSE IN IDENTIFICATION DIVISION

Meaning
The word PRIVACY was probably entered incorrectly.

Response
Enter PRIVACY or a period.

158 E

MORE THAN ONE PRIVACY-KEY-CLAUSE

Meaning
Only one entry is permitted for “PRIVACY KEY FOR COPY”.

Response
Correct entry:
PRIVACY KEY FOR COPY IS lit-1.

164 E

MISSING AREA SECTION

Meaning
DATA DIVISION. is not followed by AREA SECTION. in the new line starting at column 8.

Response
Add AREA SECTION. .

165 E

MISSING AREA AND RECORD SECTION

Meaning
No SECTION entries.

Response
Correct subschema format.

166 W

WRONG DATA DIVISION HEADER

Meaning
SUB-SCHEMA clause and PRIVACY clause not followed by “DATA DIVISION.”

Response
Correct entry:
DATA DIVISION.

167 E

NO SECTION HEADER AFTER DATA DIVISION

Meaning
After DATA DIVISION., the AREA SECTION. is missing.

Response
Add AREA SECTION. .

169 E

ILLEGAL CLAUSE IN AREA SECTION

Meaning
The entry

{ ALL | realmname }

is missing.

Response
Correct COPY clause.

170 E

SYNTACTICAL ERROR IN COPY ALL CLAUSE

Meaning
A period is probably missing.

Response
Correct entry:
COPY ALL AREAS.

173 E

AREA DOES NOT EXIST IN SCHEMA

Response
The realm name specified in COPY realmname does not exist in the schema definition;
probably invalid name.

Response
Specify correct name.

176 E

NO AREAS AND RECORDS ARE INCLUDED IN SUB-SCHEMA

Meaning
The COPY entry is missing.

Response
Correct entry:
COPY ALL AREAS.
COPY realmname.
COPY ALL RECORDS.
COPY recordname.

178 E

AREA NAMED BEFORE

Meaning
A realm name was used twice for the COPY clause within the AREA SECTION.

Response
Correct name.

179 W

WRONG RECORD SECTION HEADER

Meaning
SECTION or period missing.

Response
Correct entry:
RECORD SECTION.

180 E

INCORRECT OR MISSING LEVEL-NUMBER

Meaning
The entry 01 for RECORD-LEVEL or 02-44 for ITEM is missing.

Response
Specify correct level number.

181 E

INCORRECT UNIT AFTER LEVEL-NUMBER

Meaning
Entry

{ recordname | item-name }

is missing.

In the case of recordname it could also be the period.

Response
Add the name.

182 E

RECORD DOES NOT EXIST IN SCHEMA

Meaning
The name specified after level number 01 is not in the schema definition.

Response
Specify record name.

183 E

RECORD NOT UNIQUE WITHIN SUB-SCHEMA

Meaning
The specified record name has already been assigned elsewhere in the subschema definition.

Response
Enter correct record name.

184 E

ILLEGAL CLAUSE IN RECORD-ENTRY

Meaning
Probably period missing or PIC/USAGE/GROUP-USAGE/COMP/COMP-3/DISPLAY/DATABASE-KEY/OCCURS specified in the wrong context or STRING in PIC clause is invalid.

Response
Delete clause.

188 E

NONE AREA NAMED IN THE WITHIN CLAUSE EXISTS IN THE SUBSCHEMA

Meaning
Copying of the realm to which the WITHIN clause in the schema definition refers has been omitted.

Response
Add “COPY realmname .”.

189 E

DATA-ITEM NOT UNIQUE WITHIN RECORD-ENTRY

Meaning
An item name must be unique within a record (may however be used within other records).

Response
Change item name.

190 E

NEW GROUP-DATA-ITEM NOT UNIQUE

Meaning
The group item name has already been used elsewhere.

Response
Change name.

191 W

DATA-ITEM IN SUBSCHEMA NOT FOUND IN SCHEMA

Meaning
The item or group name is not in the schema definition.

Response
Check whether the data structure is correct.

192 E

WRONG SEQUENCE IN LEVEL-NUMBERS

Meaning
In a data structure or in a repeating group, the level numbers must be in ascending order.
If an error is detected in this hierarchy, this error message is output. This message is often effected by an error resulting from other errors.

Response
Correct data structure or repeating group.

193 E

GROUP-USAGE CLAUSE IN WRONG CONTEXT

Meaning
The GROUP-USAGE clause is not permitted in the schema DDL.
Subschema DDL: the GROUP-USAGE clause occurs together with another clause.

Response
Correct.

194 E

DOUBLE USAGE OR GROUP-USAGE CLAUSE

Meaning
Within the definition of an item, vector, data structure or repeating group, a USAGE or GROUP USAGE clause occurs more than once.

Response
Correct.

195 E

LEVEL-NR GROUP-ITEM CONTRADICTS WITH ITS SUBORDINATE ITEMS

Meaning
Different level numbers are used in item definitions although there is no data structure or repeating group.

Response
Correct level numbers.

196 E

CONTRADICTION BETWEEN GROUP-ITEM AND ITS SUBORDINATE ITEMS

Meaning
In a higher-ranking data structure or a repeating group, clauses are combined in an impermissible way.

Response
Correct data structure or repeating group.

197 E

DOUBLE PICTURE CLAUSE

Meaning
Within an item definition, the PICTURE clause is specified several times.

Response
Correct the item definition.

198 E

PICTURE FOR GROUP-ITEM NOT ALLOWED

Meaning
A name for the data structure or repeating group was recognized which is related to a PIC clause.

Response
Correct data structure.

199 E

PICTURE FOR BINARY, BINARY-H OR DATABASE-KEY ITEM NOT ALLOWED

Meaning
No PIC clause may be specified for items of the type binary-63, binary-31, binary-15, DB-KEY, and DB-KEY-LONG.

Response
Omit PIC clause.

200 E

NO PICTURE SPECIFIED FOR DECIMAL ITEM

Meaning
No PICTURE clause found with COMP-3 entry of USAGE clause.

Meaning
Add PICTURE clause.

201 E

A-N PICTURE SPECIFIED FOR DECIMAL ITEM

Meaning
PICTURE clause for “USAGE IS COMP-3” (DECIMAL) invalid. Alphanumeric characters are not permitted.

Response
Correct entry:
PIC S9(5)P(2)V USAGE IS COMP-3.
PIC S9(3)C9(2) USAGE IS COMP-3.

202 E

NO PICTURE SPECIFIED FOR DISPLAY ITEM

Meaning
PICTURE clause is either missing or incomplete for the item definition.

Response
Correct entry:
PIC X(20).
PIC X(20) USAGE IS DISPLAY.

203 E

DATABASE-KEY NOT ALLOWED

Meaning
Contradiction in conjunction with the PICTURE clause in the item definition, with the result that the USAGE clause with DATABASE-KEY specification is not allowed.

Response
Correct item definition.

204 E

DOUBLE OCCURS-CLAUSE

Meaning
Within a vector the OCCURS clause was specified more than once.

Response
Correct vector definition.

205 E

IMPROPER VALUE OF INTEGER IN OCCURS-CLAUSE

Meaning
No number was specified in the OCCURS clause.

Response
Correct OCCURS clause.

206 E

OCCURS-CLAUSE NOT ALLOWED

Meaning
This message is output if an impermissible reference to a vector or to a repeating group is made.

Example

impermissible is:

SEARCH KEY IS R32 
       : 
       : 
       : 
02 R32 TYPE IS CHAR 1O OCCURS 3. 

This means: subscripting is not permitted in this case.

Response
Correct reference or data structure.

207 W

DBKEY-FIELD ALREADY DEFINED IN RECORD-TYPE

Meaning
More than one item was defined as TYPE IS DATABASE-KEY or DATABASE-KEY-LONG in one record type.

Response
Check RECORD clause.

208 E

CONTRADICTION BETWEEN PICTURE AND USAGE

Meaning
“NATIONAL” characters in the PICTURE string are not suitable for the USAGE clause.
The “USAGE NATIONAL” clause is not suitable for the PICTURE string.
Error in the GROUP-USAGE clause of the higher-ranking data structure or repeating group.

Response
Correct.

209 E

CONDITION-ENTRY NOT AFTER 01 LEVEL

Meaning
A condition name with the level number 88 may not refer to a record.

Response
Check data structure.

210 E

CONDITION-ENTRY NOT AFTER DATABASE-KEY ITEM

Meaning
A condition clause with the level number 88 may not follow an elementary item with a database key.

Response
Correct data definition.

211 E

IMPROPER LITERAL SPECIFIED IN VALUE-CLAUSE

Meaning
Invalid entry for VALUE.

Response
Check VALUE clause.

212 E

IMPROPER LITERAL-2 SPECIFIED VALUE-CLAUSE

Meaning
THRU not followed by STRING.

Response
Correct VALUE clause.

213 E

NO RECORDS INCLUDED IN THE SUBSCHEMA

Meaning
No record type has been defined in the subschema.

Response
At least one record type from the schema has to be defined for the subschema.

214 W

WRONG SET SECTION HEADER

Meaning
The word “SECTION” or a period is missing.

Response
Correct entry:
SET SECTION.

215 E

ILLEGAL CLAUSE IN SET SECTION

Meaning
“COPY” or a period is missing.

Response
Correct entry:
COPY ALL SETS.
COPY setname.

216 E

FOR ONE OR MORE SETS DOES NOT EXIST OWNER-RECORD IN SUB-SCHEMA

Meaning
When checking the specified sets the associated owner record was found not to be in the subschema definition.

Response
Probably the wrong name was specified.

217 E

SET DOES NOT EXIST IN SCHEMA

Meaning
A set specified in the COPY clause does not exist in the schema.

Response
Correct COPY clause.

218 E

SET NAMED BEFORE

Meaning
A set with the same name already exists in the subschema.

Response
Delete set from subschema.

223 W

NO SET OR LOCATION MODE IN SCHEMA

Meaning
Note that there is no set in the schema, or no record containing a LOCATION clause.

Response
Check validity of schema.

224 W

NO SETS INCLUDED IN SUB-SCHEMA

Meaning
No COPY clause exists in the SET SECTION.

Response
Add COPY clause as necessary.

225 E

FOR ONE OR MORE SETS DOES NOT EXIST MEMBER-RECORD IN SUB-SCHEMA

Meaning
A set is copied in the subschema, the member record of which is not a part of the subschema.

Response
Add member record to the subschema.

226 E

SYNTACTICAL ERROR IN COPY CLAUSE

Meaning
Entry

{ setname | ALL }

or realm name or record name missing.

Response
Correct COPY clause.

227 E

SYNTACTICAL ERROR IN CONDITIION-ENTRY

Meaning
Syntax error in the condition clause.

Response
Correct.

230 E

WRONG DEPENDING ON-CLAUSE

Meaning
The format of the clause for variable record length is invalid.

Response
Refer to 2nd message which is usually output with regard to this error for appropriate action.

231 E

DATA-ITEM OF DEPENDING-CLAUSE MUST BE BIN 15

Meaning
The elementary item in which the record length is stored can only be:
TYPE IS BINARY 15.

Response
Correct elementary item.

232 E

DATA-ITEM OF DEPENDING-CLAUSE MUST BE DEFINED IMMEDIATELY BEFORE

Meaning
The DEPENDING clause refers to an elementary item which must have been defined
immediately.

Response
Define elementary item prior to the variables item.

233 E

LEVEL-NR OF DATA-ITEM MUST BE >1

Meaning
In the subschema definition an elementary item may not begin with the level number 01.
Level number 01 is reserved for the record name.

Response
Change level number to 02-49.

234 E

DATA-ITEM NOT FOUND IN DEPENDING ON-CLAUSE

Meaning
In the DEPENDING clause the reference to an elementary item is missing.

Response
Specify name of the preceding elementary item.

248 E

SELECTION LOCATION NOT ALLOWED WHEN OWNER HAS NO LOCATION CLAUSE

Meaning
Owner without a LOCATION clause.

Response
Either specify SELECTION CURRENT for set or LOCATION for owner.

249 E

RECORD WITH VARIABLE ITEM MAY NOT BE RESTRUCTURED IN SUBSCHEMA

Meaning
A record type containing a variable-length item may not be restructured in the subschema.

Response
COPY the record type into the subschema.

251 E

GROUP-ITEM FOLLOWED BY LOWER LEVEL-NUMBER

Meaning
Incorrect usage of the level numbers for defining a data structure or a repeating group.

Response
Correct level numbers or change definition.

252 E

ELEMENTARY ITEM FOLLOWED BY HIGHER LEVEL-NUMBER

Meaning
Elementary items must have the same level number, otherwise a group structure is assumed.

Response
Correct level numbers.

253 E

MORE THAN 3 GROUP-LEVELS IN SCHEMA-RECORD

Meaning
The maximum level depth within a repeating group is 3.

Response
Correct format of the repeating group.

254 E

MORE THAN 3 OCCURS LEVELS

Meaning
The level depth of the OCCURS clause must not exceed 3.

Response
Make level depth 3.

Example

impermissible is:

02 itemname-1 OCCURS N1
   03 itemname-2 OCCURS N2
       04 itemname-3 OCCURS N3
          05 itemname-4 OCCURS N4

255 E

LAST ITEM OF RECORD IS GROUP-ITEM

Meaning
Invalid definition of the data structure in the subschema. The last item name refers to a group element.

Response
Correct data structure.

256 W

ALIGNED, ON BEHALF OF BINARY ITEM

Meaning
The DDL compiler aligns the binary item to ensure its correct position. In the case of a binary item in a repeating group, this may increase the length of the group.

Response
As a rule new data structures should be conceived without gaps. The length of a repeating group should be the multiple of the maximum alignment of the group.

267 E

ILLEGAL DATABASE-IDENTIFIER IN LOCATION-CLAUSE

Meaning

  • An item name defined in the LOCATION clause refers to a vector or a repeating group.
    Subscripting is not permitted or

  • an item name specified with LOCATION MODE IS CALC is not in the record.

Response
Correct the reference.

269 E

USER KEYS SHOULD BE SMALLER THAN 245 OCTADS

Meaning
The length of the CALC key (e.g. in the LOCATION clause, ASCENDING-KEY, etc.) must not exceed 245 bytes.

Response
Reduce the number of bytes or shorten the items.

277 E

MEMBER IS THE SAME RECORD AS THE OWNER

Meaning
In the SET definition the same record name is specified for both owner and member. This is not permitted.

Response
Correct the SET definition, e.g. add dummy record type.

280 E

ASCENDING KEY ONLY WHEN SET IS SORTED BY DEFINED KEYS

Meaning
Specification of an ASC key is only permitted together with SET IS SORTED ...

Response
Correct.

281 E

TWO ALIAS-OPTIONS SPECIFYING THE SAME CALC-KEY

Meaning
There is already an ALIAS clause referring to the same item name.

Response
Change the item name in the ALIAS clause.

283 E

DATABASE-IDENTIFIER IN A-D-KEY-CLAUSE DOES NOT EXIST

Meaning
In the ASCENDING/DESCENDING clause the reference to an item name is missing.

Response
Correct or add item name.

285 E

TOO MANY ALIAS-OPTIONS IN LOCATION-CLAUSE

Meaning
When LOCATION MODE OF OWNER is specified only one ALIAS clause is permitted.

Response
Delete excessive ALIAS clauses.

286 E

SEL. LOCATION CLAUSE NOT ALLOWED WHEN DUPL.
ALLOWED IN LOCATION CALC CLAUSE

Meaning
There may be no duplicates of the owner, since automatic owner selection would then not work.

Response
Define owner without duplicates or use SELECTION CURRENT.

287 E

MEMBER OF SET, SORTED BY DEFINED KEYS, MUST HAVE ASC-DESC-KEYS

Meaning
In the SET definition, “ORDER IS SORTED BY DEFINED KEYS” is specified but an ASC/DESC clause is missing in the MEMBER definition.

Response
Insert ASC/DESC clause.

289 E

NO SELECTION CLAUSE SPECIFIED

Meaning
The SELECTION clause must always be specified in a member definition except in the case of a singular set.

Response
Specify SOS clause.

290 E

SELECTION-CLAUSE IN SINGULAR SET NOT ALLOWED

Meaning
No SELECTION clause is permitted in the specification of a singular set.

Response
Delete SELECTION clause.

291 E

ITEM IN ALIAS-OPTION NOT SPECIFIED IN LOCATION-CLAUSE OF OWNER

Meaning
The item name which is specified in the ALIAS clause is missing in the corresponding LOCATION clause for the owner.

Response
Correct corresponding clause.

293 E

DATABASE-IDENTIFIER IN SEARCH-KEY DOES NOT EXIST

Meaning
The specified item name does not exist in the schema definition.

Response
Correct or add item name.

295 E

NO DUPLICATES SPECIFIED IN SEARCH-KEY-CLAUSE

Meaning
DUPLICATES ARE/ARE NOT ALLOWED must always be specified in the SEARCH-KEY clause.

Response
Correct.

296 E

ITEMTYPE NOT ALLOWED IN OLD SUBSCHEMA

Meaning
A field with USAGE DATABASE KEY LONG or USAGE NATIONAL occured when compiling a subschema with FORM IS OLD.

Response
Either omit FORM IS OLD or replace USAGE DATABASE KEY LONG or USAGE NATIONAL. Recompile.

297 E

RECORDTYPE TOO LONG FOR OLD SUBSCHEMA

Meaning
A record type with a length of more than 2020 bytes was used when compiling a subschema with FORM IS OLD.

Response
Either omit FORM IS OLD or shorten the record type. Recompile.

298 E

RECORD-REF/SET-REF TOO BIG FOR OLD SUBSCHEMA

Meaning
More than 254 record types or sets were added to the subschema when compiling a subschema with FORM IS OLD.

Response
Omit either FORM IS OLD or record types. Recompile.

300 E

OCCURS CLAUSE IN SUBSCHEMA OMITTED OR ADDED

Meaning
If vectors or repeating groups are defined an appropriate check of the schema definition is made; the two definitions do not match.

Response
Correct OCCURS clause according to the schema definition.

301 E

WRONG HIERARCHY

Meaning
An invalid hierarchy was detected at check of the data structure or repeating group.

Response
Check and correct accordingly.

302 E

HIERARCHY OF SUB-SCHEMA CONFLICTS WITH HIERARCHY OF SCHEMA

Meaning
The data structure or repeating group in the subschema definition does not match that in the schema.

Response
Check and correct the corresponding data structure or repeating group.

303 E

OCCURS-CLAUSE OF NEW GROUP-ITEM ILLEGAL

Meaning
OCCURS clause is not valid in this place.

Response
Check definition of the repeating group.

304 E

IN SUB-SCHEMA MORE OCCURRENCES THAN IN SCHEMA

Meaning
The number of OCCURS entries in the subschema does not match that in the schema definition.

Response
Check and correct the corresponding vectors or repeating groups.

305 E

CLASS IN SUB-SCHEMA OTHER THAN IN SCHEMA

Meaning
The definition of an elementary item in the schema and subschema does not match.

Response
Correct the definition of the elementary items in accordance with the subschema definition.

306 E

LENGTH IN SUB-SCHEMA OTHER THAN IN SCHEMA

Meaning
The entry in the definition of an elementary item is transformed into byte length. The lengths specified in schema and subschema do not match.

Response
Check PICTURE clause in subschema and correct accordingly.

307 W

POINT-LOCATION IN SUB-SCHEMA OTHER THAN IN SCHEMA

Meaning
The location of the decimal point in a number definition for an item in the schema and subschema does not match.

Response
Correct PICTURE clause in subschema definition.

309 E

RECORD-LAY-OUT OF SUB-SCHEMA DIFFERS FROM SCHEMA

Meaning
The entire format of the record does not match the format of the schema definition.

Response
Change record format.

310 E

LENGTH OF ALL RECORDS > 65535 BYTES

Meaning
A check is made in the subschema to determine whether the total record lengths of this subschema exceeds 65535 bytes.

Response
Delete an appropriate number of records from the subschema so that the total length of 65535 bytes is not exceeded.

311 E

LENGTH OF ALL RECORDS > 61328 BYTES

Meaning
A check is made in the subschema to determine whether the total record lengths of this subschema exceeds 61328 bytes (for FORM IS OLD).

Response
Delete an appropriate number of records from the subschema so that the total length of 61328 bytes is not exceeded.

313 E

CONDITION-NAME NOT UNIQUE

Meaning
The condition name has already been assigned elsewhere in the subschema. The name must be unique within the subschema definition.

Response
Change name.

315 E

DYNAMIC SET BUT NO TEMPORARY AREA IN SUBSCHEMA

Meaning
Dynamic sets have been copied from schema to subschema, but the temporary realm has not.

Response
Copy the temporary realm into the subschema.

319 E

SEARCH-TABLE-AREA NOT COPIED FROM SCHEMA

Meaning
When a SEARCH-KEY clause or ASC/DESC clause is used a check is made as to whether the realm containing the corresponding record was also copied from the schema.

Response
Copy realm.