PreviousIntroduction Code Generation Error MessagesNext

Chapter 2: Syntax Checking Error Messages

These messages are output when the compiler is checking your COBOL program for syntax and consistency. The descriptions for each message lists the text of each message, and where necessary explain the error or problem that causes the message and gives advice on how to prevent it. The severity is not listed, as the same message can be output with a different severity depending on the setting of directives.

2.1 Format of Syntax Checking Error Messages

Syntax checking error messages have the following format:

Line-of-COBOL-code 
nnnn-s code**** (mmmm)** 
message

where the variables are:

nnnn The message number.
mmmm The page where the previous error occurred.
s One of the following severity codes:
U Unrecoverable. An unrecoverable error stops the COBOL system. These messages are produced by the run-time system. See also the chapter Run-time System Error Messages.
S Severe. You must correct the syntax error or inconsistency in your program. Otherwise the compiler cannot generate code.
E Error. The compiler will make an assumption about what you meant. You might want to correct your program in case the compiler's assumption is not what you intended.
W Warning. This means there might be an error, although the program is syntactically correct.
I Information. This draws your attention to something in the source code that you might need to be aware of. It does not mean there is an error.

You can disable reporting of errors of E-level, W-level, and I-level, using the WARNING directive.

When the Compiler has finished, the total number of errors in each category is also output.

You can disregard some levels of errors and continue working. You can:

The error messages can contain variable information. This information is indicated as an item in italics. For example:

User-name data-name not unique

will have the name of the item that is not unique in place of the text data-name.

2.2 List of Syntax Checking Error Messages


0001 Undefined error. Inform Technical Support

Your program contains an error which the COBOL system has failed to recognize.

Resolution:
Send Technical Support a copy of your source code to enable them to find the cause of the error.


0002 Unexpected SQL error. Inform Technical Support

Your program contains an SQL error which the COBOL system has failed to recognize.

Resolution:
Send Technical Support a copy of your source code to enable them to find the cause of the error.


0003 Illegal format : Literal

The sequence of characters forming a literal in your source code does not conform to the rules governing the construction of such names. A literal can be either nonnumeric or numeric.

If numeric it can be up to 18 digits in length, but it must not contain more than one sign character or more than one decimal point.

A nonnumeric literal can consist of any allowable character in the computer's character set up to a maximum of 160 characters in the Procedure Division, or 2048 characters in the Data Division. A nonnumeric literal must be enclosed in quotation marks.

If you have used a figurative constant as the literal make sure that it is referenced by an allowable reserved word (such as ZERO) which you have spelled correctly. A figurative constant and a numeric literal must not be enclosed in quotation marks.

You might also have used the wrong class of literal for the context of the sentence.

Alternatively, if you have used the figurative constant ALL in your code, you have not coded it in accordance with the rules governing the use of this constant. ALL must be followed by a nonnumeric literal and not by a numeric one.

Resolution:
Revise your code to comply with the above rules.


0004 Illegal character

Your program contains a character that is not part of the COBOL language set.

Resolution:
Replace the illegal character with a valid one.


0005 User-name user-name not unique

You have given the same user-name without qualification to more than one data item or procedure-name in your source code.

Resolution:
You must rename or qualify the duplicated data items or procedure-names to ensure that uniqueness of reference is achieved.


0007 $ specified in column 7 of otherwise blank line

The indicator area, column 7, contains an illegal character.

Resolution:
Legal characters are *, D, -, / or space.


0008 Unknown COPY file filename specified

A file with the name filename, specified in conjunction with a COPY statement, cannot be found.

Resolution:
Change the filename, or make the file available to your COBOL system.

See Also:
Using the Compiler in your Server Express User's Guide.


0009 '.' missing

Your code does not contain a period in a place where one is expected by the rules of COBOL syntax.

Resolution:
Insert one at the relevant place.


0010 Word starts or is continued in wrong area of source line

The word starts either in area A when it should have started in area B, or in area B when it should have started in area A.


0011 Reserved word missing or incorrectly used

You have either used a reserved word in a place where a user defined word is expected or you have failed to use a reserved word where one is needed.

Resolution:
Alter the reserved word into a user defined one or insert a reserved word according to the context of this message.


0012 Operand data-name is not declared

You are trying to use a data-name which you have not declared, or which you have misspelled.

Resolution:
This error might not always occur directly below the data item that is not declared. This is because your COBOL system continues processing through the source code to find out whether the data item is qualified. To find the item in error, work backward through the source to the most recent item.

Ensure that the data item is declared.


0013 User-name required

You have not supplied a user-defined-name at the specified place in your program.

Resolution:
Insert a name ensuring that it conforms to the rules of COBOL syntax and that it is the correct type of name (for example a system-name or a condition-name).


0014 Invalid operand

The operand you have specified is in some way incorrect, and cannot be processed by your COBOL system. For example, you might have specified a negative integer where only positive integers are allowed.

Resolution:
Check the operands allowed for this syntax.


0015 Procedure Division too large

Your program's Procedure Division exceeds the maximum size allowed.

Resolution:
Redesign your program as a set of smaller independent programs that call one another.


0016 Data space too large

Your program's Data Division exceeds the maximum size allowed.

Resolution:
Redesign your program as a set of independent programs with smaller Data Divisions.


0017 Incorrect use of reserved word word

Preprocessor error on initialization

An integrated preprocessor invoked by the COBOL system detected an error during its initialization and was unable to continue.

Resolution:
If the preprocessor displayed any further information correct the problem and resubmit the command


BASIS line number sequencing error

You have made an error in the sequence of line numbers in one of the statements that implement the BASIS mechanism. For example, the statement DELETE 100-60 is incorrect. (BASIS requires numeric sequence values.)

Resolution:
Correct the sequence error.


0020 Numeric literal expected

You must specify a numeric literal in this context.

Resolution:
Ensure that your numeric literal complies with the syntax rules.


0021 Too many qualifiers

You have used too many qualifiers when referring to a qualified data-name, procedure-name or text-name.

Resolution:
Change the reference in error so that it uses no more than the permitted number of qualifiers.


0022 SKIP1/2/3, EJECT and TITLE must be alone on line

Source program lines containing these words must not contain any other words.

Resolution:
Edit your program so that these words are on a line of their own.


0023 Nonnumeric literal expected

You must specify a nonnumeric literal in this context.

Resolution:
Ensure that the literal you have specified conforms to the rules for nonnumeric literals.


0024 Illegal qualifier

You have specified a qualified data-name, procedure-name, or text-name incorrectly.

Resolution:
Correct the qualified reference.


0025 Qualification not permitted

You cannot qualify a data-name, procedure-name, or text-name in this context.

Resolution:
Make the reference an unqualified reference.


0026 Literal too long

The literal value you have specified is longer than the maximum literal length permitted.

Resolution:
If your literal is numeric, it can be up to 18 digits in length. If it is nonnumeric, it can contain up to 160 characters in the Procedure Division, or 2048 characters in the Data Division. Ensure that the literal value you have specified in your program is not longer than the maximum length permitted.


0027 Number too large

You have declared a numeric value that is too large.

Resolution:
See the chapter System Limits and Programming Restrictions in your Programmer's Guide to Writing Programs for information on the maximum sizes of data items of various types.


0028 Data item too long

You have declared a data item that is too long for the specified data-type.

Resolution:
See the chapter System Limits and Programming Restrictions in your Programmer's Guide to Writing Programs for information on the maximum sizes of data items of various types.


0029 Not a data-name

You have specified an operand that is not a data item where a valid data item is expected. For example, you might have specified an FD-name or a condition-name instead of a data-name.

Resolution:
Ensure that the item that is in error is a data-name, and that it is declared.


0030 Should be a group

You have specified an elementary item as the sending or receiving field in a MOVE CORRESPONDING statement.

Resolution:
Ensure that both the sending and receiving fields are group items.


0031 Should be elementary

You have specified the name of a group data item in a context in which an elementary item must be used.

Resolution:
Change the reference so that it is a reference to an elementary item.


0032 Should be unitary

You have specified a subscripted or indexed data item where one is not allowed.

Resolution:
Change the reference so that it is a reference to a unitary (that is, nonsubscripted and nonindexed) data item.


0033 Should be procedure name

A procedure-name (that is, a paragraph or section-name) is expected in this context. You have probably specified a data-name.

Resolution:
Ensure the procedure-name is correct.


0034 Operand operand should be numeric

A numeric value is required in this context, and you have specified a nonnumeric value.

Resolution:
Make the value numeric.


0035 Integer required

An integer value is required in this context, and you have specified a noninteger value.

Resolution:
Make the value an integer value.


0036 Should be alphanumeric

An alphanumeric value is required in this context, and you have specified a numeric value.

Resolution:
Make the value an alphanumeric value.


0037 Should have USAGE DISPLAY

The data item should have USAGE DISPLAY.

Resolution:
Change the data item's USAGE to DISPLAY.


0038 Paragraph or phrase repeated illegally

You have specified a paragraph or phrase more than once, when you might specify it only once.

Resolution:
Delete the repeated paragraph or phrase.


0039 Too many COPY ... REPLACING statements

The program contains more than 255 COPY...REPLACING statements.

Resolution:
Correct your program so that it contains fewer than 255 COPY...REPLACING statements.


0040 Missing or illegal file name

The filename you have specified either does not conform to COBOL rules for filenames, or has not been declared in the FILE-CONTROL paragraph. This might be due to a misspelled valid filename.

Resolution:
Correct the filename (or, if necessary, add a file description entry to the FILE-CONTROL paragraph).


0041 ZERO is an invalid value for an index-name

0042 Must be nonzero

The numeric value you specify here must be nonzero.

Resolution:
Specify a nonzero value.


0043 Literal or figurative constant expected

You must specify a literal value or a figurative constant here.

Resolution:
Alter the value you have specified to be a literal or a figurative constant.


0044 Literal expected

You must specify a literal value here.

Resolution:
Alter the value you have specified to be a literal value.


0045 Operand data-name has wrong size

The operand in this statement is the wrong length (for example, you have specified a prompt character more than one character long).

Resolution:
See your Language Reference for information on the maximum sizes of data items of various types.


0046 Alphabet name required

You must specify the name of a user-defined collating sequence here.

Resolution:
The name of the alphabet that you have defined in the SPECIAL-NAMES paragraph should be specified.


0047 Numeric literal or ZERO expected

You must specify a numeric literal or the figurative constant ZERO here.

Resolution:
Specify a numeric literal or ZERO.


0048 Missing or extra right parenthesis

The number of left and right parentheses in an arithmetic expression is not the same.

Resolution:
Check the format of the arithmetic expression and ensure that you have a matching right parenthesis for each left parenthesis.


0049 Illegal use of Index-name or Index Data item

You have used an item with USAGE INDEX in a context where it is not allowed.

Resolution:
Change the USAGE of the item, or use an item that does not have USAGE INDEX.

See Also:
Your Language Reference for information on where you can use such items.


0050 Illegal use of POINTER data item, ADDRESS OF or NULL

You have tried to perform an illegal operation on a data item with USAGE POINTER. Alternatively, you have tried to apply the ADDRESS OF phrase to an item that is not an 01 or 77 level item in the Working-Storage or Linkage Section.

Resolution:
See your Language Reference for details of the operations you can perform on pointer items.


0051 Not a report name

You must use a report-name in this context. You have probably misspelled a valid report-name.

Resolution:
Correct the reference.


0052 Only allowed with SEQUENTIAL files

You have performed an operation that is permitted only if the file has SEQUENTIAL organization (for example, CLOSE REEL/UNIT).

Resolution:
Change the file organization to SEQUENTIAL.


0053 Directive directive invalid or not allowed here

You have either specified a COBOL system directive in the wrong place or specified an invalid COBOL system directive in a $SET statement in your program.

Resolution:
For example, you can specify a $SET LIST anywhere, but a $SET PREPROCESS only on the first line.

See Also:
The section Setting Directives in the chapter Using the Compiler in your Server Express User's Guide.
The chapter Directives for Compiler in your Server Express User's Guide for details on specific Compiler directives.


0054 Class name required

You have failed to define the class-name in the SPECIAL-NAMES paragraph, or you have misspelled a COBOL class-name.

Resolution:
Either define the condition-name in the SPECIAL-NAMES paragraph, or use one of the COBOL class-names.


0055 Index-name set to value greater than table size

A SET index-name TO literal statement has been used to try to set an index name to a value greater than the number in the OCCURS clause for which that index name belongs.


0056 COPY is recursive

One of the following:

Resolution:
Revise your program so that the file you have already started to COPY is copied completely before you try to COPY the same file again.

Correct the spelling error.


0057 Not a report group

You must use a report group in this context. You have probably misspelled a valid report group-name.

Resolution:
Correct the reference.


0058 Not a report name or a report group

You have specified neither a valid report-name nor a valid report group in a GENERATE statement. You have probably misspelled the report-name or the report group.

Resolution:
Correct your reference to the report-name or to the report group.


0059 Cannot GENERATE this report name

The report-name that you have specified should contain all of the following:

Resolution:
Click related topics for details of the contents you require for a report-name when it is used in a GENERATE statement.


0060 Not a detail group

You have specified a report group that is not of TYPE DETAIL.

Resolution:
Revise your program so that the report group is of TYPE DETAIL.


0061 Pseudo text incorrectly specified

A two-character delimiter for pseudotext is missing from either a REPLACE or COPY REPLACING statement.

Resolution:
Insert the missing pseudotext delimiter (that is, ==) at the appropriate point in your program.


0062 Cannot have COPY REPLACING within REPLACE or vice versa

You cannot specify text replacement when text replacement is already active.


0063 Cannot be used in nested program

Your program contains a statement or clause that is not valid in a nested program.

Resolution:
See your Language Reference for the valid structure of a nested program.


0064 If file is EXTERNAL, then PADDING CHARACTER must be also

If a file is defined as EXTERNAL then the data item specified in the associated PADDING CHARACTER clause must also be defined as EXTERNAL.


0065 Unsigned integer required

An unsigned integer was expected but not supplied.

Resolution:
Specify an unsigned integer.


0066 Data item must have fixed location

An item which is part of an OCCURS ... DEPENDING ON (ODO) table entry is being used as a subscript to the table, or to another ODO table earlier in the group. This is not allowed.

Resolution:
Move the item to a location outside the ODO and use that item in this statement.


0067 Please recompile using a larger value for the LINKCOUNT directive

The number of Linkage Section items required by your program exceeds the default limit.

Resolution:
Use the LINKCOUNT directive to increase this limit.


0068 SQL error

The compiler detected the error shown on your screen in your SQL syntax.

Resolution:
Refer to your SQL documentation for details of valid SQL syntax.


0069 Error code code during SQL Remote Precompile. Cannot continue.

The compiler detected the error code during the remote SQL precompile.

Resolution:
Refer to your SQL documentation for details of valid SQL syntax.


0070 Invalid argument

You have either specified a COBOL system directive with an invalid argument in a $SET statement in your program or you have specified an incorrect argument type for an intrinsic function.

Resolution:
Correct the arguments.

