Compile Error Messages
The Compile Error Messages are displayed in the Compile Errors dialog box if you compile a translation object with errors. Error messages are also displayed in the Error section of an Extended Rule dialog box if you compile the extended rule containing errors before compiling the translation object. After you correct the cause of the errors, click Compile again to ensure that the rule is error-free.
Messages
The compile error messages are listed by the four- or five-digit message number and the error message text. The error definitions contain the actions that you can take to correct the problem (if appropriate) and a description that includes possible causes of the error.
| Msg ID | Message Text | Explanation | Your Action |
|---|---|---|---|
| 1000 | expected '.' | The rule does not have the required "." between a group name and a field name. | Insert a "." between the group name and field name. |
| 1001 | no statement to compile | The rule is does not contain any statements. | Add a statement or statements to the rule. |
| 1002 | unexpected end of program | The rule was not complete. | Finish the rule. |
| 1003 | expected ',' | The rule does not have the required "," between parameters. | Insert a "," between parameters. |
| 1004 | expected ‘;’ | A statement was not terminated properly. | Terminate the statement in an appropriate manner. |
| 1006 | no statements to compile | The body of an IF/ELSE or WHILE condition was empty. | Complete the body of the unfinished condition. |
| 1007 | syntax error ... | The map component contains a syntax error. | Correct the syntax error. |
| 1008 | expected '#' | The rule does not have the required "#" before a field name. | Insert a "#" before the field name. |
| 2000 | group ... undefined | The rule references a group that does not exist. | Change the reference to an existing group or delete the reference. |
| 2001 | ... is not a member of ... | The rule references a field that does not belong to the specified group. | Change the reference to an existing field in the specified group. |
| 2002 | insufficient indices to access group ... | The rule does not give the full addressing for a group. | Complete the addressing for the group. |
| 2003 | too many indices to access group... | The rule uses too many addresses for the group. | Address the group correctly. |
| 2004 | ... has not been defined | The rule references an undefined variable. | Define the variable in the declarations section. |
| 2005 | out of temporary variables | The rule could not be compiled because some expressions are too complex. | Simplify the expressions and compile the rule again. |
| 2008 | field type unknown | The compiler was unable to determine the type of a field. | Verify that a Data Type is selected for this field. |
| 2009 | cannot reference a local field with no current group | The rule (probably pre- or post-session) references a local field, but is not associated with any group. | Reference the field using the proper addressing. |
| 2010 | instances of '%1' are transient and cannot be accessed | The rule references an output group using full addressing. This form of addressing is only appropriate for input groups. | Reference the output group with the proper address. |
| 2011 | no field specified | The rule omits a field reference. | Add the field reference to the rule. |
| 2012 | group ... is promoted and cannot be accessed in this manner | You attempted to access a promoted group in a COUNT or DELETE rule. | Do not COUNT or DELETE a promoted group. |
| 2100 | ... is not an array variable | The rule uses array indexing for a variable that is not an array. | Use the proper indexing for the variable. |
| 2101 | ...: array index required | The rule uses an array variable without using the necessary array indexing. | Add the necessary indexing to the array variable. |
| 2102 | ...: array overflow | The rule uses an invalid array index. | Use the proper array index for the array variable. |
| 2103 | only one wildcard index is permitted | The rule uses more than one wildcard index. | Only one wildcard index is permitted per rule. |
| 2104 | a wildcard index must be specified | The rule does not specify a wildcard index when required. | Add a wildcard index where necessary. |
| 2200 | expected a string | A required string or string variable is not supplied. | Add the required string or string variable. |
| 2201 | string overflow | A string overflow occurred. | Verify that the size of a target string is equal to or greater than the source string. |
| 3000 | array size expected in declaration of ... | Invalid array declaration. | |
| 3001 | declaration of ... missing ']' | Invalid array declaration. | |
| 3002 | string size expected | Invalid string declaration. | |
| 3003 | string size missing ']' | Invalid string declaration. | |
| 3004 | variable name expected | Invalid variable declaration. | |
| 3005 | ... already defined | Two variables with the same name are defined at the same scope. | Rename one of the two variables. |
| 3006 | expected an accumulator number, found ... | Invalid accumulator reference. | |
| 3007 | ... is not a valid accumulator number | Invalid accumulator reference. | |
| 4000 | expected a numeric expression, found ... | You specified something other than the expected numeric expression. | Specify the correct numeric expression. |
| 4001 | expected a term, found ... | You specified something other than the expected term. | Specify the correct term. |
| 4002 | expected '+' or '-' | You specified something other than the expected "+" or "-". | Specify "+" or "-". |
| 4003 | expected '*' or '/' | You specified something other than the expected "*" or "/". | Specify '"*"or"/". |
| 4004 | expected ')' | You specified something other than the expected ")". | Specify ")". |
| 4005 | expected a factor, found ... | Invalid numeric expression. | |
| 4006 | expected '(' | You specified something other than the expected "(". | Specify "(". |
| 4007 | ... is of incorrect type | The specified expression is of an incorrect type. | Specify the correct type for the expression. |
| 4008 | expected a relational operator | You specified something other than the expected relational operator. | Specify the correct relational operator. |
| 4009 | missing argument | A required parameter was omitted. | Add the required parameter. |
| 4010 | assignment expected | The assignment operator was omitted from an assignment statement. | Add the correct assignment operator to the statement. |
| 4011 | operator ... requires two arguments | Only one parameter was supplied for a binary operator. | Supply a second parameter for the binary operator. |
| 4012 | converting real to integer may lose significant digits | You are converting a real number to an integer. | Verify that losing decimal places is acceptable in this instance. |
| 4013 | expression too complex, use sub-expressions | A mathematical expression contains too many terms. | Group some of the terms of the mathematical expression in parentheses. |
| 4014 | expected an integer, found ... | The compiler expected to find an integer instead of [...]. | Supply the correct value for [...]. |
| 4015 | no valid condition specified | You did not specify a valid IF or WHILE condition. | Supply a valid condition in the IF or WHILE statement. |
| 4100 | expected a date, found ... | A date is required but not supplied. | Specify a date. |
| 4101 | expected a date modifier, found ... | A date modifier was required but not supplied. | Specify a date modifier. |
| 4102 | ... is not a date | Invalid date expression. | |
| 5000 | THEN expected | The compiler expected a THEN condition. | |
| 5001 | DO expected | The compiler expected a DO condition. | |
| 5002 | END expected | The compiler expected a END condition. | |
| 5004 | FROM expected | The compiler expected a FROM condition. | |
| 5005 | INTO expected | The compiler expected a INTO condition. | |
| 5006 | END without BEGIN | An END statement was found without a corresponding BEGIN statement. | Insert a BEGIN statement in the correct location. |
| 5016 | misplaced ‘BREAK’ | The compiler found BREAK outside of a loop. | Remove the BREAK or place it inside a loop. |
| 5017 | misplaced ‘CONTINUE’ | The compiler found CONTINUE outside of a loop. | Remove the CONTINUE or place it inside a loop. |
| 5018 | too many parameters | Too many parameters were supplied for a function. | Remove the unnecessary parameters. |
| 5019 | too few parameters | Too few parameters were supplied for a function. | Add the necessary parameters. |
| 6000 | expected a database table name | The compiler expected a database table name. | Insert a database table name in the necessary location. |
| 6001 | expected a database column name | The compiler expected a database column name. | Insert a database column name in the necessary location. |
| 6002 | too many column receivers specified | The number of columns specified did not match the number of receivers in a SELECT statement. | Correlate the number of columns specified in the SELECT statement to the number of receivers. |
| 6003 | too few column receivers specified | The number of columns specified did not match the number of receivers in a SELECT statement. | Correlate the number of columns specified in the SELECT statement to the number of receivers. |
| 6004 | WHERE expected | The compiler expected a WHERE statement. | |
| 6005 | expected a database key | An invalid database key was specified in a WHERE statement. | Specify the correct database key in the WHERE statement. |
| 6006 | WHERE not allowed with this database table | A WHERE statement is not necessary to access the specified database table. | Remove the WHERE statement. |
| 6007 | invalid key combination | The combination of keys specified in the WHERE statement is not a valid unique compound key to the table. | Specify a valid combination of keys in the WHERE statement. |
| 7000 | ... is not a valid seek type | You used an invalid seek type in FSEEK. | Use BEGIN, END, or CURRENT. |
| 20001 | Record ..., Field ... : date field missing date format | The specified field does not have a date format. | Edit the field and choose a date format. |
| 20003 | Field ... : constant used in standard rule does not exist | The standard rule for the specified field uses an invalid constant. | Correct the standard rule or create the constant. |
| 20004 | Field ... : code list used in standard rule does not exist | The standard rule for the specified field uses an invalid code list. | Correct the standard rule or create the code list. |
| 20005 | Field ... : the qualifier field specified in a use constant standard rule is invalid | The standard rule for the specified field uses an invalid qualifier. | Correct the standard rule. |
| 20006 | Field ... : the field specified to store the code description in a use code standard rule is invalid | The standard rule for the specified field designates an invalid field for the description. | Correct the standard rule. |
| 20007 | Record ... : the specified key field ... : uses an undefined constant | The key field for the specified record uses an invalid constant. | Correct the key field. |
| 20008 | Record ... : the specified key field ... : uses an undefined code list | The key field for the specified record uses an invalid code list. | Correct the key field. |
| 20010 | Record ... : the specified key field ... : is inactive | The key field for the specified record is inactive. | Activate the key field. |
| 20700 | only one binary data and one binary length field are permitted | You have more than one binary data and/or more than one binary length element in one segment. | Remove the additional binary data and/or binary length elements from the segment. |
| 20701 | binary length must precede binary data | The binary length element must be sequenced before the binary data element in the segment so the translator knows how much data to expect. | Move the binary length element to before the binary data element. |
| 20702 | incomplete binary data | You marked a segment as binary, but did not include either a binary length element or a binary data element (or both). | Add a binary length element and/or a binary data element to the segment. |
| 20703 | group ... has no active child objects | You tried to compile the translation object, but the specified group is empty. | Activate at least one child object in the group. |
| 20704 | Element ..., Attribute ...: enumerated attribute declared without accompanying standard rule | The specified XML attribute is configured to use an enumeration but there is no code list standard rule that defines the allowed values. | Define a use code list standard rule for the specified attribute. |
| 20705 | Element ..., Attribute ...: code list used in enumerated attribute does not exist. | The code list for the specified enumerated XML attribute does not exist. | Define the code list. |
| 20706 | Element ..., Attribute ...: default value is not valid ... | The specified default value is not in the code list for this XML attribute. | Ensure that the specified default value is in the code list. |
| 20707 | Codelist ..., Attribute ...: value used in enumerated attribute code list does not match XML NMTOKEN production | A value in the enumeration code list is not valid for XML. | Verify that all the value specified in the code list are valid (legal) for an XML attribute. |
| 20708 | Entity ... : Entity value is invalid | The value of the specified entity is not valid (legal) in XML. | Correct the entity value. |
| 20709 | ... : Illegal use of reference character | An entity reference was not terminated properly. | Correct the entity reference. |
| 20710 | ... : Malformed character reference encountered | An XML character reference was not terminated properly. | Correct the character reference. |
| 20711 | ... : Invalid character referenced | An XML character reference is invalid. | Correct the character reference. |
| 20712 | ... : Reference to undefined entity encountered | The referenced entity is not defined. | Define the correct entity. |
| 20713 | ... : Circular entity references encountered | An entity references an entity that in turn references the original entity. | Do not reference the original entity in a circular manner. |
| 20714 | ...: default does not match the attribute type | The default value is the wrong type for the attribute. | Either correct the type of the attribute or the default value. |
| 20715 | ...: Contains illegal character (‘<‘) | The default value contains the illegal character ‘<‘. | Correct the default value. |