Skip to content

Error Messages

The following sections contain lists of syntax errors and other compilation errors.

** ERR=(script statement where error found)
The compiler expects a Script-IV key word and one is not found, or a key word other than a data declaration is found in the Data Declaration section of the script.
** ERR: (statement with basic compile error)
The script has attempted to open or access undeclared definitions, or the script has attempted to access a definition that has not been opened. Another common cause of this error is making assignments without using the LET keyword.
** IF/ENDIF mismatch
The compiler has encountered a new procedure with unmatched IFs and ENDIFs; there must be a corresponding ENDIF for each IF/THEN statement.
** IF/LOOP nesting error
The compiler has encountered a procedure with misplaced ENDIFs and ENDLOOPs. Check the order of ENDIFs and ENDLOOPS and make sure they match the nesting order.
** IF/THEN mismatch
The compiler has encountered an IF statement with an unmatched THEN; there must be a corresponding THEN for each IF statement.
** Invalid IF structure
The compiler has encountered incorrect IF/ENDIF, LOOP/ENDLOOP nesting.
** Invalid Link Alias
The link alias is too long. The limit is 8 characters.
** LOOP/ENDLOOP mismatch
The compiler has encountered a new procedure with unmatched LOOPs and ENDLOOPs. There must be a corresponding ENDLOOP for each LOOP statement.
** No statement generated
The compiler has encountered incomplete syntax. Check for incorrect command structure or key words, which may be used out of context.
** PRE/POST "ALL" must be first or last
The compiler has encountered a PRE or POST option in an INPUT SCREEN command that specifies ALL, but ALL is not the first or last specification. Specify ALL in the first or last position for the PRE or POST option.
** undefined procedure
The compiler could not locate the referenced procedure.
** "xxxxxxxx" already exists but is not a program
The referenced script name is not a program file.
** Copy source xxxxxx not found
The source specified in a COPY or INCLUDE statement cannot be located.
** Copy source xxxxxx is being edited by another user
The source specified in a COPY or INCLUDE statement was located but it is being accessed by another user.
** Duplicate line number
The same Thoroughbred Basic line has been generated twice. Call Thoroughbred Product Support.
** Duplicate procedure
The same procedure name has been used twice in a script.
** Invalid format (format-name)
The specified format is not defined in Dictionary-IV, or it is corrupt.
** Invalid link (link-name)
The specified link is not defined in Dictionary-IV, or it is corrupt.
** Invalid screen (screen-name)
The specified screen is not defined in t Dictionary-IV, or it is corrupt.
** Invalid view (view-name)
The specified view is not defined in Dictionary-IV, or it is corrupt.
**(link-name) has no text field defined
There is no text field defined in the script. Specify a text-id for the relevant command.
**(link-name) text field "text-id" is not defined
The specified text field is not defined in the link.
** Missing Text File Name
This message can only occur for links that specify MSORT or TISAM files. Check the TEXT File specification in the Link Definition.
** No sorts defined for (link-name)
There are no sorts defined in the specified link.

From the Script-IV Developer Guide, version 8.9.1. Open this page in the PDF