See Also:
The section Setting Directives in the chapter Using the Compiler in your Server Express User's Guide.
The chapter Directives for Compiler in your Server Express User's Guide for details on specific Compiler directives.


0071 PROCEDURE DIVISION missing or unknown statement

You have omitted the PROCEDURE DIVISION header, and have then started without a verb.


0072 Invalid FUNCTION name

The name specified after the word FUNCTION is not a recognized function-name. It is possible you are using the word "function" as a data-name. This word is a reserved word.

Resolution:
If you require an intrinsic function, ensure the name you have used is correct. If you want to use function as a data-name, resubmit your program with the directive REMOVE"FUNCTION" to remove the word FUNCTION from the reserved word list.

See Also:
The REMOVE Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide.


0073 Missing left parenthesis

You have specified an intrinsic function which requires parameters, but have not preceded the parameter list with a left parenthesis.

Resolution:
Check the format of the intrinsic function and ensure that you have a matching left parenthesis for each right parenthesis.


0074 Numeric argument expected

You have specified a nonnumeric argument with an intrinsic function which is expecting a numeric argument.

Resolution:
Make the argument numeric.


0075 Alphanumeric argument expected

You have specified a numeric argument with an intrinsic function where an alphanumeric argument was expected.

Resolution:
Make the argument alphanumeric.


0076 Illegal combination of argument types

The set of arguments you have specified with an intrinsic function do not match the types required for that function.

Resolution:
Revise your code to comply with the rules governing the construction of argument types.


0077 Unexpected end of source within EXEC

The end of a program source was encountered in an EXEC statement. This probably indicates that an END-EXEC has been omitted earlier in the program.

Resolution:
Ensure that each EXEC has a matching END-EXEC.


0078 Numeric function not allowed

You have specified an intrinsic function that returns a numeric value in a position where a numeric value is not allowed.

Resolution:
Make the intrinsic function nonnumeric.


0079 Argument must have length 1

The argument you have specified does not have a length of 1.

Resolution:
Change your argument, specifying length 1.


0080 Prompt character incompatible for ACCEPT

0081 Please recompile using a larger value for LOCALCOUNT directive

See Also:
The LOCALCOUNT Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide.


0082 COBOL Division or Section header encountered in incorrect order

A COBOL Division or Section header was encountered in the wrong order in the source. For example, LINKAGE SECTION was encountered after SCREEN SECTION had already been read.


0083 Reserved word missing - word expected

The reserved word word was expected but not found.


0084 SQL statement only allowed in the Procedure Division

0085 SQL statement only allowed in the Data Division

0086 Constant-name data-name same as reserved word

0087 SIZE must be a positive integer

You have use the syntax CALL BY VALUE SIZE size with an invalid size.

Resolution:
Recode with a valid positive integer.


0088 A SQL host variable name contains an underscore - illegal COBOL character.

A host variable inside an SQL statement contained an underscore character and could not be processed.

Resolution:
Remove the underscore character. The message usually indicates that an underscore was used where a hyphen (-) was intended.


0089 SQL statement contains more than one SQLDA.

The COBOL system found more than one COBOL data items used as SQL Descriptor Areas in a single SQL statement, which is illegal.

Resolution:
Ensure that the correct data items are used. The message is produced when the Compiler directive SQL(NODB2) is set and host variables are not declared inside the SQL DECLARE SECTION.

See Also:
The SQL Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide.


0090 Too many errors

The number of messages produced has reached the limit specified by the MAXERROR directive.


0091 Syntax not compatible with FILETYPE(11)

0092 Redefinition causes ambiguity in location of sliding data-item

0093 User-name not unique. Assumed qualified by current 01 level record

The specified user-name is not unique, but has been qualified by the current 01 level item.


0094 Name is not a COBOL word

The name you have specified is not a reserved word in COBOL.

Resolution:
Change the name accordingly.


0095 Literal used as COPY name

0096 Lower case used (future occurrences not flagged)

You have used lower case where upper case was expected.


0097 Both single and double quotes used (future occurrences not flagged)

0098 Single quotes (apostrophe) used (future occurrences not flagged)

0099 Nested COPY file

0100 Sequence number out of order

One or more numbers in your source code are out of sequence.

Resolution:
Check that all sequence numbers are specified in correct numeric order.


0101 Assignment-name is data-name

0102 RELATIVE KEY clause should immediately follow ACCESS clause

0103 RECORD missing

You have omitted the word RECORD.

Resolution:
Add the word RECORD.


0104 IDENTIFICATION missing

0105 PROGRAM-ID missing

You have omitted the word PROGRAM-ID from the PROGRAM-ID paragraph.

Resolution:
Add the word PROGRAM-ID to the PROGRAM-ID paragraph.


0106 PROGRAM-ID has illegal format

You have specified an invalid program-name in the PROGRAM-ID paragraph.

Resolution:
Correct the format of program-names.


0107 Second status area

You cannot have more than one identifier after the FILE STATUS clause.


0088 OPTIONAL not permitted on non-sequential file

0109 Paragraphs or phrases in non-standard order or repeated

You have either specified paragraphs in the wrong order, or a paragraph twice, or SPECIAL-NAMES clauses in a nonstandard order.

Resolution:
If you have repeated any of these, delete the repetition.


0110 ENVIRONMENT missing

You have omitted the word ENVIRONMENT.

Resolution:
Add the word ENVIRONMENT.


0111 CONFIGURATION missing

You have omitted the word CONFIGURATION.

Resolution:
Add the word CONFIGURATION.


0112 SOURCE-COMPUTER missing

You have omitted the words SOURCE-COMPUTER.

Resolution:
Add the words SOURCE-COMPUTER.


0113 SPECIAL-NAMES clause error

You have not specified the SPECIAL-NAMES paragraph correctly.

Resolution:
Correct the format of the SPECIAL-NAMES paragraph.


0114 OBJECT-COMPUTER missing

You have omitted the words OBJECT-COMPUTER.

Resolution:
Add the words OBJECT-COMPUTER.


0115 OBJECT-COMPUTER clause not recognized

You have specified the OBJECT-COMPUTER paragraph incorrectly.

Resolution:
Correct the format of the OBJECT-COMPUTER paragraph.


0116 Character specified twice in alphabet

You have specified at least one character twice in the ALPHABET clause. For example, you might have included a character in a range and also specified it as a literal.

Resolution:
Edit your source code so that the characters specified in the ALPHABET clause are referenced only once.


0117 SWITCH clause error or system name/mnemonic name error

An error exists in the coding of the SWITCH clause of the SPECIAL-NAMES paragraph in the Environment Division of your program.

Resolution:
Revise your program accordingly. Ensure that each condition named in this clause is declared in the Data Division.


0098 COMMA expected

You have omitted the word COMMA from the DECIMAL-POINT clause.

Resolution:
Add the word COMMA.


0119 CRT expected

You have used a COBOL word or user-defined word where your COBOL system expected the reserved word CRT.

Resolution:
Edit your code so that the reserved word CRT is used.


0120 Illegal currency symbol

The literal which you have specified in the CURRENCY SIGN IS clause in the SPECIAL-NAMES paragraph of your program is not one of those permitted under the rules of COBOL syntax, or if it is then you have failed to enclose it in quotation marks. The literal must be a single character, not a digit, and cannot be any of the following, A B C D L P S V X Z * + - , . ; ( ) " / = or space (except in ANS85 where L is valid).

Resolution:
Change the literal to a permitted character and ensure that it is enclosed in quotation marks.


0121 Cannot specify DYNAMIC or EXTERNAL with literal file name

You can specify DYNAMIC or EXTERNAL in the ASSIGN clause of a file description entry only if the filename is contained in a data item rather than given as a literal filename.

Resolution:
Redesign your program so that the filename is contained in a data item.


0122 Cannot use Double Byte characters in alphabet or class definition

When defining an alphabet or class, you cannot use double-byte characters.

Resolution:
Redesign your program so that your alphabet or class definition does not include any double-byte characters.


0123 I-O-CONTROL missing

You have omitted the heading I-O-CONTROL.

Resolution:
Add the heading I-O-CONTROL.


0124 INPUT-OUTPUT missing

You have omitted the heading INPUT-OUTPUT.

Resolution:
Add the heading INPUT-OUTPUT.


0125 FILE-CONTROL missing

You have omitted the heading FILE-CONTROL.

Resolution:
Add the heading FILE-CONTROL.


0126 ASSIGN missing

You have used a SELECT clause to give a file a filename which the program recognizes, but you have failed to use a corresponding ASSIGN clause to give the file an implementor-name (the name which the system recognizes).

Resolution:
Insert the relevant ASSIGN clause after the SELECT clause.


0127 [LINE] SEQUENTIAL, RELATIVE or INDEXED missing

In the ORGANIZATION IS clause of the FILE-CONTROL paragraph you have failed to specify the logical structure your file is to take.

Resolution:
Insert [LINE] SEQUENTIAL, INDEXED, or RELATIVE into this clause depending on how you want your records to be stored and accessed in your file.


00108 ACCESS missing on indexed/relative file

The format of this clause depends on the organization of the data-file. If you have specified the ORGANIZATION clause for a file as either INDEXED or RELATIVE you must specify an ACCESS MODE clause for it, indicating which mode you will use to access that file. If no mode is specified, sequential access mode is assumed.

Resolution:
See your Language Reference for information on the use of the ACCESS MODE clause.


0129 Too many keys or key components

The number of separate data items making up the record key and alternate key fields of one indexed file is too great.

Resolution:
Simplify your program so you do not need so many keys, or components of keys, to the file.


0130 Illegal ORGANIZATION/ACCESS/KEY combination

If you have specified these clauses in your program, they must be compatible, but in your program they are not.

Resolution:
Ensure that these clauses are compatible.


0131 Unrecognized phrase in SELECT clause

Your COBOL system has failed to accept part of your SELECT clause. This message could be given if the filename which you have given in the SELECT clause does not conform to the rules for the naming of COBOL files.

Resolution:
See your Language Reference for more information.


0132 Repeated "condition-name TO TRUE/FALSE" in SET statement

You have specified a repeated "condition-name to TRUE/FALSE" phrase in a single SET statement. This does not conform to your selected flagging dialect.

Resolution:
Split into two separate SET statements.


0133 SAME AREA clause syntax error

This optional clause, by which you allow two or more files to access the same central storage space, does not conform to the relevant syntax rules.

Resolution:
Correct the format for this clause.


0134 FILE SECTION missing

You have omitted the heading FILE SECTION.

Resolution:
Add the heading FILE SECTION.


0135 DATA DIVISION missing

You have omitted the heading DATA DIVISION.

Resolution:
Add the heading DATA DIVISION.


0136 Illegal use of phrase for National Language operation

You have included one or more of the following COBOL clauses in your program:

PROGRAM COLLATING SEQUENCE IS
ALPHABET IS
CURRENCY SIGN IS
DECIMAL-POINT IS COMMA

and you have submitted the program with the NLS (National Language Support) directive on, which is not allowed.

Resolution:
Either turn the NLS directive off, or edit your source code to ensure none of the above clauses appear in the program.


0137 Program collating sequence not defined

You have included the PROGRAM COLLATING SEQUENCE clause in the OBJECT-COMPUTER paragraph of your code but have failed to code a corresponding ALPHABET-NAME in the SPECIAL-NAMES paragraph. Your code must contain an ALPHABET-NAME clause if it has a PROGRAM COLLATING SEQUENCE clause in it.

Resolution:
Insert the necessary ALPHABET-NAME clause ensuring it has the same user-defined-name as that used in the SEQUENCE entry. If you have specified both of these clauses in your code but have still received this message then ensure that you have used the same user-defined-name in each and that it is spelled the same in both. Correct any spelling error your code might contain.


00118 "EXCLUSIVE", "AUTOMATIC" or "MANUAL" missing

The LOCK MODE clause in the FILE-CONTROL paragraph of the Environment Division does not contain one of the words EXCLUSIVE, AUTOMATIC, or MANUAL, or if it does, your COBOL system has failed to recognize the word, perhaps owing to a spelling mistake. The LOCK MODE clause controls access to files shared between a number of users in a multi-user environment. Its form is determined by the filetype with which it is used.

Resolution:
Correct the LOCK MODE clause.


0139 Illegal LOCK MODE/file type combination

The format of the LOCK MODE clause depends on the file type. You have specified a LOCK MODE clause which is incompatible with the type of the specified file. Non-shareable files must have lock mode EXCLUSIVE while shareable files can have lock mode AUTOMATIC or MANUAL.

Resolution:
Correct the LOCK MODE clause.


0140 For indexed file, PASSWORD phrase must follow KEY

For an indexed sequential file description entry, any PASSWORD phrase must immediately follow the KEY phrase.

Resolution:
Edit your program so that the PASSWORD phrase immediately follows the KEY phrase.


0141 File name appears in more than one SAME clause of same type

A file can appear in only one SAME AREA or SAME RECORD AREA clause.

Resolution:
Revise your program.


0142 Can only be used in nested program

A clause you have specified is allowed only in a nested program. For example, the COMMON clause, as defined by ANSI.

Resolution:
Revise your program.


0143 Unknown Identification Division paragraph

The paragraph header specified is not a legal paragraph of the Identification Division; at least, not in the selected COBOL dialect.

Resolution:
Revise your program or select another COBOL dialect.


0144 OCCURS DEPENDING subsidiary to OCCURS only allowed with ODOSLIDE

You have a record containing OCCURS DEPENDING ON as part of a record defined with OCCURS.

Resolution:
Set the ODOSLIDE directive.

See Also:
The ODOSLIDE Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide.


0145 "SET condition-name TO" syntax used

The SET condition-name TO ... syntax is not a part of your chosen flagging dialect.


0146 Condition-name set to FALSE

You have tried to SET a condition-name to FALSE. This is not a part of your chosen flagging dialect.


0147 Data item must be unsigned

You have used the syntax RECORD VARYING IN SIZE DEPENDING ON signed-data-item which does not conform with your selected flagging dialect.

Resolution:
Recode with an unsigned data item.


00128 Status condition missing

You have failed to specify a status condition following a function-name IS mnemonic-name clause in the SPECIAL-NAMES paragraph. This does not conform with your selected flagging dialect.

Resolution:
Specify at least one status condition.


0149 No SQL directives have been set

An EXEC SQL statement has been encountered but no SQL directive has been specified. The processing of the statement varies depending on whether the directive SQL is set or not; either SQL or NOSQL must be explicitly specified.

See Also:
The SQL Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide.


0150 Mismatched BEGIN / END DECLARE SECTION

An SQL BEGIN DECLARE SECTION has been encountered while already in a DECLARE SECTION, or an END DECLARE SECTION has been encountered while not in a DECLARE SECTION.


0151 Maximum number of elements is 256

A table of SQL null indicator variables contains more than 256 entries.


0152 Not a table of Null Indicator Variables

A table containing SQL null indicator variables was expected. Either the data-type of the table of elements is not suitable for a null indicator variable, or the specified data item is not a table.


0153 Data item is not a host variable - DECLARE it, or use SQLDB2 directive

