Compile Error Messages

If you compile a map with errors, the compile error messages are displayed in the Compile Errors dialog box. Or, if you compile an extended rule containing errors before compiling the map, error messages are displayed in the Error section of the extended rules dialog box.

After you correct the error, click Compile again to verify that the rule is error-free.

The compile error messages are listed by the four- or five-digit message number and the error message text. The error explanations cover the possible causes of the error and the actions that you can take (if appropriate) to correct the error.

Msg ID Message Text Explanation/Resolution
1000 expected '.' The rule does not have the required period (.) between a group name and a field name.

Insert a period (.) between the group name and field name.

1001 no statement to compile The rule 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 comma (,) between parameters.

Insert a comma (,) between parameters.

1006 no statements to compile The body of an IF/ELSE or WHILE condition was empty.

Complete the body of the unfinished condition.

1008 expected '#' The rule does not have the required number sign (#) before a field name.

Insert a number sign (#) 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 indexes to access group ... The rule does not give the full addressing for a group.

Complete the addressing for the group.

2003 too many indexes 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 appropriate only 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.

2037 Line x : Output fields can only be referenced in field extended rules. The output field is only allowed to be reference by a field extended rule. Line x indicates the line number in the rule that has the field reference.

You cannot include a field reference in a group-level extended rule (because it negates the linked value).

Instead of referencing an output field from a group-level extended rule, set the reference on the input side of the map and link to the output field.

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.

Use only one wildcard index 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 destination 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 plus sign (+) or minus sign (-).

Specify a plus sign (+) or minus sign (-).

4003 expected '*' or '/' You specified something other than the expected asterisk (*) or slash (/).

Specify an asterisk (*) or a slash (/).

4004 expected ')' You specified something other than the expected right parenthesis ()).

Specify a right parenthesis ()).

4005 expected a factor, found ... The numeric expression is invalid.
4006 expected '(' You specified something other than the expected left parenthesis (().

Specify a left parenthesis (().

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.

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 The date expression is invalid.
5000 THEN expected The compiler expected a THEN condition.
5001 DO expected The compiler expected a DO condition.
5002 END expected The compiler expected an END condition.
5003 IF expected The compiler expected a IF condition.
5004 FROM expected The compiler expected a FROM condition.
5005 INTO expected The compiler expected an INTO condition.
5006 END without BEGIN An END statement was found without a corresponding BEGIN statement.

Insert a BEGIN statement in the correct location.

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.

20001 Record..., Field... : date field missing date format The specified field does not have a date format.

Edit the field and select 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.

20030 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 more than one binary length element in one segment.

Remove the additional binary data and 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 expects that amount of data.

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 a binary data element to the segment.

20703 group [group] has no active child objects You tried to compile the map, 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 no Use Code standard rule defines the permitted values.

Define a Use Code 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.

Verify 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 values specified in the code list are valid for an XML attribute.

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.

20714 ... : default does not match the attribute type The default value is the wrong type for the attribute.

Correct either the type of the attribute or the default value.

20715 ... : Contains illegal character (‘<‘) The default value contains the invalid character (<).

Correct the default value.

20746 Invalid group ordering sequence for group [group name]. Missing start or end Ordering Type. The start or end ordering type was not set.

Configure the start or end ordering type. For more information about ordering types, see Ordering Tab.

20747 Invalid segment/record ordering sequence for segment/record [segment or record name]. Missing start or end Ordering Type. The start or end ordering type was not set.

Configure the start or end ordering type. For more information about ordering types, see Ordering Tab.