Text |
'END-START' missing for AT START OF DATA in line .... |
Explanation |
In structured mode, an AT START OF DATA statement block must be terminated with a corresponding END-START statement. Example: READ ... AT START OF DATA MOVE ... DISPLAY ... END-START DISPLAY ... END-READ END |
Action |
Correct error in program. |
Text |
'END-ENDDATA' missing for AT END OF DATA in line .... |
Explanation |
In structured mode, an AT END OF DATA statement block must be terminated with a corresponding END-ENDDATA statement. Example: READ ... AT END OF DATA COMPUTE ... DISPLAY ... END-ENDDATA DISPLAY ... END-READ END |
Action |
Correct error in program. |
Text |
'END-BREAK' missing for AT BREAK statement in line .... |
Explanation |
In structured mode, an AT BREAK statement block must be terminated by a corresponding END-BREAK statement. Example: READ ... AT BREAK ... DISPLAY ... END-BREAK DISPLAY END-READ END |
Action |
Correct error in program. |
Text |
'END-TOPPAGE' missing for AT TOP OF PAGE in line .... |
Explanation |
In structured mode, an AT TOP OF PAGE statement block must be terminated by a corresponding END-TOPPAGE statement. Example: READ ... DISPLAY ... AT TOP OF PAGE WRITE ... END-TOPPAGE DISPLAY ... END-READ END |
Action |
Correct error in program. |
Text |
'END-ENDPAGE' missing for AT END OF PAGE in line .... |
Explanation |
In structured mode, an AT END OF PAGE statement block must be terminated by a corresponding END-ENDPAGE statement. Example: READ ... AT END OF PAGE DISPLAY ... WRITE TRAILER ... END-ENDPAGE DISPLAY ... END-READ END |
Action |
Correct error in program. |
Text |
'END-BEFORE' missing for BEFORE BREAK in line .... |
Explanation |
In structured mode, a BEFORE BREAK PROCESSING statement block must be terminated by a corresponding END-BEFORE statement. |
Action |
Correct error in program. |
Text |
'END-NOREC' missing for IF NO RECORDS FOUND. |
Explanation |
In structured mode, an IF NO RECORDS FOUND clause must be terminated with a corresponding END-NOREC statement. Example: FIND ... IF NO RECORDS FOUND DISPLAY ... END-NOREC DISPLAY END-FIND |
Action |
Correct error in program. |
Text |
'END-ENDFILE' missing for AT END OF FILE in line .... |
Explanation |
In structured mode, an AT END OF FILE statement block must be terminated by a corresponding END-ENDFILE statement. Example: READ WORK FILE AT END OF FILE COMPUTE ... DISPLAY ... END-ENDFILE DISPLAY ... END |
Action |
Correct error in program. |
Text |
'END-ERROR' missing for ON ERROR statement in line .... |
Explanation |
In structured mode, an ON ERROR statement block must be terminated by a corresponding END-ERROR statement. Example: FIND ... UPDATE ... ON ERROR RETRY END-ERROR END TRANSACTION END-FIND END |
Action |
Correct error in program. |
Text |
This statement is not permitted in reporting mode. |
Explanation |
An attempt was made to issue a statement which is valid in structured mode only. |
Action |
Make sure you are working in the correct programming mode. |
Text |
Loop/condition not properly closed. |
Explanation |
An active loop or condition was not properly closed. For example, in structured mode, a FIND statement was issued without a corresponding END-FIND statement. |
Action |
Check program and correct error. |
Text |
Specified close loop only permitted in structured mode. |
Action |
Check programming mode, program, and correct error. |
Text |
END-FIND/END-SELECT missing for FIND/SELECT in line .... |
Explanation |
In structured mode, a loop initiated with a FIND/SELECT statement must be closed with a corresponding END-FIND/END-SELECT statement. Examples: FIND ... * SELECT ... UPDATE * DISPLAY ... END TRANSACTION * END-SELECT END-FIND * |
Action |
Supply END-FIND/END-SELECT to close the FIND/SELECT loop. |
Text |
END-READ missing for READ in line .... |
Explanation |
In structured mode, a READ statement must be followed by a corresponding END-READ statement. Example: READ ... DISPLAY COMPUTE ... END-READ |
Action |
Supply END-READ to close the READ loop. |
Text |
END-HISTOGRAM missing for HISTOGRAM in line .... |
Explanation |
In structured mode, a HISTOGRAM statement must be followed by a corresponding END-HISTOGRAM statement. Example: HISTOGRAM ... DISPLAY ... END-HISTOGRAM |
Action |
Supply END-HISTOGRAM to close the HISTOGRAM loop. |
Text |
END-SORT missing for SORT in line .... |
Explanation |
In structured mode, a SORT statement must be followed by a corresponding END-SORT statement. Example: FIND ... END-ALL SORT ... DISPLAY ... END-SORT |
Action |
Supply END-SORT to close the SORT loop. |
Text |
END-REPEAT missing for REPEAT in line .... |
Explanation |
In structured mode, a REPEAT statement must be followed by a corresponding END-REPEAT statement. Example: REPEAT ... ... ... END-REPEAT |
Action |
Supply END-REPEAT to close the REPEAT loop. |
Text |
END-FOR missing for FOR in line .... |
Explanation |
In structured mode, a FOR statement must be followed by a corresponding END-FOR statement. Example: FOR ... ... END-FOR |
Action |
Supply END-FOR to close the FOR loop. |
Text |
END-WORK missing for READ WORK FILE in line .... |
Explanation |
In structured mode, a READ WORK FILE statement must be followed by a corresponding END-WORK statement. Example: READ WORK FILE ... ... END-WORK |
Action |
Supply END-WORK to close the READ WORK FILE loop. |
Text |
END-FILE missing for CALL FILE in line .... |
Explanation |
In structured mode, a CALL FILE statement must be followed by a corresponding END-FILE statement. Example: CALL FILE ... ... ... END-FILE |
Action |
Supply END-FILE to close the CALL FILE loop. |
Text |
END-LOOP missing for CALL LOOP in line .... |
Explanation |
In structured mode, a CALL LOOP statement must be followed by a corresponding END-LOOP statement. Example: CALL LOOP ... ... ... END-LOOP |
Action |
Supply END-LOOP to close the CALL LOOP loop. |
Text |
RETURN/END-SUBROUTINE missing for DEFINE SUBROUTINE in line .... |
Explanation |
This error occurs under one of the following conditions: 1) A subroutine was started in a conditional statement block (e.g. IF, DECIDE) or in a loop-initiating statement (e.g. REPEAT, FIND), but it was not closed at the end of this statement (e.g. END-IF, END-REPEAT,). Examples: | IF FIELD = 'A' THEN | REPEAT | | DEFINE SUBROUTINE ABC | DEFINE SUBROUTINE ABC | | WRITE 'HELLO' | WRITE 'HELLO' | | END-IF | END-REPEAT | 2) A subroutine was started, but it was still not closed at program end. Example: DEFINE SUBROUTINE ABC END |
Action |
Supply RETURN or END-SUBROUTINE to close the subroutine. |
Text |
Variable/field/view must be defined in DEFINE DATA. |
Explanation |
If a DEFINE DATA statement is present, all variables/fields to be used must be defined in the DEFINE DATA statement in an LDA, GDA or PDA, which are referenced with the keyword USING in the DEFINE DATA statement. If this error occurs for a DDM and a DEFINE DATA statement is present, a view of the DDM (and of any database field referenced in the program) must be defined in the DEFINE DATA statement. |
Action |
Check program and correct error. |
Text |
Statement END-... either missing or misplaced. |
Explanation |
Example: READ ... IF AGE > 65 THEN COMPUTE ... DISPLAY ... END-READ END-IF END The statement END-IF must be before the END-READ and after the last statement to be executed in the THEN-clause of the IF-statement. This could be after the COMPUTE or the DISPLAY statement, depending on the actual function the program is to perform. Statements with the syntax 'xxx ... END-xxx' must be correctly paired. |
Action |
Make sure that all statement blocks are terminated with corresponding 'END-...' statements, and that the 'xxx' and 'END-xxx' statements are correctly paired. |
Text |
END-DECIDE missing for DECIDE statement. |
Explanation |
A statement block initiated with a DECIDE ON or DECIDE FOR statement must be terminated with an END-DECIDE statement. This error may also occur if an END-DECIDE statement is misplaced. |
Action |
Make sure that each DECIDE statement is correctly paired with a corresponding END-DECIDE statement. |
Text |
Statement not supported with .... |
Explanation |
The statement cannot be used with the database type you are using. For details as to which statements support which database types, see the Natural documentation. |
Action |
Check program and correct error. |
Text |
Value range with keyword 'TO' not supported for .... |
Explanation |
The statement option 'TO' cannot be used with the database type you are using. When 'TO' is used to specify a value range in a READ or HISTOGRAM statement, the end-value check will not be done by Natural, but is performed by the database. However, this requires a corresponding capability of the accessed database. Therefore, option 'TO' can only be used if the underlying database is Adabas Version 7 (or above), VSAM, DL/I or DB2. For details as to which statements support which database types, see the Natural documentation. |
Action |
Check program and correct error. |
Text |
Invalid usage of MULTI-FETCH option for .... |
Explanation |
The MULTI-FETCH option can only be used if the underlying database is Adabas. The MULTI-FETCH option is not permitted, if a - READ or HISTOGRAM statement contains a 'DYNAMIC .. SEQUENCE' clause; - READ or FIND statement contains an 'IN SHARED HOLD' clause. For further details, see the Natural documentation. |
Action |
Check program and correct error. |
Text |
Incompatible range combinations in relational expression. |
Explanation |
When two arrays are compared in a relational expression, the number of occurrences in each dimension of the one array must match the number of occurrences in the corresponding dimension of the other array. If no corresponding dimension is defined for the other array, the dimension is assumed to be 1. A variable number of occurrences in one dimension must not be compared with a fixed number of occurrences in the corresponding dimension of the other array. |
Action |
Correct error in program. |
Text |
Error in RESET INITIAL statement. |
Explanation |
See the Natural documentation for information on the correct usage of the RESET INITIAL statement. Note in particular that a RESET INITIAL of fields resulting from a redefinition is not possible, and RESET INITIAL cannot be applied to database fields. |
Action |
Check program and correct error. |
Text |
Invalid index specified in arithmetic/ASSIGN statement. |
Action |
Check program and correct error. |
Text |
Invalid view structure defined for HISTOGRAM statement. |
Explanation |
When using the HISTOGRAM statement with a view, it must be defined with only one variable: the search variable. |
Action |
Check program and correct error. |
Text |
Invalid use of view which contains super-/subdescriptor. |
Explanation |
Depending on the Adabas version, a sub- or superdescriptor may be read with a HISTOGRAM statement only or with all database access statements. However, an UPDATE or STORE statement must not be applied to a sub- or superdescriptor. |
Action |
Correct error in program. |
Text |
Access criterion not supported for this type of database. |
Explanation |
The DBID of this DDM identifies a non-Adabas database. Non-Adabas databases introduce certain restrictions for Natural's database-access statements. |
Action |
See the Natural documentation for restrictions which apply to the type of database you wish to access. |
Text |
Incorrect use of 'BY VALUE' or 'OPTIONAL' in DEFINE DATA. |
Explanation |
The keyword 'BY VALUE' or 'OPTIONAL' may only be supplied for fields defined in a DEFINE DATA PARAMETER clause. However, this is not permitted for REDEFINE fields or groups. |
Action |
Correct error in program. |
Text |
Incorrect usage of STARTING WITH ISN clause for .... |
Explanation |
A STARTING WITH ISN clause can only be used for - Adabas access : FIND READ logical READ physical - VSAM access : READ physical |
Action |
Correct error in program. |
Text |
Invalid USING clause specified. |
Explanation |
Invalid USING clause specified in OPEN CONVERSATION statement. Possible reasons for this error are: 1. Keyword USING missing. 2. Incorrect object name specified. Either a constant or a variable of type alpha and length <= 8 is expected. |
Action |
Correct error in program. |
Text |
Invalid clause in CLOSE CONVERSATION statement. |
Explanation |
The operand in a CLOSE CONVERSATION statement is incorrect. Please specify keyword ALL or *CONVID or a variable of type (I4). |
Action |
Correct error in program. |
Text |
Label reference not permitted for this statement type. |
Explanation |
Labels may be used to reference the following statements only: FIND, READ, GET, HISTOGRAM, SORT, FOR, CALL FILE, CALL LOOP, STORE and REPEAT. |
Action |
Check program and correct error. |
Text |
Invalid DEFINE PRINTER statement syntax. |
Explanation |
The correct syntax is: DEFINE PRINTER (logical-name = n) OUTPUT operand1 where 'logical-name' is the name allocated to printer, 'n' is the printer number in range from 1 to 31, 'operand1' is the destination within the online spooling system. Additional reports can be assigned for default with the following names: SOURCE - Output in the Natural source area. CONNECT - Output into a Con-nect folder. DUMMY - Output to be deleted. HARDCOPY - Output to the current hardcopy device. |
Action |
Check program and correct error. |
Text |
Invalid definition of OUTPUT variable/constant. |
Explanation |
This field must be specified with format A8. |
Action |
Check program and correct error. |
Text |
END-PROCESS missing for PROCESS PAGE MODAL in line .... |
Explanation |
This error occurs under one of the following conditions: 1) A PROCESS PAGE MODAL statement was started in a conditional statement block (e.g. IF, DECIDE) or in a loop-initiating statement (e.g. REPEAT, FIND), but it has not been closed yet at the end of this statement (e.g. END-IF or END-REPEAT). Examples: IF FIELD = 'A' THEN * REPEAT PROCESS PAGE MODAL * PROCESS PAGE MODAL MOVE #A TO #B * MOVE #A TO #B END-IF * END-REPEAT 2) A PROCESS PAGE MODAL statement was started, but not yet closed at program end. Example: PROCESS PAGE MODAL END |
Action |
Supply END-PROCESS to close the PROCESS PAGE MODAL block. |
Text |
END-PARSE missing for PARSE XML in line .... |
Explanation |
In structured mode, a PARSE XML statement must be followed by a corresponding END-PARSE statement. Example: PARSE XML #DOC DISPLAY .. END-PARSE |
Action |
Supply keyword END-PARSE to close the PARSE XML loop. |
Text |
... missing for ... in line .... |
Explanation |
In the case of flexible SQL syntax, the characters '>>' are not recognized for the matching '<<' characters. Probably a Natural comment sign '/*' is contained in the flexible SQL string between the characters '<<' and '>>'. |
Action |
Check the flexible SQL syntax for the characters '>>'. |
Text |
Parameter ... inconsistently specified. Reason code .... |
Explanation |
The parameter supplied in a CALLNAT statement or a function call is not compatible with the corresponding parameter definition in the subprogram or function. Reason codes: 04 : The CALLNAT or function call parameter is specified as an empty parameter ('nX'), but the parameter definition in the subprogram or function is not 'OPTIONAL'. 08 : A mandatory parameter in the subprogram or function definition is missing in the CALLNAT statement or function call. 12 : Parameters do not match in format. 16 : Parameters do not match in length. 20 : Parameters do not match in array definitions. |
Action |
Supply compatible parameter specifications. |