0154 COPY REPLACING nested within COPY

A COPY REPLACING statement has been detected, nested under another COPY.


0155 Numeric item should be an integer and without a 'P' in its picture clause

Where one of the identifiers in a STRING statement is an elementary numeric data item, it must be described as an integer without the 'P' symbol in its PICTURE clause.


0156 Period found in wrong area of source line

0157 No suitable SQL engine was found

The COBOL system tried to locate a SQL database engine but was not successful.

Resolution:
Either install a suitable engine or do not use the SQL directive.

See Also:
The SQL Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide.


00138 The Compiler does not support all features of the installed SQL engine

The installed database engine has features which cannot be accessed by the COBOL product, but which support is planned for in a later update.

Resolution:
Do not use the features of the database engine which are new over previous releases. Features which are not new continue to be supported.


0159 One or more SQL options are incompatible with the installed SQL engine

The version of the installed database engine does not support one or more of the options specified in the SQL Compiler directive.

Resolution:
Do not select the options, update the database engine or ignore the message.

See Also:
The SQL Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide.


0160 Illegal format of compound SQL statement

0161 Can only be used within a Paragraph

0162 Can only be used within a Section

0163 DISPLAY ... UPON SYSERR can only have one operand

0164 More than 20 USE statements

Your program contains more than 20 USE statements. There is a system limit of 20 USE statements in a program.


0165 NEXT SENTENCE followed by non-executable imperative/conditional statements

0166 Source and target lengths do not match (integer1 <> integer2)

0167 WRITE ... ADVANCING and POSITIONING syntax used on same file

0168 DEPENDING ON item in RECORD VARYING clause not in WORKING-STORAGE/LINKAGE

0170 Invalid argument in statement

0172 Qualifying name name not unique. Discarded.

0173 Space invalid here.

0174 A RECORDING MODE of 'S' was assumed for the above file

0175 A VALUE clause was specified for a sliding item.

0176 'RENAMES' object object is an 01 level item

0177 "RENAMES' object object is not present in the preceding record

0178 DEPENDING missing. Fixed length assumed.

179 Number of subscripts in VALUE clause does not match table dimension

FROM or TO in a VALUE clause does not contain the correct number of subscripts.

Resolution:
Recode your program so that it uses one subscript for each level of OCCURS for the data declaration.


180 One or more subscripts in a VALUE clause is out of range

A subscript value exceeds the maximum number of occurrences specified in the corresponding OCCURS clause.

Resolution:
Recode your program.


181 FROM subscript in VALUE clause must not be greater than TO subscript

The table element specified by the TO subscript precedes that specified by the FROM subscript.

Resolution:
Recode your program.


182 Limit exceeded - too many literals in VALUE clause

The VALUE clause is too complex for the compiler to process.

Inform Technical Support.


183 VALUE clause would result in initialisation of elements beyond end of table

Not all of the specified values are contained within the table being declared.

Resolution:
Recode your program.


0189 Directives file filename not found

0190 Zero is an invalid value for an index-name. 1 assumed.

0191 OCCURS DEPENDING ON phrase bisected by additional clause.!

0192 CALL parameter is group at level other than 01.

Your selected flagging dialect does not allow a CALL parameter to be a group at a level other than 01.

Resolution:
Recode your program so that the parameter is either an elementary item or a group at level 01.


0193 Use of Z literals

Your selected flagging dialect does not support Z literals.

Resolution:
Recode your program.


0194 CALL procedure pointer

Your selected flagging dialect does not support this.

Resolution:
Recode your program.


0195 ASCENDING/DESCENDING KEY clause must appear before INDEXED BY clause

Your selected flagging dialect does not support reversing the order of these clauses in the OCCURS phrase of a data item definition.

Resolution:
Recode your program.


0196 Redefinition of item containing an 'OCCURS DEPENDING ON' clause

Your selected flagging dialect does not support this.

Resolution:
Recode your program.


0197 Qualification refers to invalid REDEFINES item - qualification ignored

0199 LINE clause also specified in containing group

The LINE clause cannot appear in an elementary item if the containing group already contains a LINE clause.


0200 Empty paragraph

Your paragraph contains no statements.


0201 Sort file cannot have ACCESS or ORGANIZATION clauses

An SD file control entry cannot have ACCESS or ORGANIZATION clauses, because the access mode and organization of such files are fixed.

Resolution:
Delete the clauses in error.


0202 Too many levels of OCCURS

You have specified more than the permitted number of OCCURS clauses in the definition of a table item.

Resolution:
Delete the excess OCCURS clauses.


0203 CODE must be specified for all reports or no report

You have specified the CODE clause in the definition of a report. If you are defining more than one report for the specified file, you must specify the CODE clause either for all reports or for none of them for that file.

Resolution:
Add CODE clauses to the other reports you have defined, or ensure that no report definition contains a CODE clause for that file.


0204 REDEFINES on incorrect field

A REDEFINES clause must have the same level number as the item it redefines.

Resolution:
Change the level number in error.


0205 RECORD missing or has zero size

You have declared a file using the SELECT statement in the Environment Division of your program, but have either failed to define it in a corresponding FD entry in the Data Division or have used a different filename in the FD entry, perhaps owing to a spelling mistake. If a mismatch of the two occurs then the record associated with the file does not exist although the necessary space has been created for it.

Resolution:
Add or revise the FD entry.


0206 01 or 77 level required

The specified data item must have level number 01 or 77.

Resolution:
Change the level number of the item to 01 or 77.


0207 FD, CD or SD qualification syntax error

These source code entries describe the structure of a specified file and take the form FD or CD or SD followed by a filename and a description of the records in that file. The filename must be the name of a file defined in the FILE-CONTROL paragraph of your program.

Resolution:
Correct the format of this syntax.


0208 WORKING-STORAGE missing

The words WORKING-STORAGE are missing from the relevant Section heading in the Data Division or, if present, have not been recognized by your COBOL system. This might be due to a spelling mistake or to their position in your code.

Resolution:
Correct the errors.


0209 PROCEDURE DIVISION missing or unknown statement

The PROCEDURE DIVISION header is missing from your program or, if present, your COBOL system has failed to recognize it. This might be due to a spelling mistake or you could have placed the header at the wrong place in your code.

Alternatively, your code might contain a statement in the Procedure Division that your COBOL system has failed to recognize. This is probably because you have used a reserved word but have spelled it incorrectly.

Resolution:
Insert the header immediately after the last entry in the Data Division.

Correct your spelling error.


0210 Unrecognized data description qualifier or "." missing

A qualifier (for example, JUST or COMP) is misspelled in the description of a data item.

Alternatively you have not placed the necessary period at the end of a PICTURE clause.

Resolution:
A list of possible qualifiers can be found in the chapter Concepts of the COBOL Language in your Language Reference. Check the spelling of the qualifier in your code.

Add the period.


0211 PICTURE clause not compatible with qualifiers

Your code contains a PICTURE clause that is qualified by the wrong type of qualifier. For example, a data item cannot be defined as PIC XX USAGE COMP because it is an alphanumeric PICTURE clause but the qualifier is numeric.

Resolution:
Revise your code so that the PICTURE clause and its qualifiers are of the same type.


0212 Illegal data item used with BLANK clause

The BLANK WHEN ZERO clause can be used only as part of the data description entry for data items which are numeric (those which contain a 9 in the PICTURE clause) or numeric edited (ordinary edited data items with special characters added to allow the data items to be presented in a form which can be easily understood). You have used this clause with a nonnumeric data item in your source code or with a numeric data item that contains a "P", "S", or "V".

Resolution:
Delete this clause or redefine the data item to be either numeric or numeric edited, or remove the "P", "S", or "V" characters.


0213 Item is longer than USAGE allows or contains more than 18 numeric positions

A PICTURE string defined in a PICTURE clause in your Data Division exceeds the maximum permitted by your COBOL system.

Resolution:
Numeric data items can be up to 18 characters in length, numeric edited up to 512 characters and alphanumeric up to 256 Mb.


0214 VALUE too long for data item or has too many decimal positions

The value you have specified in a VALUE clause is too big or has too many decimal places, to fit in the data item. For example, a declaration such as PIC 99 VALUE 123, where 123 is too large to fit into the receiving field without truncation.

Resolution:
Alter your code so that the data item is large enough to receive the value that is to be placed in it.


0215 VALUE in error or illegal for PICTURE type

You might have made a mistake in the coding of a VALUE clause in your program. For example, you have used a numeric data item with a nonnumeric VALUE clause. Alternatively, you have used a VALUE clause in an illegal place, for example in conjunction with a data item which has been redefined.

Resolution:
See your Language Reference for information on the rules governing the use of the VALUE clause.


0216 Non-elementary item has JUSTIFIED or BLANK clause

These clauses can be used in the data description entry of the Data Division but must be used only with elementary data items. Elementary data items are the most basic subdivisions of a record as they are not subdivided into higher level data items. You have used one of these clauses in conjunction with a non-elementary data item (that is, one which contains higher level data items).

Resolution:
Revise your program to ensure that these clauses appear only with elementary data items.


0217 Preceding item at this level has zero length

You have defined a data item but have failed to give it a size, either by not using a PICTURE clause in conjunction with it, or, if it is a group item, by failing to define any elementary items to go with it. If you enter something similar to the following:

01 my-data-item.

01 prog-data-item pic x.

you receive this message after prog-data-item because, although it is my-data-item that is in error, the error is detected only when the next item at the same level as the data item in error is encountered.

Resolution:
Add the necessary PICTURE clause or elementary items to the level hierarchy.


0218 Illegal arithmetic operator

You have specified an invalid operator in an arithmetic expression.

Resolution:
Correct the expression.


0219 Illegal level number

You have specified an illegal level number in a data description entry.

Resolution:
Correct the level number.


0220 Literal type does not match data type

You have specified a literal value that is incompatible with the PICTURE clause of the associated data item.

Resolution:
Make the literal value compatible with the data item.


0221 Data description qualifier inappropriate or repeated

You have used a data description qualifier which is incompatible with the associated PICTURE clause. For example, you might have used a BLANK WHEN ZERO clause for a PIC XX data item. This is illegal as the data item is alphanumeric but the associated qualifier refers only to numeric items.

Alternatively, you have used more than one PICTURE clause to define a single data item when each data item should have only one PICTURE clause associated with it.

Resolution:
Revise the qualifier or the data-type to ensure that they are compatible.

Delete any extra PICTURE clause to leave only one for that data item.


0222 REDEFINES data-name not declared

You have not declared the data-name which you have used in conjunction with a REDEFINES clause.

Resolution:
Ensure that the data-name is declared in your Data Description entry and that the relevant REDEFINES clause is placed immediately after the data-name which it describes.


0223 Unknown USAGE

You have specified an invalid USAGE qualifier in a data description entry.

Resolution:
Correct the USAGE qualifier.


0224 SIGN must be LEADING or TRAILING

This optional clause can be specified only for numeric description entries which contain the character S in their PICTURE clause. The key word SIGN must be followed by either LEADING or TRAILING depending on the position you want the operational sign to take.

Resolution:
Add one of these words.


0225 Level hierarchy wrong

The structure of level numbers in a group data item is incorrect.

Resolution:
Check the hierarchy of the level numbers and correct it.


0226 Variable length group not unitary

You cannot declare a variable-length group item in an OCCURS clause.

Resolution:
Make the group item fixed length.


0227 ZERO missing

The BLANK clause must be followed by the word ZERO, ZEROS or ZEROES.

Resolution:
Delete any other word that you might have used in place of ZERO and ensure that the clause contains no spelling errors.


0228 Group VALUE truncated

The value you have specified for a group item exceeds its defined length.

Resolution:
Redefine the length of the group item or the value.


0229 Incompatible qualifiers

The qualifiers you have specified in the description of a data item are not compatible.

Resolution:
Refer to the chapter Concepts of the COBOL Language in your Language Reference for the rules governing qualifiers in data descriptions. Revise the data description.


0230 PICTURE string has illegal precedence or illegal character

You have used a character in a PICTURE clause that your COBOL system does not recognize, or which is illegal for that particular type of PICTURE string.

Resolution:
A full list of permitted characters can be found in the chapter Program Definition in your Language Reference. Alter the relevant PICTURE clause.


0231 INDEXED data-name missing or already declared

0232 Edited PICTURE string is too large

A PICTURE string which you have defined for an edited or numeric edited (one which presents numeric data items in a more readable form, for example, with leading zeros removed or with currency signs inserted) data item exceeds the maximum permitted for your COBOL system.

A string comprises 32 slots, each containing 16 characters. If no two consecutive characters in the string are the same, a new slot is allocated to each character. For example:

X(32)B(480) 

works, but:

XBXBXBXBXBXBXBXBXBXBXBXBXBXBXBXBX 

fails.

Resolution:
Alter the format of the string so that it contains no more than 32 groups of characters, each group holding up to 16 identical, contiguous edit characters.


0233 Unknown data description qualifier data-name

You have either used a reserved word as a data-name, or used an invalid qualifier in a data description: this is probably a misspelling of a valid qualifier.

Resolution:
Correct the data description.


0234 DEPENDING missing

You have defined a variable length table without specifying the DEPENDING phrase that, at run time, enables your COBOL system to determine the actual table size.

Resolution:
Specify the DEPENDING phrase.


0235 Record size size1 < minimum size given in FD statement size2

0236 Record > maximum size given in FD statement

0237 Cannot have more than one initial CD

Only one of the CD entries in the Communications Section can have the INITIAL clause specified.

Resolution:
Delete the INITIAL clauses from all but one of the CD entries.


0238 RENAMES missing

You have omitted the word RENAMES in the definition of a level 66 data item.

Resolution:
Add the word RENAMES.


0239 First data-name does not precede second

You have included the syntax data-name-1 RENAMES data-name-2 THRU data-name-3 in your program, but the data item you have specified for data-name-2 is declared after the data item for data-name-3. This is not valid COBOL syntax, as data-name-2 in a THRU clause must be declared before data-name-3.

Resolution:
Check that you have specified the THRU phrase correctly.


0240 Only allowed at 01 level

You have used either the NEXT or TYPE clauses in a report description entry, or the GLOBAL or EXTERNAL clauses in a report file description entry, which is not an 01 level item.

Resolution:
Edit your source code to ensure that where you have used NEXT, TYPE, GLOBAL or EXTERNAL the clause applies to an 01 level item.


0241 Only allowed in Working-Storage Section

The syntax indicated is allowed only in the Working-Storage Section.

Resolution:
Edit your source code to ensure that the syntax appears only in the Working-Storage Section.


0242 Only allowed in WORKING-STORAGE and FILE sections

The syntax indicated is allowed only in the Working-Storage Section or the File Section.

Resolution:
Edit your source code to ensure that the syntax appears only in the Working-Storage or File Sections.


0243 VALUE of group item must be nonnumeric or figurative constant

If you specify a VALUE clause for a group item, the value in the clause must be either a nonnumeric literal or a figurative constant.

Resolution:
Revise the value in the VALUE clause.


0244 FD missing for file filename

