Lists the Syntax Checking error messages from COBCH1001 through COBCH1020.
COBCH1001 7 桁めに *、D、/、-、$ 以外の文字がある。空白とみなす
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.
COBCH1002 この場所での継続文字は無効である。空白とみなす
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.
COBCH1003 継続された定数の最初の文字が引用符でない。引用符とみなす
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.
COBCH1004 継続文字が必要である。定数の終わりとみなす
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.
COBCH1005 名前の最後にハイフンがある。記述どおり処理する
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.
COBCH1006 COBOL 語が値文字以上ある。制限を越える文字を切り捨てる
The name that you have specified is longer than 31 characters. Your COBOL system treats this as a name consisting of the first 31 characters of your original name.
COBCH1007 VALUE 句の定数サイズ 値1 > データ項目サイズ 値2。定数を切り捨てる
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.
COBCH1008 2バイト定数は偶数バイトでなければならない。1バイト定数を切り捨てる
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.
COBCH1009 2バイト定数の終了区切り文字がない。区切り文字があるとみなす
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.
COBCH1010 文字定数の長さがゼロである。空白1文字があるとみなす
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.
COBCH1011 2バイト定数の長さがゼロである。2バイト定数が1文字あるとみなす
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.
COBCH1012 DIVISION がないかスペルに誤りがある。DIVISION があるとみなす
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.
COBCH1013 SECTION がないかスペルに誤りがある。SECTION があるとみなす
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.
COBCH1014 終止符がない。終止符があるとみなす
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.
COBCH1015 OCCURS 句の整数-1 が OCCURS 句の整数-2 より大きい。整数-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.
COBCH1016 SIGN 句の CHARACTER の前に SEPARATE が必要である。SEPARATE があるとみなす
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.
COBCH1017 ファイル節または通信節の01レベルの項目に対しての REDEFINES は無視する
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.
COBCH1018 VALUE 句はここには使用できない。句を注記として処理する
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.
COBCH1019 符号なしの数字定数が必要である。符号を無視する
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.
COBCH1020 符号なしの数字項目である。VALUE 句の符号を無視する
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.