Text | "END-START" missing for AT START OF DATA in line .... |
Expl. |
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 |
Actn. |
Correct error in program. |
Text | "END-ENDDATA" missing for AT END OF DATA in line .... |
Expl. |
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 |
Actn. |
Correct error in program. |
Text | "END-BREAK" missing for AT BREAK statement in line .... |
Expl. |
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 |
Actn. |
Correct error in program. |
Text | "END-TOPPAGE" missing for AT TOP OF PAGE in line .... |
Expl. |
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 |
Actn. |
Correct error in program. |
Text | "END-ENDPAGE" missing for AT END OF PAGE in line .... |
Expl. |
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 |
Actn. |
Correct error in program. |
Text | "END-BEFORE" missing for BEFORE BREAK in line .... |
Expl. |
In structured mode, a BEFORE BREAK PROCESSING statement block must be terminated by a corresponding END-BEFORE statement. |
Actn. |
Correct error in program. |
Text | "END-NOREC" missing for IF NO RECORDS FOUND. |
Expl. |
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 |
Actn. |
Correct error in program. |
Text | "END-ENDFILE" missing for AT END OF FILE in line .... |
Expl. |
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 |
Actn. |
Correct error in program. |
Text | "END-ERROR" missing for ON ERROR statement in line .... |
Expl. |
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 |
Actn. |
Correct error in program. |
Text | This statement is not permitted in reporting mode. |
Expl. |
An attempt was made to issue a statement which is valid in structured mode only. |
Actn. |
Make sure you are working in the correct programming mode. |
Text | Loop/condition not properly closed. |
Expl. |
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. |
Actn. |
Check program and correct error. |
Text | Specified close loop only permitted in structured mode. |
Actn. |
Check programming mode, program, and correct error. |
Text | END-FIND/END-SELECT missing for FIND/SELECT in line .... |
Expl. |
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 * |
Actn. |
Supply END-FIND/END-SELECT to close the FIND/SELECT loop. |
Text | END-READ missing for READ in line .... |
Expl. |
In structured mode, a READ statement must be followed by a corresponding END-READ statement. Example: READ ... DISPLAY COMPUTE ... END-READ |
Actn. |
Supply END-READ to close the READ loop. |
Text | END-HISTOGRAM missing for HISTOGRAM in line .... |
Expl. |
In structured mode, a HISTOGRAM statement must be followed by a corresponding END-HISTOGRAM statement. Example: HISTOGRAM ... DISPLAY ... END-HISTOGRAM |
Actn. |
Supply END-HISTOGRAM to close the HISTOGRAM loop. |
Text | END-SORT missing for SORT in line .... |
Expl. |
In structured mode, a SORT statement must be followed by a corresponding END-SORT statement. Example: FIND ... END-ALL SORT ... DISPLAY ... END-SORT |
Actn. |
Supply END-SORT to close the SORT loop. |
Text | END-REPEAT missing for REPEAT in line .... |
Expl. |
In structured mode, a REPEAT statement must be followed by a corresponding END-REPEAT statement. Example: REPEAT ... ... ... END-REPEAT |
Actn. |
Supply END-REPEAT to close the REPEAT loop. |
Text | END-FOR missing for FOR in line .... |
Expl. |
In structured mode, a FOR statement must be followed by a corresponding END-FOR statement. Example: FOR ... ... END-FOR |
Actn. |
Supply END-FOR to close the FOR loop. |
Text | END-WORK missing for READ WORK FILE in line .... |
Expl. |
In structured mode, a READ WORK FILE statement must be followed by a corresponding END-WORK statement. Example: READ WORK FILE ... ... END-WORK |
Actn. |
Supply END-WORK to close the READ WORK FILE loop. |
Text | END-FILE missing for CALL FILE in line .... |
Expl. |
In structured mode, a CALL FILE statement must be followed by a corresponding END-FILE statement. Example: CALL FILE ... ... ... END-FILE |
Actn. |
Supply END-FILE to close the CALL FILE loop. |
Text | END-LOOP missing for CALL LOOP in line .... |
Expl. |
In structured mode, a CALL LOOP statement must be followed by a corresponding END-LOOP statement. Example: CALL LOOP ... ... ... END-LOOP |
Actn. |
Supply END-LOOP to close the CALL LOOP loop. |
Text | RETURN/END-SUBROUTINE missing for DEFINE SUBROUTINE in line .... |
Expl. |
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 |
Actn. |
Supply RETURN or END-SUBROUTINE to close the subroutine. |
Text | Variable/field/view must be defined in DEFINE DATA. |
Expl. |
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. |
Actn. |
Check program and correct error. |
Text | Statement END-... either missing or misplaced. |
Expl. |
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. |
Actn. |
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. |
Expl. |
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. |
Actn. |
Make sure that each DECIDE statement is correctly paired with a corresponding END-DECIDE statement. |
Text | Statement not supported with .... |
Expl. |
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. |
Actn. |
Check program and correct error. |
Text | Value range with keyword "TO" not supported for .... |
Expl. |
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. |
Actn. |
Check program and correct error. |
Text | Invalid usage of MULTI-FETCH option for .... |
Expl. |
The MULTI-FETCH option can only be used if the underlying database is Adabas Version 5.3 (or above). Moreover, if a READ or HISTOGRAM statement contains a "DYNAMIC .. SEQUENCE" clause, the use of a MULTI-FETCH option is not permitted. For further details, see the Natural documentation. |
Actn. |
Check program and correct error. |
Text | Incompatible range combinations in relational expression. |
Expl. |
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. |
Actn. |
Correct error in program. |
Text | Error in RESET INITIAL statement. |
Expl. |
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. |
Actn. |
Check program and correct error. |
Text | Invalid index specified in arithmetic/ASSIGN statement. |
Actn. |
Check program and correct error. |
Text | Invalid view structure defined for HISTOGRAM statement. |
Expl. |
When using the HISTOGRAM statement with a view, it must be defined with only one variable: the search variable. |
Actn. |
Check program and correct error. |
Text | Invalid use of view which contains super-/subdescriptor. |
Expl. |
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. |
Actn. |
Correct error in program. |
Text | Access criterion not supported for this type of database. |
Expl. |
The DBID of this DDM identifies a non-Adabas database. Non-Adabas databases introduce certain restrictions for Natural"s database-access statements. |
Actn. |
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. |
Expl. |
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. |
Actn. |
Correct error in program. |
Text | Incorrect usage of STARTING WITH ISN clause for .... |
Expl. |
A STARTING WITH ISN clause can only be used for - Adabas access : FIND READ logical READ physical - VSAM access : READ physical |
Actn. |
Correct error in program. |
Text | Invalid USING clause specified. |
Expl. |
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. |
Actn. |
Correct error in program. |
Text | Invalid clause in CLOSE CONVERSATION statement. |
Expl. |
The operand in a CLOSE CONVERSATION statement is incorrect. Please specify keyword ALL or *CONVID or a variable of type (I4). |
Actn. |
Correct error in program. |
Text | Label reference not permitted for this statement type. |
Expl. |
Labels may be used to reference the following statements only: FIND, READ, GET, HISTOGRAM, SORT, FOR, CALL FILE, CALL LOOP, STORE and REPEAT. |
Actn. |
Check program and correct error. |
Text | Invalid DEFINE PRINTER statement syntax. |
Expl. |
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. |
Actn. |
Check program and correct error. |
Text | Invalid definition of OUTPUT variable/constant. |
Expl. |
This field must be specified with format A8. |
Actn. |
Check program and correct error. |
Text | END-PROCESS missing for PROCESS PAGE MODAL in line .... |
Expl. |
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 |
Actn. |
Supply END-PROCESS to close the PROCESS PAGE MODAL block. |
Text | Parameter ... inconsistently specified. Reason code .... |
Expl. |
The parameter supplied in a CALLNAT statement is not compatible with the corresponding parameter definition in the subprogram. Reason codes: 04 : The CALLNAT parameter is specified as an empty parameter ("nX"), but the definition in the subprogram is not "OPTIONAL". 08 : Mandatory parameter in the subprogram is missing in the CALLNAT statement. 12 : Parameters do not match in format. 16 : Parameters do not match in length. 20 : Parameters do not match in array definitions. |
Actn. |
Supply compatible parameter specifications. |