You have not made an FD entry for all the files named in the FILE-CONTROL paragraph.

Resolution:
Ensure that you have an FD entry for each file named in a SELECT clause in the FILE-CONTROL paragraph.


0245 DEPENDING ON item data-name missing or illegal

You have not declared a data item named in the DEPENDING phrase of an OCCURS clause.

Resolution:
Add a declaration of the missing data item.


0246 KEY key-name missing or illegal

You have not specified the RECORD KEY clause in the file description of an indexed sequential file.

Resolution:
Add the RECORD KEY clause to the file description.


0247 Index-name has been declared explicitly

You have declared an index data item explicitly. The item is declared implicitly by its appearance in an INDEX phrase, so you have in effect declared the same item twice.

Resolution:
Delete the explicit declaration of the index data item.


0248 ISAM key key-name too long

A data item that is to be used as an indexed sequential file key is longer than the maximum length allowed for such keys.

Resolution:
Redefine the key accordingly.

See Also:
See the chapter Limits in your File Handling book.


0249 Alternate keys have same reference

The two alternate keys you have defined for an indexed sequential file overlap. Alternate keys must be completely distinct from one another.

Resolution:
Redefine the alternate keys so that they do not overlap, or define them as split keys (which are allowed to overlap).


0250 STATUS field data-name missing or illegal

You have either not declared the data item specified in the FILE STATUS clause of a file control entry, or you have declared it incorrectly.

Resolution:
Add or revise the definition of the FILE STATUS data item.


0251 CURSOR field data-name missing or illegal

You have either not declared the data item specified in the CURSOR IS clause in the SPECIAL-NAMES paragraph, or you have declared the item incorrectly.

Resolution:
Refer to the chapter Program Definition in your Language Reference for the correct form of the cursor data item. Add or revise the declaration of the data item in the CURSOR IS clause.


0252 PASSWORD field data-name missing or illegal

You have either not declared the data item specified in the PASSWORD clause in a file description entry, or you have declared the item incorrectly.

Resolution:
Add or correct the declaration of the data item in the PASSWORD clause.


0253 LABEL RECORD or DATA RECORD record-name missing or illegal

You have either not declared the record item specified in the LABEL RECORD or DATA RECORD clauses in a file description entry, or you have declared the item incorrectly.

Resolution:
Add or correct the declaration of the record item in the LABEL RECORD or DATA RECORD clause.


0254 'VALUE OF' field data-name missing or illegal

You have either not declared one or more of the data items named in the VALUE OF clause of an FD entry in the File Section, or you have declared such an item incorrectly.

Resolution:
Add or correct the declaration of the data item(s) in the VALUE OF clause.


0255 User name data-name same as special register

You have declared a data item with the same name as one of the special registers, which are data items that are automatically declared by your COBOL system.

Resolution:
Alter the name of the data item in error.


0256 Preceding record has zero length

You have defined a file record with zero length. This is probably due to errors in all of the elementary item descriptions in the record definition.

Resolution:
Correct the record description.


0257 KEY data-name missing or already declared

You have either not declared a data item specified in the KEY phrase of an OCCURS clause, or you have declared it twice.

Resolution:
Declare the data item or remove the extra declaration.


0258 ASSIGN data-name data-name illegal

You have specified an ASSIGN data-name in a SELECT ... ASSIGN clause that is not unitary, that is, the data definition contains an OCCURS clause.

Resolution:
Edit your source code to ensure that the ASSIGN data item does not include an OCCURS clause.


0259 Illegal report-name or bad RD clause

You have defined a report-name that is either not unique or which does not conform to the rules for user-defined words. Alternatively, you have specified a clause in an RD entry incorrectly.

Resolution:
Correct your program accordingly.


0260 Inconsistent page specification

The values you have specified in the PAGE LIMIT clause are not consistent; for example, the integer in the LAST DETAIL phrase is smaller than the integer in the FIRST DETAIL phrase.

Resolution:
Refer to the chapter Report Writer in your Language Reference - Additional Topics for the rules governing the PAGE LIMIT clause. Correct your program accordingly.


0261 Only allowed in Report Section

You have tried to specify syntax for a report outside the Report Section of the Data Division.

Resolution:
Refer to the chapter Report Writer in your Language Reference - Additional Topics to see what syntax is allowed in the Report Section. Delete the syntax in error or relocate it in the Report Section.


0262 Not a CONTROL for this report

The data-name in a TYPE CH or TYPE CF clause must appear in the CONTROL clause of the associated RD entry. You might have misspelled the data-name.

Resolution:
Ensure that the correct data-name appears in both the TYPE CF/CH and CONTROL clauses.


0263 Not allowed when PAGE not specified in RD

You have either specified a TYPE PH or TYPE PF clause without specifying a PAGE clause in the associated RD entry, or you have specified an absolute line number in the LINE NUMBER clause without specifying a PAGE clause in the associated RD entry.

Resolution:
Add a PAGE clause to the RD entry.


0264 Only one report group with this TYPE allowed per RD

You have specified a duplicate of one of the TYPE clauses (for example, you have specified two TYPE PF clauses); only one clause of each type is allowed in a particular RD entry.

Resolution:
Delete the duplicate TYPE clause.


0265 Not allowed with this TYPE

You are using a qualifier in a statement that either does not allow any qualifiers, or that does not allow this particular qualifier.

Resolution:
Refer to the chapter Concepts of the COBOL Language in your Language Reference for details of the qualifiers allowed with this statement. Revise your program.


0266 No TYPE specified

All level 01 entries in the Report Section must have a TYPE clause.

Resolution:
Add a TYPE clause.


0267 LINE specification missing or inconsistent

This message has three possible causes:

You have specified a NEXT PAGE clause in a LINE clause other than the first of a report group description entry.

The absolute line numbers in the LINE clauses of a report group description entry are not in ascending order.

You have not specified a LINE clause in a particular report group description entry.

Resolution:
Depending on the cause of this message, you should:

Delete the NEXT PAGE clause from any but the first LINE clause.

Rearrange the LINE clauses so that absolute line numbers are in ascending order.

Add a LINE clause.


0268 REPORT specified in more than one FD

You have specified the same report-name in more than one FD.

Resolution:
Delete the duplicate report-name.


0269 Duplicate CONTROL field

You have specified the same CONTROL field value in more than one RD entry.

Resolution:
Delete the duplicate CONTROL field value.


0270 COLUMN specification overlapping or not left to right

0271 Only allowed with DETAIL groups

You can specify a GROUP INDICATE clause only with DETAIL report groups.

Resolution:
Delete the GROUP INDICATE clause.


0272 Only allowed with CONTROL FOOTING groups

You can specify a SUM clause only in a control footing report group.

Resolution:
Delete the SUM clause.


0273 Non-elementary item has invalid qualifier, or PICTURE missing

You have specified in a group item a qualifier that can be used only in an elementary item. Possibly you intended the item to be elementary but omitted the PICTURE clause.

Resolution:
Refer to the chapter Program Definition in your Language Reference for details of the correct syntax. Delete the clause in error, or insert the PICTURE clause.


0274 GROUP INDICATE without COLUMN

You have specified the GROUP INDICATE clause but no COLUMN clause in the same report group description.

Resolution:
Include the COLUMN qualifier.


0275 NEXT GROUP not allowed with this group TYPE

You have specified NEXT GROUP in a group with TYPE RF or PH.

Resolution:
Delete the NEXT GROUP clause.


0276 NEXT GROUP NEXT PAGE not allowed with this group TYPE

You have specified NEXT GROUP or NEXT PAGE in a group with TYPE PF.

Resolution:
Delete the clause.


0277 LINE NEXT PAGE not allowed with this group TYPE

You can specify the LINE NEXT PAGE clause only with a group of TYPE CH, CF, or DE.

Resolution:
Delete the LINE NEXT PAGE clause.


0278 RESET item is lower CONTROL level than group

The control group on which a sum is reset must be at either the same level as or a lower level than the sum.

Resolution:
Refer to the chapter Report Writer in the Language Reference - Additional Topics for the rules governing the resetting of sums. Revise your code accordingly.


0279 Report line too long

The syntax you have specified is trying to create a report line which is longer than the maximum allowed.

Resolution:
Ensure that any report lines are not longer than the permitted length.


0028 THRU phrase not allowed with DBCS field

DBCS is Double Byte Character Set.

Resolution:
Refer to the chapter Micro Focus Extensions for Double-Byte Character Set Support in your Language Reference - Additional Topics for the rules governing the use of DBCS. Revise your code accordingly.


0281 Illegal use of DBCS field

DBCS is Double Byte Character Set.

Resolution:
Refer to the chapter Report Writer in your Language Reference - Additional Topics for the rules governing the use of DBCS. Revise your code accordingly.


0283 An EXTERNAL file cannot be subject of SAME RECORD AREA clause

You have specified a file in a SAME RECORD AREA clause in your program that is specified as EXTERNAL in an FD entry.

Resolution:
Delete the EXTERNAL file in error from the SAME RECORD AREA clause in your program.


0284 Not allowed in Report Section

The syntax you have specified is not allowed in the Report Section.

Resolution:
Delete the syntax from the Report Section.


0285 First LINE NUMBER clause in PAGE FOOTING group is relative

0286 Not specified in CONTROL clause of RD

0287 Data record specified for Report file

0288 SYNC with USAGE IS INDEX

0289 SYNC at group level

0290 Index key key-name not alphanumeric

You have specified a key item that is not alphanumeric, in an index key clause where an alphanumeric key item is expected.

Resolution:
Specify an alphanumeric key item.


0291 Group FILLER

0292 SIGN different from that at group level

0293 SYNC on non-01 level group

0295 VALUE clause in File or Linkage Section. Clause processed as comment

You have specified a VALUE clause in either the File Section or the Linkage Section where you should not have specified one.

Resolution:
You can delete the VALUE clause, although this has no effect on your program.


0296 BLANK WHEN ZERO with zero suppression

0297 OCCURS .. DEPENDING clause without "integer TO". "1 TO" assumed

0298 OCCURS at level 01 or 77

0299 FILLER omitted

You have omitted the word FILLER.

Resolution:
Add the word FILLER.


0300 LABEL RECORDS clause omitted

You have omitted the heading LABEL RECORDS.

Resolution:
Add the LABEL RECORDS clause.


0301 Unrecognized verb

You have either used a verb in the Procedure Division of your program that your COBOL system does not recognize as a valid COBOL verb, or have misspelled a COBOL verb.

Resolution:
Check which verbs are permitted in the COBOL language, and ensure that you have spelled them correctly.

You might need to set a language-enabling directive if the verb you require is not part of your system's standard COBOL language.


0302 IF....ELSE or scope-delimiter mismatch

An error exists in your coding of an IF statement in the Procedure Division of your program. The two halves of one IF statement do not match.

Alternatively, you have made an error in coding a construct that uses one of the scope delimiters (for example, END-ADD). There is a mismatch between the number of scope delimiters and the statements whose scope they delimit.

Resolution:
Ensure you do not have more ELSE phrases than IF phrases.

Revise your source code.


0303 Operand has wrong data-type

You have used a data item with the wrong data-type in one of your statements. For example, you have used a filename instead of a record-name in a WRITE statement.

Resolution:
Revise the relevant item.


0304 Procedure name name not unique

Two or more sections in the Procedure Division, or two or more paragraphs in a section, of your program have the same title.

Resolution:
Rename or qualify the sections or paragraphs in error to ensure uniqueness of reference.


0305 Procedure name name same as data-name

A paragraph in the Procedure Division of your program has the same name as a data item declared in the Data Division.

Resolution:
Change the name of either the paragraph or the relevant data item to ensure uniqueness of reference.


0306 Entry name not unique

You have used the same entry point-name more than once in your program. (This might be because the entry point name is the same as the Program-ID.)

Resolution:
Alter the entry-name in error or qualify it.

See Also:
The ENTRY statement restrictions in your Language Reference manual.


0307 Wrong combination of data-types

You are trying to manipulate data items which are not compatible.

Resolution:
Ensure that the data items are of the same type.


0308 Conditional statement not allowed in this context

You have used a conditional statement (one which specifies that the truth value of a condition is to be determined at run time) in the Procedure Division where an imperative statement is expected.

Resolution:
Replace the statement with one that begins with an imperative verb and is followed by a specification of an unconditional action to be taken at run time.


0309 Malformed subscript

You have probably specified two subscripts for a one-dimensional table item.

Resolution:
Revise your code to ensure that you do not specify more than one subscript for a one-dimensional table item.


0310 ACCEPT/DISPLAY syntax incorrect

You have either used invalid syntax with an ACCEPT or DISPLAY statement, or have incorrectly coded that part of your code containing the communications syntax. The most likely cause of this message is a spelling mistake in your code.

Resolution:
Correct the spelling mistake.

See Also:
The ALTER and ACCEPT statement restrictions in the Language Reference


0311 Illegal syntax used with I-O verb

Code following an I/O verb (for example READ or WRITE) violates the rules of COBOL syntax.

Resolution:
Revise your code accordingly.


0312 Invalid arithmetic statement

An arithmetic statement which you have used in the Procedure Division does not conform to the rules of COBOL syntax. These statements must begin with an arithmetic verb (for example SUBTRACT or DIVIDE), followed by the relevant numeric literals or identifiers which the verb will act upon when the program is executed. The statement which you have specified is not a valid one.

Resolution:
Ensure that the arithmetic statement you want to use conforms to the relevant rules.


0313 Invalid arithmetic expression

An arithmetic expression which you have used in the Procedure Division is not a valid one.

Resolution:
See your Language Reference for details of the COBOL syntax for complicated arithmetic tasks.


0314 Illegal key

The key value in a file operation or in a SEARCH statement is the wrong size.

Resolution:
Check the key definition and correct the key value.


0315 Invalid conditional expression

A conditional expression which you have specified in the Procedure Division of your program does not conform to the rules of COBOL syntax. These expressions, an example of which is the statement immediately following an IF, enable one of two following statements to be executed at run time depending on the truth value.

Resolution:
Refer to the chapter Procedure Division in your Language Reference for details on the coding of the particular statement which you have used. Revise your code accordingly.


0316 Too many AFTERs in PERFORM statement

A PERFORM statement can be followed only by seven AFTER phrases. Your code exceeds this limit.

Resolution:
Rewrite your code ensuring that no PERFORM statement has more than seven associated AFTER phrases.


0317 Incorrect structure of Procedure Division

You have made a mistake in the coding of the Procedure Division. For example, you might have forgotten one of the Section headers.

Resolution:
Ensure that the Procedure Division follows a logical order and that each section in it has its own header.


0318 File must have ACCESS SEQUENTIAL

The file named in this statement must have sequential access mode. A file's access mode is derived from its SELECT statement; it is either implied by the file's organization or specified by its ACCESS MODE clause.

Resolution:
Change the access mode of the file to sequential.


0319 Only index-names allowed with this format

An index-name is required at this point in the operation you are trying.

Resolution:
Edit your source code to ensure that the name you have specified is an index-name.


0320 Too many operands in one statement

A statement in the Procedure Division of your program contains too many operands or individual operands that are too long.

Resolution:
Reduce the number of operands, or shorten those operands that are too long.


0321 Repeated INDEXED BY phrase

You have used more than one INDEXED BY phrase on a table. This does not conform with your selected flagging dialect.


0322 Cannot reference DEBUG-ITEM outside declaratives

You have referred to your COBOL system-generated data item DEBUG-ITEM in a procedure that is not in the Declaratives Section of your program's Procedure Division. References to DEBUG-ITEM are permitted only in the Declaratives Section.

Resolution:
Delete the reference to DEBUG-ITEM, or move it to the Declaratives Section.


0323 More than one USE procedure on same file

You have associated two or more USE procedures with the same file when you can associate only one.

Resolution:
Delete the additional USE references.


0324 More than one USE procedure for same open mode

You have associated two or more USE procedures with the same file open mode when you can associate only one.

Resolution:
Delete the additional USE references.


0325 Illegal combination of debugging procedures

You have specified an invalid combination of USE FOR DEBUGGING procedures in the Declaratives.

Resolution:
Refer to the chapter Debug Module in your Language Reference - Additional Topics for details of debugging procedures. Correct the declaratives.


0326 Literal cannot be receiving field

You have specified a literal value as the receiving field in an operation involving an implicit or explicit move. A receiving field must be a data item.

Resolution:
Change the literal value to a reference to a data item.


0327 Index item not permitted

You have named an index data item as the sending or receiving field in a MOVE statement. This is not permitted.

Resolution:
Move the value into a nonindex data item and use this data item in the MOVE statement.


0328 Not allowed with OPTIONAL file

0329 WHEN phrase missing from SEARCH statement

You have specified a SEARCH statement with no WHEN phrase. You must specify at least one WHEN phrase in a SEARCH statement.

Resolution:
Add a WHEN phrase to the SEARCH statement.


0330 Not a record name

You must specify the name of a file record in this context (as defined in an FD entry in the File Section). You have probably misspelled a valid record-name.

Resolution:
Correct the reference so that it is a reference to a file record.


0331 Program is nested - must compile with NESTCALL directive

Your program contains one or more nested programs.

Resolution:
Specify the NESTCALL directive when you compile.


0332 AFTER phrase not allowed with in-line perform

You cannot specify an AFTER phrase in an in-line PERFORM statement.

Resolution:
Delete the AFTER phrase.


0333 Not an alterable paragraph

The paragraph you have named in an ALTER statement is not a paragraph on which an ALTER statement can operate. Such a paragraph must consist of a single sentence containing only a single GO TO statement (without a DEPENDING phrase).

Resolution:
Change the reference in the ALTER statement to refer to a paragraph that can be operated on by ALTER, or edit the named paragraph so that it can be operated on by ALTER

See Also:
The ALTER and ACCEPT statement restrictions in your Language Reference.


0334 Cannot follow WHEN OTHER

The WHEN OTHER phrase, if specified, must be the last phrase in an EVALUATE statement.

Resolution:
Ensure any WHEN phrases precede the WHEN OTHER phrase.


0335 Selection object does not match selection subject

A type mismatch has occurred between one of the selection subjects in an EVALUATE statement and the corresponding selection object.

Resolution:
Correct the EVALUATE statement.


0336 Variable length group not allowed

You cannot INITIALIZE a variable-length item.

Resolution:
Delete the item-name from the INITIALIZE statement.


0337 Cannot repeat same category

You have repeated the same data class in the REPLACING phrase of an INITIALIZE statement.

Resolution:
Delete the repeated class from the INITIALIZE statement.


0338 REPORT not specified in an FD

You have referred to a report for which no FD entry exists in the Report Section. You might have forgotten to specify the report entry, or you might have misspelled a correct report-name.

Resolution:
Correct the report-name or add the necessary report definition to the Report Section.


0339 Not allowed with SEQUENTIAL files

You have specified an operation that cannot be performed on a file opened in sequential access mode.


0340 Not allowed with RANDOM ACCESS files

You have specified an operation that cannot be performed on a file opened in random access mode.


0341 Not allowed with LINE SEQUENTIAL files

You have specified an operation that cannot be performed on a line sequential file.


0342 Not allowed with LINAGE files

You have performed an illegal operation on a file defined with a LINAGE clause (for example, WRITE AFTER CO1).

Resolution:
Delete the illegal operation or redefine the file without a LINAGE clause.


0343 Can only be used in inline PERFORM

0344 Should be level 01 or 77

You have specified a data item that is not a level 01 or level 77 data item where your COBOL system is expecting the data item to be either one of these levels.

Resolution:
Redefine the data item to be level 01 or level 77.


0345 USING parameter used twice in parameter list

You have specified the same data item-name twice in the USING phrase of the Procedure Division header. All the names in the USING phrase must be different.

Resolution:
Delete the extra reference.


0346 Only one WHEN phrase allowed with SEARCH ALL

You have specified two WHEN phrases in a SEARCH statement using the ALL option. You can specify only one WHEN phrase in this context.

Resolution:
Delete the extra WHEN phrase.


0347 MERGE needs at least two USING files

You have specified fewer than two filenames in the USING phrase of a MERGE statement.

Resolution:
Ensure that you specify at least two filenames in the USING phrase of the MERGE statement.


0348 Procedure name procedure-name undeclared, first used on line line-number

You have referred to a nonexistent paragraph or section. You have probably misspelled a valid procedure-name.

Resolution:
Ensure that the procedure you have referred to exists and that you have spelled it correctly.


0349 "LOCK" clause expected

You have not specified the LOCK phrase with a READ statement.

Resolution:
Insert a LOCK phrase in the READ statement.


0350 Illegal use of "NO LOCK"

You have used a READ statement with the NO LOCK phrase on a file for which no record locking is required.

Resolution:
Delete the NO LOCK phrase.


0351 "LOCK" clause specified for "EXCLUSIVE" file

You have specified a LOCK clause in a READ statement for a file that you have already locked with an EXCLUSIVE lock (in the FILE-CONTROL paragraph of your code).

Resolution:
Record locking is impossible on a file which your run unit has already locked with an EXCLUSIVE lock. To ensure that the two LOCK entries are compatible, you should either delete the LOCK entry in the relevant READ statement, or alter the LOCK MODE IS entry in the FILE-CONTROL paragraph.


0352 "KEPT" specified for file with single record locking

This message applies only to multi-user syntax. You have specified a WITH KEPT LOCK phrase in a READ statement which accesses a file that does not support multiple record locking.

Resolution:
Either change the filetype or delete the WITH KEPT LOCK phrase to ensure compatibility between the two entries.


0353 Cannot reference a Report Section item that is not a sum-counter

0354 Multiple receiving fields in MOVE CORRESPONDING

0355 Only "=" and "NOT =" allowed for pointer data items

You can use the operators = and NOT = only in comparisons involving pointer data items.

Resolution:
Correct the comparison.


0356 Not allowed with REPORT files

You have tried to perform a file operation (READ, WRITE, REWRITE) on a file whose FD entry indicates that it is a report.

Resolution:
Delete the input-output statement.


0357 Screen is display-only

You have named a screen in an ACCEPT statement that contains only display fields.

Resolution:
Make sure that you have named the correct screen.


0358 Missing comma

COBOL syntax expects a comma at this point.

Resolution:
Add the missing comma.


0359 Mismatch of table dimensions

A data item in an ACCEPT/DISPLAY statement has a different number of dimensions from the corresponding Screen Section item.

Alternatively, the Screen Section item has a different number of dimensions from the corresponding data item appearing in the USING or TO clause.

Resolution:
Make the two item definitions consistent.

See Also:
The ALTER and ACCEPT statement restrictions in your Language Reference.


0360 File must have ACCESS DYNAMIC

You have specified an operation on a file that can be performed only if the file has access mode DYNAMIC.

Resolution:
Change the file control entry for the file so that it has access mode DYNAMIC.


0361 Operation exceeds COMP subset

Your program contains a statement that cannot be compiled to COMP subset instructions.


0362 data-name not declared for file or wrong type for CODE-SET

The data-names you have specified in the CODE-SET clause do not belong to a record in the file.

Resolution:
Edit your source code so that the data-names in the CODE-SET clause refer to a record in the file.


0363 data-name not in same record as first item in CODE-SET clause

You have specified data-names in the CODE-SET clause that belong to more than one record. All data-names specified in this clause must belong to a single record in the file.

Resolution:
Edit your source code to delete one or more of the CODE-SET data-names to ensure that all data-names belong to only one record.


0364 data-name overlaps another item in CODE-SET clause

One or more of the data-names specified in the CODE-SET clause is redefined, or you might have specified the whole record, rather than individual data-names contained in that record, in the CODE-SET clause.

Resolution:
Edit your source code so that the data-names in the record are specified only once.


0365 Variable size table not last in group or subsidiary to OCCURS

OCCURS DEPENDING ON item must be last item in a group.

Resolution:
Restructure your data items so that the OCCURS DEPENDING ON item is the last item in the group.


0366 Variable length delimiter not allowed

You cannot use a reference modified item or a group containing an OCCURS ... DEPENDING ON clause in this context.

Resolution:
Replace the reference modified item, or specify a valid item in the OCCURS DEPENDING ON clause.


0367 Description of operand does not contain the INDEXED BY clause

A SEARCH is not possible as the description of the operand does not contain the INDEXED BY clause.

Resolution:
Include an INDEXED BY clause in your operand description.


0368 Exception phrase inappropriate

The specified exception is not appropriate with this statement in the specified access mode. For example an AT END has been specified with random access, or INVALID KEY with sequential access.


0369 OPEN EXTEND on file with LINAGE clause

OPEN EXTEND is not allowed on a file defined with a LINAGE clause.


0370 Operand must be a table

The operand used in this situation can only be a table.

Resolution:
Revise your code so that the operand is a table.


0371 Data size is too large

Your program's data size exceeds the maximum size permitted.

Resolution:
Redesign your program to include less data.


0372 Illegal use of SORT file

You have specified a SORT file incorrectly.

Resolution:
Correct the syntax.


0373 PICTURE string contains more than 18 numeric positions

Your PICTURE string can contain a maximum of 18 numeric positions.

Resolution:
Change your PICTURE string so that it contains no more than 18 numeric positions.


0374 Illegal use of floating-point item

You have specified a floating-point item incorrectly.

Resolution:
Do not use a floating-point item in this context.


0375 Literal includes repeated characters

0376 Table superordinate to operand is not indexed

0377 SORT table does not support complex OCCURS DEPENDING ON tables

0378 More than seven AFTER phrases

You can include a maximum of seven AFTER phrases in a PERFORM statement.

Resolution:
Delete any extra AFTER phrases.


0379 Non-DISPLAY numeric data cannot be compared with alphanumeric data

0038 Parameter count in CALL different from that in PROCEDURE DIVISION header

0381 TALLYING option has ALL etc. distributed over multiple identifiers

0382 Only one Procedure-name in GO TO ... DEPENDING

0383 Missing ALSO

You have omitted the word ALSO.

Resolution:
Add the word ALSO.


0384 NEXT SENTENCE does not follow ON, IF, ELSE or SEARCH WHEN

NEXT SENTENCE should be used only in either branch of an IF statement or the WHEN branch of a SEARCH statement.

Resolution:
Revise your code to ensure that you have obeyed these rules.


0385 Order of initialization changed

0386 No section or paragraph at start of Procedure Division

0387 AFTER and BEFORE options used together

0388 Key is right hand side of condition

0389 EXIT not in separate paragraph

0390 OPEN EXTEND on non-sequential file

0391 MF format Accept/Display

See Also:
The ALTER and ACCEPT statement restrictions in your Language Reference.


0392 More than two AFTER phrases

You have included more than the maximum of two AFTER phrases in your program.

Resolution:
Delete any extra AFTER phrases.


0393 Inline PERFORM

0394 No section header after END DECLARATIVES

0395 FROM literal

0396 No suitable conditional phrase and no applicable declarative

0397 No preceding section

0398 Offset only allowed with Index-names

0400 Cannot use index data item as subscript

You have used an index data item as a subscript in your program.


0401 Limit exceeded - number of source statements > limit

0402 Limit exceeded - number of files > limit

0404 Limit exceeded - number of pairs of REPLACING operands > limit

0406 Limit exceeded - length of file/copy/library name > limit

0409 Limit exceeded - number of SELECT filenames > limit

0410 Limit exceeded - number of SAME RECORD AREA clauses > limit

0411 Limit exceeded - number of MULTIPLE FILE filenames > limit

0412 Limit exceeded - number of ALTERNATE RECORD KEY clauses in a file > limit

0413 Limit exceeded - length of RECORD KEY > limit characters

0414 Limit exceeded - length of Data Division > limit

0415 Limit exceeded - length of Data Section > limit

0419 Limit exceeded - BLOCK size > limit characters

0420 Limit exceeded - RECORD length > limit characters

0421 Limit exceeded - number of FD filenames > limit

0422 Limit exceeded - number of SD filenames > limit

0424 Limit exceeded - number of 01 &77 items in Linkage Section > limit

0425 Limit exceeded - length of File Section group item > limit characters

0426 Limit exceeded - length of group item > limit characters

0427 Limit exceeded - length of data item > limit characters

0428 Limit exceeded - length of edited item > limit characters

0429 Limit exceeded - length of variable length table > limit characters

0430 Total length of VALUE literals > integer - possible problem on mainframe

0431 Limit exceeded - length of PICTURE string > limit characters

0432 Limit exceeded - length of PICTURE replication > limit

0433 Limit exceeded - length of sort record > limit characters

0434 Limit exceeded - length of table > limit characters

0435 Limit exceeded - length of table element > limit characters

0436 Limit exceeded - number of ASC/DESC KEY clauses > limit

0437 Limit exceeded at limit - length of ASC/DESC KEYs > limit characters

0438 Limit exceeded - number of INDEXED BY clauses > limit

0440 Limit exceeded - number of paragraph labels > limit

0441 Limit exceeded - number of PERFORMs > limit

0442 Limit exceeded - OCCURS nesting > limit

See Also:
See the section Compiler Limits in the chapter System Limits and Programming Restrictions in your Programmer's Guide to Writing Programs.


0443 Limit exceeded - number of GO TO DEPENDING ON names > limit

0444 Limit exceeded - number of IF nesting levels > limit

0445 Limit exceeded - number of CALL parameters > limit

0446 Limit exceeded - number of SORT/MERGE input files > limit

See Also:
See the section Compiler Limits in the chapter System Limits and Programming Restrictions in your Programmer's Guide to Writing Programs.


0447 Limit exceeded - number of SORT/MERGE keys > limit

0448 Limit exceeded - number of conditions in a SEARCH ALL > limit

0449 Limit exceeded - number of UNSTRING delimiters > limit

0450 Limit exceeded - number of operands in INSPECT TALLYING/REPLACING > limit

0451 Limit exceeded - length of SORT/MERGE keys > limit characters

0452 Limit exceeded - number of PROCEDURE DIVISION USING parameters > limit

See Also:
See the section Compiler Limits in the chapter System Limits and Programming Restrictions in your Programmer's Guide to Writing Programs.


0453 Limit exceeded - number of ENTRY USING parameters > limit

See Also:
See the section Compiler Limits in the chapter System Limits and Programming Restrictions in your Programmer's Guide to Writing Programs.


0460 Previous item crosses 64K boundary. Segment checking code produced

0461 Table crosses 64K boundary. Segment checking code produced

0462 Parameter crosses 64K boundary. Use NOSMALLDD when compiling subprogram

0463 Parameter to call-by-number routine not contained in first 64K of WS

0465 File Section exceeds 64K. Recompile with CALLFH directive

0466 KEY-YY not supported; assumed KEY

The Siemens BS2000 SORT statement allows the use of KEY-YY. This compiler has accepted the syntax but results are likely to be invalid.


0499 DISPLAY ALL figurative constant syntax used

You have used the syntax DISPLAY ALL figurative constant which does not conform with your selected flagging dialect.


0500 DISPLAY ALL literal syntax used

You have used the syntax DISPLAY ALL literal which is not does not conform with your selected flagging dialect.


0501 Feature is part of an optional module - module-name

0502 This entire section is part of an optional module - module-name

0503 USAGE COMP used at other than 01 level

0504 ORGANIZATION clause in SELECT statement of sort file

0505 VALUE OF clause in SD or CD

0506 REDEFINES does not immediately follow data-name

The REDEFINES clause does not immediately follow data-name in your program.

Resolution:
Revise your program so that REDEFINES immediately follows data-name.


0507 Numeric literal VALUE on edited item

0508 NEXT used in READ of sequential file

0509 SET operation on non-index data item

0510 ZEROS or ZEROES in BLANK WHEN clause. Treated as ZERO

0511 FILE STATUS data-name is not alphanumeric

You have specified a nonalphanumeric data item in your FILE STATUS.

Resolution:
Amend your code to make the data item alphanumeric.


0512 Data-name is qualified

0513 Flag refers to entire section

0514 "CHANGED" and/or "NAMED" missing

You have omitted at least one of CHANGED or NAMED.

Resolution:
Add CHANGED and/or NAMED to your program.


0515 Phrases repeated

0516 Only 1 file specified in SAME AREA clause

0517 Jump out of inline PERFORM

0518 > or < followed by THAN or THEN, or = followed by TO

You have included the noise words THAN and TO unnecessarily in your code.

Resolution:
Delete these words.


0519 More than 5 levels of qualification

0520 "INVALID KEY" phrase used with sequential file

0521 USING literal/LENGTH OF identifier. (BY CONTENT implied for this item)

0522 BY CONTENT literal/LENGTH OF identifier

0523 Declarative Section without USE statement

0524 ALPHABET IS ASCII

0525 EOP or END-OF-PAGE used on file which has no LINAGE

You have specified EOP, which is invalid for a file which has no LINAGE.

Resolution:
Delete EOP.


0526 Phrases are not in the correct order

0527 REDEFINES at 01 in File Section

0528 Data-name data-name in ASC/DESC key clause is not uniquely identified

0529 Clause treated as documentary

0530 Data item used as index file key is not alphanumeric

The data item you have specified as an index file key is not alphanumeric.

Resolution:
Revise your code to make the data item alphanumeric.


0531 Too many subscripts

0532 INTO data-name is group item

0533 START ... LESS/NOT GREATER THAN ...

0534 Entry treated as documentary

0535 ALPHABET is EBCDIC

0537 BASIS mechanism (BASIS, DELETE or INSERT)

0538 Picture string is continued

0539 This item is obsolete in 1985 standard

The syntax you have used is not supported under ANSI'85.

Resolution:
Delete this syntax.


0540 Source field is edited

0541 Comparison between edited field and COMP field

0542 VALUE clause on group COMP

0543 VALUE clause on variable length group

0544 VALUE clause with OCCURS or subsidiary to group OCCURS

0545 ALTERNATE RECORD KEY is not in SAA

0546 PICTURE symbol P not allowed in RELATIVE KEY

You have included the PICTURE symbol P in a Relative Key.

Resolution:
Delete P.


0547 END-IF used with NEXT SENTENCE

0548 Program is nested

0549 USING identifier must not be a redefinition

0550 Pseudo-text consists entirely of a separator comma or semicolon

0551 Second status field does not comply with VSC2/BS2000 specifications

0552 Comment lines precede IDENTIFICATION DIVISION

0553 syntax : non-conforming standard ANS85

The language element is part of the ANSI'85 standard but above the flagging level selected.


0554 Syntax is non-conforming non-standard ANS85

The language element is not part of the ANSI'85 standard. It is an OS/VS COBOL, VS COBOL II, Micro Focus, or other extension.


0555 syntax : marked as obsolete in the ANS85 standard

The ANSI'85 standard has defined this language element as obsolete. It will be removed from the next ANSI standard.

Resolution:
Delete this syntax.


0556 Multiple program source

Source file contains more than one source program. In this situation, more than one separate, not nested, program exists.


0557 Multiple GIVING files

A SORT or MERGE statement contains multiple files in the GIVING clause.


0558 Comparison between index-name and arithmetic expression

0559 Statement cannot be reached

0560 Alphabet declared without ALPHABET keyword

0561 A "NOT" phrase did not have a matching verb and was discarded

You declared a NOT phrase but failed to declare a matching verb.

Resolution:
Add the appropriate verb.


0562 An "ELSE" phrase did not have a matching IF and was discarded

You declared an ELSE phrase but failed to declare a matching IF.

Resolution:
Resolve the mismatch between the conditional verbs.


0563 A "WHEN" phrase did not have a matching verb and was discarded

You declared a WHEN phrase but failed to declare a matching verb.

Resolution:
Add the appropriate verb.


0564 A scope-delimiter did not have a matching verb and was discarded

You declared a scope-delimiter but failed to declare a matching verb.

Resolution:
Resolve the mismatch between the conditional verbs.


0565 RECORDING MODE used with INDEXED or RELATIVE file

0566 This release does not support floating point in this context

0567 USAGE DISPLAY-1 missing

You have omitted the words USAGE DISPLAY-1.

Resolution:
Add USAGE DISPLAY-1.


0568 Sign condition in EVALUATE statement

0569 Data item does not have fixed location

0570 Insufficient space in area B for SO/SI insertion

You do not have sufficient space in area B for SO/SI characters to be inserted for the DBCS items. If the source program is ported to an environment requiring SO/SI characters the source line might become corrupted.


0571 Mixed literal is continued

0572 INITIALIZE operand does not have fixed location

0573 More than one REPLACING phrase

0574 Conditional statement not terminated by its scope-delimiter

0575 Zero suppression follows floating insertion

0576 Preceding statement is not imperative

0577 Group level USAGE does not match PICTURE type - USAGE ignored

You have declared a PICTURE clause but the group USAGE does not match this type.

Resolution:
Either delete the USAGE clause or change the PICTURE clause.


0578 PROGRAM-ID specified as literal

0579 PROGRAM-ID is DBCS name

0058 User-defined word as DBCS name

0581 END-SEARCH used with NEXT SENTENCE

0582 Redefined item has OCCURS phrase

0583 EXIT PROGRAM in GLOBAL declarative

0584 Inline PERFORM statement not terminated by END-PERFORM

0585 Imperative statement missing

You have failed to specify an imperative statement.

Resolution:
Include an imperative statement.


0586 Smallest record size size1 > minimum in RECORD clause size2

You have specified a minimum size for your record definitions, but none of the records you have defined is that small.

Resolution:
Revise your code so that the minimum size specified is equal to your smallest data record.


0587 Largest record size size1 < maximum in RECORD clause size2

You have specified a maximum size for your record definitions, but none of the records you have defined is that large.

Resolution:
Revise your code so that the maximum size specified is equal to your largest data record.


0588 Operand does not have USAGE DISPLAY

0589 Procedure Division does not finish with complete sentence

0590 USING/GIVING file does not have ORGANIZATION SEQUENTIAL

0591 USING/GIVING file has ACCESS RANDOM

0592 USING/GIVING file has ACCESS DYNAMIC

0593 Sequence number contains nonnumeric characters

0594 Variable length group is operand of INITIALIZE statement

0595 SORT file has FILE STATUS clause

0596 01 level record in Report Section is elementary

0597 Object of SUM clause belongs to different report

0598 Assignment-name is alphanumeric literal

0599 Literal form of CODE phrase

0600 Name is implicitly qualified

0601 USE BEFORE REPORTING on DETAIL group

0602 Neither LINE nor LINES specified

0603 SIGN phrase in Report Section

0604 GLOBAL specified for entry without data-name

0605 More than one SUM for single item

0606 Program does not contain Procedure Division

0607 PROCEDURE DIVISION header missing

0608 Pseudo-text delimiter preceded / followed by illegal character

The pseudo text delimiters used in COPY ... REPLACING and REPLACE must be preceded by a space and followed by a separator. The system assumes one was present.


0609 Apostrophe found with QUOTE directive (future occurrences not flagged)

See Also:
The QUOTE Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide.


0611 Line: line-no Column: column-no

0612 EXIT PROGRAM not in separate paragraph

0613 Invalid program name

0614 Previous LINE clause specified same number

0615 Floating point data item

0616 This EXIT statement format is an MF extension

0617 Data item is defined at level 66

0618 Data item is not declared in Linkage Section

0619 User-name mixes single-byte and double-byte characters

0620 DBCS user-name exceeds 14 characters in length

0621 DBCS user-name begins with DBCS equivalent of SBCS "-" character

0622 DBCS name contains illegal character

0623 DBCS name contains only DBCS characters equivalent to SBCS characters

0624 Belongs to Linkage record not specified in PROCEDURE DIVISION header

0625 Alphabetic edited item treated as alphabetic

0626 Edited field not allowed

0627 Section header not followed by paragraph name or other Section header

0628 Use of symbolic literal defined in level 78 or CONSTANT directive

See Also:
The CONSTANT Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide.


0629 Use of signed or non-integer numeric literal

0630 INTO not legal for this file

0631 GLOBAL specified in Linkage Section

0632 A FUNCTION cannot be a receiving item

0634 Feature not supported in selected dialect

0635 VALUE specified for external floating point data item

0636 Level 88 defined on external floating point data item

0637 ACCEPT references internal floating point data item

See Also:
The ALTER and ACCEPT statement restrictions in your Language Reference.


0638 Floating point data illegal in DIVIDE with REMAINDER clause

0639 Reserved word OR missing

0640 Floating point data item used in SEARCH ALL statement

0642 Source and target start at same location

0643 Source and target overlap, and source is at a higher address than target

If the source and target items in a move overlap, the result of the move is undefined.


0644 Mantissa has more than 16 numeric positions

0645 Floating-point value out of range

0647 CURSOR/CRT STATUS data item may not be in LOCAL-STORAGE/LINKAGE

0648 Illegal use of Local-Storage item

0649 Record length exceeds system limit

0650 No matching $IF - ignored

A $END or $ELSE conditional compilation statement has been found without a preceding $IF. The line was ignored.


0651 SORT key cannot have, or be subsidiary to item with, OCCURS clause

0654 NEXT GROUP specified for group with no LINE NUMBER clause

0655 NEXT GROUP NEXT PAGE specified for report without PAGE description

0656 Source and target overlap, and source is at lower address than target

0657 Should be declared in Linkage Section

0658 NUMERIC class test on ALPHABETIC item

0659 Screen name mandatory at 01 level in Screen Section

0660 Positive signed integer used in relative subscripting

0661 Superfluous TO found in MOVE statement. Ignored

0662 Figurative constant or ALL not allowed here

0663 LENGTH function in non-standard context

0664 INPUT-OUTPUT SECTION precedes CONFIGURATION SECTION

0665 Communications syntax incorrect

0666 Reserved word used as data-name or unknown data description qualifier

0667 ODO object object must have fixed location

0668 JUSTIFIED specified on edited field

0669 EVALUATE statement using partial conditional expressions

0670 Selection object does not correspond to selection subject

0671 PERFORM UNTIL EXIT

0672 COPY nested in COPY REPLACING

0673 Incompatible options specified

0674 Subscripting and indexing used for the same identifier

0675 Numeric FUNCTION used as source of MOVE statement

0676 THEN used instead of THAN

0678 Too many CONTROLS specified for report

0679 QUOTE character must be double in an N literal

0068 N" format literal

0681 Function argument must be positive

0682 Function argument must be positive or zero

0683 Function argument must be nonzero

0684 Function argument must be between -1 and +1

0685 Function argument must be greater than -1

0686 Function argument must be between 1 and collating sequence length

0687 Use of PROCEDURE-POINTER data item

0688 Use of "C" or "R" as currency sign

0689 Condition-name cannot be set to FALSE (no FALSE value specified)

You have tried to set a level-88 item to FALSE without having specified the WHEN SET TO FALSE clause in the item's data description.


0690 Illegal use of floating-point literal

0691 Simple COPY and qualified COPY both used in the same program

You have mixed two different copies of copylbr in the same program. You must not use COPY statements if some have qualification and some have not.


0692 REPORT specified in more than two FDs

0693 Cannot be an external item

0694 Identifier is reference modified

0695 EXTERNAL program

0696 Data-name must be specified with TYPEDEF

0697 Data item is redefinition of KEY, rather than the key itself

0698 Use of positive literal in AFTER ADVANCING phrase

0699 ADVANCING PAGE and END-OF-PAGE used in same WRITE statement

Under ANS85, ADVANCING PAGE and END-OF-PAGE are not allowed in the same WRITE statement.


0700 Function argument is wrong format

You have supplied an argument to an intrinsic function which is of the wrong format, for example INTEGER-OF-DAY requires a date of a certain format.

Resolution:
Check the format of your argument against the documentation and recode.


0701 Alphabet-name must be preceded by ALPHABET

0702 Alphabetic class expanded to include lower-case letters

0703 ON OVERFLOW will execute under more conditions

0704 Comparison between scaled integer and nonnumeric is different

You are trying to compare a scaled integer with a numeric edited or alphanumeric item.


0705 ":" treated as a separator

0706 Non-COBOL character character found. Results might be different

Your COBOL system has found non-COBOL characters when trying a COPY REPLACING BY operation. The results might be different on other environments.


0707 An implicit EXIT PROGRAM will be executed at end of program

0708 PICTURE consists of A's and B's. Treated as alphanumeric-edited

0709 Order of initialization different for PERFORM... VARYING.. . AFTER

0710 The maximum length of receiver receiver will be used

0711 RECORD CONTAINS with one integer is supported differently

0712 The file status values are different

The file status values for file operations differ between environments.


0713 Subscripting and ODO for UNSTRING evaluated at start of statement

0714 Non-space characters following "." are ignored

0715 EXIT not followed by "."

0716 EXIT PROGRAM not followed by "."

0717 Shift out character not followed by valid DBCS character

0718 Shift out character not matched with shift in, or vice versa

0719 I-O CONTROL paragraph contains multiple sentences

0720 SEQUENTIAL file used as CALL parameter

0721 Non-SEQUENTIAL file used as CALL parameter

0722 Data item too small (must be at least 16 characters long)

0723 USE...GIVING option

0724 Period follows SKIP1/ 2/ 3 or EJECT

0725 Function argument invalid, year must be greater than 1600

0726 Function argument invalid, month must be an integer between 1 and 12

0727 Function argument invalid, day must be an integer between 1 and 31

0728 Function argument invalid, day must be an integer between 1 and 366

0729 OO: parameter-name not specified in USING

Parameters to user defined syntax must be listed in the PROCEDURE DIVISION USING clause of the program.


0730 OO: Definition too long

The definitions of user defined syntax are restricted in size.

Resolution:
Shorten your syntax definition, for example, by omitting optional noise words.


0731 OO: Syntax matches multiple signatures of signature - first assumed

The syntax defined in the program matches more than one user defined syntax definition. The code could be ambiguous. However, in many cases the definitions resolve to the same method. The Compiler uses the first matching definition.


0732 OO: Signature signature does not match or data name data-name not declared

The code in the program does not match any user defined syntax definition.


0733 OO: FUNCTION not permitted - no RETURNING/GIVING phrase specified

User-defined syntax FUNCTIONs can only be defined for methods which have a RETURNING or GIVING phrase on the PROCEDURE DIVISION.


0734 OO: FUNCTION cannot use RETURNING/GIVING parameter parameter-name

User-defined syntax FUNCTIONs cannot include the RETURNING/GIVING parameter as a parameter to the function.


0735 OO: Invalid verb/function signature signature

You are trying to use a reserved word as the verb of user-defined syntax definition.

Resolution:
Choose a different verb.


0736 OO: CLASS class-name not declared

class-name is not declared as a CLASS in the SPECIAL-NAMES paragraph of a program. It's definition might be required as a result of specified inheritance.

Resolution:
Include an appropriate CLASS statement in the SPECIAL-NAMES paragraph and resubmit.


0737 OO: Object types do not conform (type-1,type-2)

You are trying an operation involving incompatible types of OBJECT REFERENCEs, as defined by the inheritance hierarchy. Such objects are said to be non-conforming.


0738 OO: Signature must contain <SELF> or <OBJECT> exactly once

User defined syntax definitions must contain SELF or OBJECT exactly once.


0739 OO: Signature includes IN, OF or "(" after parameter. May be ambiguous.

The use of OF or parentheses in user defined syntax definitions can lead to ambiguities in parsing which might give unexpected results. For example, parentheses following a parameter might be interpreted as subscripting.


0740 OO: Sorry, too many use signatures of signature to consider

There is a limitation as to how many user defined syntax definitions with the same verb or function name can be considered at one time. For example, you have many definitions of the same verb.

Resolution:
Reduce the number of definitions of each verb, or shorten those definitions.


0741 OO: Only allowed in an instance method

You have tried to use syntax that is only permitted in an instance method.


0742 OO: Implicit use of SELF only allowed in a METHOD

INVOKE statements might omit the initial object reference, and this implies an object reference of SELF. This can only be done in a METHOD, not a program.


0743 Expressions in SQL statements not affected by ARITHMETIC directive

Arithmetical expressions in SQL statements are processed by the database engine and are therefore not affected by the ARITHMETIC directive.

See Also:
The ARITHMETIC Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide.


0744 BY VALUE not allowed in nested programs

You have tried to pass a parameter BY VALUE when calling a nested program.


0745 END DECLARATIVES missing

0746 WHEN OTHER must follow other WHEN phrase

0747 Object of SUM...UPON phrase is not a detail group for this report

0748 Index name set to negative value

0749 Index name set to +0

0750 Index name set to 0

0751 Index name augmented by 0

0752 Complex arithmetic expression used as subscript

See Also:
The ALTER and ACCEPT statement restrictions in your Language Reference.


0753 OR phrase in INSPECT BEFORE/AFTER

See Also:
The ALTER and ACCEPT statement restrictions in your Language Reference


0754 Negative integer not allowed

See Also:
The ALTER and ACCEPT statement restrictions in your Language Reference


0755 Special register used with ACCEPT/DISPLAY/EXHIBIT or CALL statement

See Also:
The ALTER and ACCEPT statement restrictions in your Language Reference


0756 TYPEDEF name missing

0757 POINTER name required

0758 POINTER item has incorrect type

0759 Illegal use of logical operator

0760 !INITIALIZE TO VALUE statement

0761 DELIMITED BY SIZE omitted

0770 OO: Signature includes IN, OF or "(" after parameter.

The use of OF, IN or parentheses in user defined syntax definitions that follow or might possibly follow a parameter are not allowed.


0771 OO: Required or Optional word must not be a verb.

The use of a COBOL verb is not allowed as a user defined required, or optionally required, word in user defined syntax definitions.


0772 Illegal combination of ALLOW clauses

0773 CLASS clause cannot be used with numeric item

0774 COBOL word contains 31 characters.

0775 Data item too small - must have at least 4 digits.

0776 Partial word replacement.

0777 Only one word allowed with partial word replacement.

0778 Additional messages suppressed

0779 The intermediate code may not be portable at the intlevel set

0781 01 Group item must have the EXTERNAL-FORM clause

0790 OO: Invalid method name.

0791 Pre-compiled header header not found.

0792 MOVE used with pointer item.

0793 No PICTURE specified for elementary alphanumeric item.

0794 KEY specification uses SOURCE syntax.

0795 END PROGRAM value missing.

0796 SYNC would cause re-alignment of redefined group - not allowed

0797 Non-COBOL character character found.

0799 COLUMN clause requires a SOURCE/SUM/VALUE clause also.

0800 Bad task request from External Compiler Module

0801 External Compiler Module message

0802 Data name defined using SQL syntax too long to modify

0803 Integrated preprocessor message

0804 Source limit of integer lines exceeded

1001 Character other than *, D, /, -, or $ found in column 7. Blank assumed

You might have mistyped one of the characters allowed in column 7. Your COBOL system cannot interpret the character in column 7, and has treated it as a space.


1002 Continuation character invalid at this point. Blank assumed

You have placed a hyphen in column 7, though your COBOL system is not expecting the syntax to be continued at this point. The continuation character is ignored.


1003 First character of a continued literal not a quote. Quote assumed

You have included a continuation character in column 7, but you have forgotten to start the continuation of the literal with a quotation mark. Your COBOL system assumes that the quotation mark is included.


1004 Continuation character expected. End of literal assumed

The literal in the previous line of source code is not delimited by quotation marks, so your COBOL system is expecting a continuation character in column 7, and a continuation of the literal. Your COBOL system has assumed that you meant to end the literal on the previous line.


1005 Name ends in hyphen. Processed as written

You have used a hyphen as the last character in a user-defined-name, which is against the rules of COBOL syntax. Your COBOL system has accepted this as a valid name, however, and has not changed the name in any way.


1006 COBOL word contains more than 30 characters. Word truncated

The name that you have specified is longer than 30 characters. Your COBOL system treats this as a name consisting of the first 30 characters of your original name.


1007 VALUE literal size size1 > data item size size2. Literal truncated

The literal you have specified in the VALUE clause is too long to fit into the data item. Your COBOL system inserts characters from the literal into the data item, until the data item is full.


1008 DBCS literal must contain an even number of characters. Literal truncated

All Double Byte Character Set (DBCS) symbols are two bytes (two characters) long. You have specified a literal that consists of an odd number of characters. Your COBOL system ignores the last, single character of the literal.


1009 Closing delimiter for DBCS literal not found. Delimiter assumed

You have not included the quotation mark to show the end of the Double Byte Character Set (DBCS) literal. Your COBOL system has assumed that you intended to end the literal at this point.


1010 Nonnumeric literal has length of zero. One SPACE assumed

The alphabetic or alphanumeric literal you have defined in your source code is empty, that is, you have a pair of quotation marks with no character between them. Your COBOL system has assumed that the literal contains one space character.


1011 DBCS literal has length of zero. Length of one DBCS character assumed

The Double Byte Character Set (DBCS) literal you have defined in your source code is empty, that is, you have a pair of quotation marks with no DBCS character between them. Your COBOL system has assumed that the literal is two characters long, and that it has a value of spaces.


1012 DIVISION missing or misspelled. DIVISION assumed

You have omitted the word DIVISION from a Division header, or you have spelled it incorrectly. Your COBOL system has assumed that DIVISION is what was meant.


1013 SECTION missing or misspelled. SECTION assumed

You have omitted the word SECTION from a Section header, or you have spelled it incorrectly. Your COBOL system has assumed that SECTION is what was meant.


1014 Period missing. Period assumed

You have omitted a period in a place where one is expected by the rules of COBOL syntax. Your COBOL system has assumed the period is present.


1015 OCCURS integer-1 exceeds OCCURS integer-2. Zero is assumed for integer-1

You have included the OCCURS integer-1 TO integer-2 DEPENDING clause in your source code, but the value given for integer-1 is greater than that for integer-2, which is against the rules of COBOL syntax. Your COBOL system has effectively changed the value of integer-1 to 0.


1016 Expected SEPARATE before CHARACTER in SIGN clause. SEPARATE assumed

You have incorrectly coded the SIGN clause because you have included the word CHARACTER, which is not required, but you have omitted the required word SEPARATE. Your COBOL system has assumed that you intended the clause to be SIGN IS LEADING (or TRAILING) SEPARATE CHARACTER.


1017 REDEFINES ignored for 01 level item in File or Communication Section

You have tried to REDEFINE a data item in the File or Communication Section but the data item is an 01 level item. Level 01 items for the same FD or CD automatically redefine one another.


1018 VALUE clause not allowed here. Clause processed as comment

You have tried to assign a value to a data item defined in the File Section or the Linkage Section. The VALUE clause is ignored.


1019 Unsigned numeric literal expected. Sign ignored

You have specified a sign where one is not expected, for example, you have used the AFTER ADVANCING +1 or BEFORE ADVANCING -2 clause to the WRITE statement. Your COBOL system ignores the sign, and treats the digits as a positive value.


1020 Unsigned numeric field. Sign in VALUE clause ignored

You have defined a numeric data item (that is, PIC 9) and you have tried to assign a signed number as its value. Your COBOL system ignores the sign you have specified. Where you are trying to move a number with a negative sign into a numeric field, the result is not as expected.


1021 Slack bytes added in conversion of COMP-6 to COMP

You are using a program converted from RM/COBOL that contains a COMP-6 numeric data item which has been converted to a COMP numeric data item. As a result of this conversion, less data space might have been allocated to the numeric data item and, therefore, your COBOL system adds leading binary zeros to pad the space, if required.


1022 Table item not subscripted or indexed. First occurrence assumed

1023 WORKING-STORAGE SECTION expected. Start of Working-Storage assumed

Your program begins with an 01 level entry. It is assumed that this is the first item of the Working-Storage Section.


1024 VALUE clause literal does not conform to PICTURE. Changed to blanks.

A numeric value has been specified for a nonnumeric data item. The data item is filled with spaces.


1025 MOVE edited field to edited field - treated as alphanumeric move

A move of one edited field to another is treated as an alphanumeric move.


1026 Source literal is nonnumeric - substituting zero

A MOVE statement is trying to MOVE a nonnumeric literal to a numeric data item. This cannot be done. To avoid undefined results, ZERO is moved to the target data item.


1027 Literal is numeric - treated as nonnumeric

A numeric literal is being used in relation to a nonnumeric data item; for example, as the VALUE of an 88 level entry attached to a nonnumeric data item. The literal is converted to an alphanumeric literal.


1028 Statement should not reference an alphabetic data item

A statement would cause invalid data to be contained in an alphabetic data item. Your COBOL system executes the statement as written.


1029 A non-integer is being moved to an alphanumeric data item

A MOVE statement is trying to move a noninteger item to an alphanumeric data item. The decimal point is ignored and all the digits moved as if they constituted an integer.


1030 Cannot SORT or MERGE USING or GIVING two files with SAME AREA

Two files specified in a SORT or MERGE statement are defined as sharing the same area. The files are allocated different areas.


1031 SORT file appears in more than one SAME SORT (-MERGE) AREA clause

A SORT file has been referenced in more than one SAME SORT (-MERGE) AREA clause. The files are allocated different areas.


1032 Filenames illegally specified in same SAME RECORD AREA clause

Two files in a SORT or MERGE statement are defined as sharing the same record area. The files are allocated different record areas.


1033 Filenames illegally specified in same SAME SORT (-MERGE) AREA clause

Two files in a SORT or MERGE statement are defined as sharing the same sort (-merge) area. The files are allocated different sort-merge areas.


1034 Source item is ALPHABETIC or ALPHANUMERIC-EDITED - treated as alphanumeric

You have moved either an alphabetic, alphabetic justified, edited alphabetic or edited alphanumeric field to a numeric display field. The source field has been treated as though it were a numeric field.


1035 Key is not wholly contained within minimum record length

The specified key is greater in length than the minimum size of the record.


1036 Entry name illegal

1037 Data-name must be specified for an EXTERNAL record - EXTERNAL ignored

1038 RECORD key or ALTERNATE key has same starting position as another key

The specified key has the same starting position in the file's record as a previously defined key.


1039 Error in structure information. No structure diagram created

You are trying to perform structure animation of a program in which a PERFORM THRU statement performs sections in the Declaratives.

Resolution:
Normal animation can be performed, but not structure animation.


1040 ALL not allowed here - ALL ignored

1041 Data item has zero size, or group not yet completed. Value of 0 assumed

1042 A numeric item is being moved to an ALPHABETIC data item

1043 PERFORM may be recursive

1044 Load failure on SLOAD - STRUCT ignored

1045 Capacity of POINTER may be exceeded

1046 Host variable name might cause problems

1047 Phrase ignored - unsuccessful chain will cause program termination

1048 DBCS literal includes invalid data

1049 KEY clause not allowed with sequential READ - clause ignored

1050 Invalid condition in $IF

1051 Value evaluated left to right, differs from normal arithmetic precedence

1052 ALL specified more than once - repeated occurrences ignored

You have specified the word ALL more than once in an ALL literal.

Resolution:
We recommend that you remove any repetition of the word ALL, although any further occurrences are actually ignored.


1053 Multiple 01 level EXTERNAL records with same name - treated as same record

1054 Variable length group redefines or is redefined

1055 Requested SQLSTDLVL incompatible with your version of DBM. Directive ignored

You have specified a directive which has no meaning on your database manager


1056 CALL-CONVENTION does not match that specified in prototype

1057 REFERENCE/ CONTENT/ VALUE phrase does not match that specified in prototype

1058 Number of parameters is greater than in prototype

1059 Parameter is not consistent with that defined in prototype

1060 Can only use DELIMITED with alphanumeric items

1061 Number of parameters is less than in prototype

1062 Not allowed in EXTERNAL program

1063 EXTERNAL not allowed with nested, INITIAL or COMMON programs - ignored

1064 Illegal use of literal

1065 OO: SELF only allowed in CLASS program

1066 OO: SUPER not allowed - CLASS has no INHERITING phrase

1067 OO: RETURNING phrase not allowed in METHOD

1068 OOPS: CLASS-NAME class-name missing in SPECIAL-NAMES - assumed

1069 Identifier in area A assumed procedure name. Period missing before it

1070 OO: Incorrect structure of CLASS program

1071 OO: Missing OBJECT-STORAGE SECTION, required for inheritance

1072 OO: Not allowed in PROGRAM-ID. OBJECT

1073 LOCAL-STORAGE should be used with PERFORM-TYPE(MF).

1074 OO: INVOKE data-item not yet supported by OOPS run-time

1075 Invalid combination of RECORD and RECORDING MODE clauses

1076 Reference modified length should not be > 8191 at run-time

1077 Host variable name longer than permitted by database engine - truncated

1078 Setting of directives inline / conditional compilation

Inline directives ($SET statements) and conditional compilation conflict with the selected flagging dialect.

Resolution:
Embedded directives may be set within a comment so that the code is compatible with the selected flagging dialect. To use this feature you must set the DIRECTIVES-IN-COMMENTS compiler directive.

See Also:
The DIRECTIVES-IN-COMMENTS Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide


1079 Expected positive integer, positive integer assumed

You have used a negative integer where a positive integer was expected. Your COBOL system has ignored the negative sign.


1080 Odd number of hexadecimal digits

Hexadecimal constants should be specified in pairs. The constant contains an odd number of characters and a leading zero has been assumed.


1081 More than 255 BLL Cells

1082 Source line is too long

You have coded a source line greater than 80 characters. Your chosen flagging dialect does not support this.


1083 RECORDING MODE IS F specified for a variable length record structure

1084 OO: Missing OBJECT-STORAGE SECTION, required for class extension

1085 Created subordinate data item item

1090 Literal contains SBCS Katakana characters

1091 Literal contains DBCS or SBCS Katakana characters

1092 SBCS Katakana character usage in source is not portable

1101 No COBOL statement between periods

You have placed one period immediately following another period. This is not against the rules of COBOL syntax, but it might indicate a fault in your program, for example, you might have wanted to include a line of source code here.


1102 Blank continuation source line. Line ignored

You have placed a hyphen in column 7, but the rest of the line contains no other code. The next line should also contain a hyphen in column 7, to continue correctly.


1103 Sequence number out of order or missing

1104 77 level item in File Section. Processed as 01 level

You have assigned a level of 77 to a data item in the File Section which is against the rules of COBOL syntax. Your COBOL system assumes that you had intended to code this as an 01 level item, and processes it as such.


1105 No CORRESPONDING items were found. Statement has no effect

Your COBOL system found no matching data items for the CORRESPONDING clause, so no intermediate code is produced for this statement.


1106 ZERO value for BY operand. Statement processed as written

You have used the BY operand with the verb PERFORM, but the value you have specified for the increment is zero. Your COBOL system produces code to execute this statement, but the value is never incremented.


1107 Statement exceeds COMP subset

The COMP subset code you have written could be rewritten to execute more efficiently.


1108 Signed numeric compared with group. Processed as alphanumeric compare

You have written your code so that a signed numeric field is compared with a group item. Your COBOL system has treated the signed numeric field as an alphanumeric field for the comparison. There are no problems with comparing a signed numeric field with an elementary item.


1109 WITH DEBUGGING MODE not specified. Section ignored

Your program includes the USE FOR DEBUGGING statement in a section in the Declaratives of your Procedure Division, but you have not included the WITH DEBUGGING MODE clause in the Source-Computer paragraph. Your COBOL system ignores all code in this section.


1110 First literal is greater than second. Processed as written

In the ALPHABET clause the first literal that is specified has a value greater than that of the second, for example, P THRU D. Your COBOL system accepts this as written, that is, the characters are processed in reverse order.


1111 Boundary violation. Processed as written

You have tried to access an item beyond the end of a table. Your COBOL system generates code to access the appropriate line of code beyond the end of the table, but the result of this is undefined.


1112 Compatibility directive forcing non standard behavior

1113 Imperative statement missing - CONTINUE assumed

Your program contains a conditional statement which has not been followed by an imperative statement. Your COBOL system executes the code, but the result of this might be undefined.


1114 Clause treated as documentary

You have assigned more than one external file reference to a SELECT ... ASSIGN clause. Your COBOL system accepts the first external file reference, but treats all remaining external file references in that clause as documentary.


1115 SAME AREA treated as SAME RECORD AREA

You are using a program converted from DG Interactive COBOL to this COBOL that contains a SAME AREA clause. Your COBOL system has assumed that the SAME RECORD AREA clause is what was meant.


1116 ACCEPT qualifier used with display-only field - qualifier ignored

The qualifier used with a DISPLAY only field, or in a DISPLAY statement, can be used only with an ACCEPT. It is ignored.


1117 Zero suppression follows floating insertion - treated as floating insertion

As an example, PIC ++Z.ZZ is treated as PIC +++.++.


1118 Index-name belongs to different table

The index used to subscript a table item is not one used in the INDEXED BY clause for this table. The results are unpredictable.


1119 Record size size1 < minimum size given in FD statement size2

The definition of a record following an FD clause is smaller than the minimum size specified in the RECORD CONTAINS phrase of that FD clause.


1120 Record size size1 > maximum size given in FD statement size2

The definition of a record following an FD clause is larger than the maximum size specified in the RECORD CONTAINS phrase of that FD clause.


1121 VALUE in File, Linkage, or Local-Storage Section - processed as comment

A data item in the File or Linkage Section cannot be given a value. The VALUE clause specified is ignored.


1122 Period must be followed by a space

In all cases a period must be followed by a space.


1123 Neither NAMED nor CHANGED specified. Will be treated as formatted DISPLAY.

An EXHIBIT statement has been used without the NAMED or CHANGED phrase. The resulting display is formatted by separating each item with a space.


1124 CALL parameter is literal (or LENGTH OF). BY CONTENT assumed

You are using a program converted from RM/COBOL to this COBOL that contains a CALL ... USING literal statement. Your COBOL system has assumed that CALL ... USING BY CONTENT literal is what was meant.


1125 Punctuation character not followed by a space. Assume space

A punctuation character should be followed by a space.


1126 Punctuation character not preceded by a space. Assume space

In accordance with ANS85 specifications, the relational operator "=" is considered to be a COBOL reserved word; all reserved words must be both preceded and delimited by a space.


1127 Double-Byte character(s) might be corrupted by use of this move

This MOVE statement might cause a double-byte data item to be corrupted by changing one byte of a double-byte pair.


1128 No STOP RUN, GOBACK, or EXIT PROGRAM statements encountered in source

The source has no STOP RUN, GOBACK or EXIT PROGRAM statement. Your COBOL system automatically inserts an EXIT statement followed by a STOP RUN statement following the last line in the program. However, this might not have the effect you desire.


1129 Statement cannot be reached

The program flow prevents the statement flagged from being executed.


1130 Prefix of filename treated as documentary

1131 Statement generated no executable code

This error might be produced when, for example, an INITIALIZE statement does not cause any code to be created. It is an indication that the statement can be removed from the program. If the error is ignored the effect is as if the statement were removed.


1132 Unable to validate contents of DBCS literals

Your COBOL system is unable to check that the contents of a DBCS literal are valid. If the contents are invalid the results are unpredictable.


1133 SQL warning/ recoverable error

The SQL processor generated a warning. Check your SQL documentation for further details.


1134 Entry name has been converted following OS/VS COBOL and VS COBOL II rules

1135 No OPEN statement was found for file

1136 No CLOSE statement was found for file

1137 "KEPT" omitted for file with multiple record locking

The KEPT phrase has not been included in your multiple record locked file.


1138 Name truncated to characters characters

1139 Operand operand does not have suitable data type

1141 Name longer than 8 characters

1142 Name includes characters that would be changed by OS/VS COBOL and VS COBOL II

11423 Name includes characters that would be illegal for OS/VS COBOL and VS COBOL II

1144 String will be null terminated when returned by SQL

1145 DUPLICATES phrase with keys generates slower sort; remove if possible

1146 procedure-name lies in more than one PERFORM THRU range

1147 End precedes start in PERFORM procedure-name THRU procedure-name

The procedure-name after the THRU comes earlier in the source program than the one before the THRU.


1148 Segmentation specified in nested program.

1149 Operand data-name ambiguous in corresponding target

In a MOVE, ADD or SUBTRACT CORRESPONDING, the sending group contains an item, data-name, which is ambiguous in the receiving group.

Resolution:
Although data-name occurs in both the sending and receiving groups, no relevant MOVE, ADD or SUBTRACT is generated: this is in accordance with ANSI defined behavior.


1150 Redefinition of internal floating-point item. Might not be portable

1151 Forward overlapping move might produce unpredictable results

You have specified a MOVE to a target whose starting position is before the ending position of the source data item.


1152 Comparison involving floating point data might not be portable

1153 Some mainframe values for this data-type cannot be handled on PC

1154 PC allows values for this data-type that cannot be handled on mainframes

1155 Both PANVALET and LIBRARIAN specified - not mainframe compatible

1156 BLOCK or LABEL clause in SD not allowed. Ignored

1157 JUSTIFIED specified on edited field

1158 CBL PROCESS *CBL or *CONTROL record encountered. Directives ignored

1159 Portion of name following first "-" treated as documentary.

1160 Changes before first statement cannot be checked. Ignored

1161 Paragraph/section definition has changed. Ignored

1162 Attempt to define item as procedure. Ignored

1163 Animator restriction - can't check this statement

1164 Too many basic blocks for GNTANLZ(COUNT) to work, recompile with GNTANLZ(TICK)

1165 GIVING option treated as documentary

1166 BLANK WHEN ZERO phrase ignored

1167 Use of COMP-5 data type

1168 COMP-5 redefinition

You have redefined a COMP-5 data item. Porting your code to other environments might produce inconsistent results.


1169 Reference modification on a COMP-5 item

You have used reference modification on a COMP-5 data item. Porting your code to other environments might produce inconsistent results.


1170 A non-integer operand cannot be compared with a nonnumeric operand

1171 Numeric class test on a group containing a signed numeric item

1172 Improper BLL Cell List item

1173 BLL Cell Addressability invalid

1174 Comparison of numeric literal with numeric literal

1175 Synchronization non-optimal

1176 SLiteral is greater in length than data item

1201 Zero suppression PICTURE string overrides the BLANK WHEN ZERO clause

1202 Original item is larger than redefinition (size1 > size2)

1203 LABEL clause processed as comment

1204 BLOCK CONTAINS clause processed as comment

1205 Previous paragraph or section contains no statements

1206 Procedure Division does not start with a section

1207 Original item is smaller than redefinition (size1 < size2)

1208 USE clause omitted

1209 COMP-5 is machine specific format. (Future occurrences not indicated)

1210 COMP processed as DISPLAY (future occurrences not indicated)

1211 COMP-6 processed as COMP (future occurrences not indicated)

1212 COMP-1 processed as PIC S9(4) COMP (future occurrences not indicated)

1213 COMP-0 field exceeds S9(5), converted to USAGE DISPLAY

1214 COMP-0 processed as PIC S9(4) COMP (future occurrences not indicated)

1215 UNIT phrase processed as comment

1216 Literal exceeds 160 characters

1217 procedure-name same as level 78 name

1218 RERUN clause processed as comment

1219 No REPLACE currently in effect

1220 COMP-4 processed as PIC S9(9) COMP (future occurrences not indicated)

1221 COMP-4 field exceeds S9(10), converted to USAGE DISPLAY

1222 COMP-3 unsigned, converted to signed COMP-3

1223 BLANK WHEN ZERO clause overrides the zero suppression PICTURE string

1224 MEMORY SIZE clause processed as comment

The MEMORY SIZE clause is treated as documentary.


1225 MULTIPLE FILE TAPE clause processed as comment

The MULTIPLE FILE TAPE clause is treated as documentary.


1226 COMMON can only be used in nested program - processed as comment

The program defined as COMMON is a main program, not a nested program.


1227 Scope terminator value generated implicitly

1228 Word non-portable; reserved in OS/400

1229 Word non-portable; reserved in VSC2(3)

1230 Word non-portable; reserved in OS/2 COBOL

1231 Syntax is non-conforming SAA

1232 Use of early-release MF syntax

1233 item directive or parameter is early-release

1234 item is CORRESPONDING item in statement

1235 Conflicting definition of level 78 item item

1236 Duplicate, equivalent definition of level 78 item

1237 File handling used with REENTRANT Directive

See Also:
The REENTRANT Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide


1238 Conflict with REENTRANT Directive and user code or other Directives

See Also:
The REENTRANT Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide


1241 Results incompatible with BS2000 if src table length > dest table length

A table SORT containing a USING phrase gives different run-time results to Siemens BS2000 when there are more elements in the source table than can be contained in the destination table.


1242 USAGE must be DISPLAY for entries in a group with VALUE clause

1243 Non-positive value changed to 1

1244 WITH NO ADVANCING phrase has no effect for CONSOLE device

1245 Should be in upper case

A call to a COBOL run-time library routine (where the name begins CBL_) has been specified partly or all in lower case. This is not portable and will not work on operating systems where names are case-sensitive.


1246 One or more operands are missing and have taken a default value of 1

A reference to a table item has fewer subscripts than dimensions. Additional subscripts are assumed, all taking the default value 1.


1247 Truncated MOVE. Source length (length) exceeds target length (length)

1248 Function argument invalid, date YYYYMMDD must be greater than 15821014

1249 Function argument invalid, date YYYYDDD must be greater than 1582287

1250 Use of intrinsic funtion module or function not in selected dialect.

1251 Results incompatible with SNI if src table length > dest table length

1252 This data declaration requires an abstract machine level of 4 or greater

1253 THRU not allowed with boolean items

1254 Job variable name is too long Siemens

BS2000 Job variable names are limited to 10 characters.


1255 Literal exceeds 180 characters

Using the Siemens BS2000 dialect, the maximum allowable length of a literal is 180 characters.


1300 Expected Interface name.

1301 Expected Class name.

1302 Expected Class or Interface name.

1303 PROPERTY clause only allowed in Object or Factory.

1304 Method not found in the repository.

1305 Universal Object Reference is not allowed.

1306 Redefinition of an Object Reference is illegal.

1307 Object Reference with REDEFINES clause is illegal.

1308 VALUE clause is illegal with Object Reference or Pointer.

1309 INPUT-OUTPUT section not allowed.

1310 Not allowed in a FACTORY or OBJECT definition.

1311 Not allowed in a METHOD definition.

1312 Not allowed in the outer level of a Class Definition.

1313 Not allowed in an INTERFACE definition.

1314 LOCK MODE clause must be specified in the File Control Entry.

2nnn directive incompatible with flagging dialect

The directive setting causes behavior different from that of the dialect for which flagging was selected. It is processed as requested.

Messages of this type occur if you have set the FLAGCD directive. Each directive that can be reported has a different error number between 2000 and 2199.

See Also:
The FLAGCD Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide


Copyright © 2000 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.

PreviousIntroduction Code Generation Error MessagesNext