Text |
Keyword "SET" missing or invalid range-variable specified. |
Expl. |
In the SQL UPDATE statement after the table specification, either the keyword "SET" is missing, or the range-variable is incorrect. |
Actn. |
Correct error in program. |
Text |
Invalid assignment clause in SQL UPDATE statement. |
Expl. |
The specified column does not exist in the referenced table that is to be updated; or the equal sign (=) after the column specification is missing; or the scalar-expression after the equal sign contains an error. |
Actn. |
Correct error in program. |
Text |
With a view, only "SET *" is allowed in SQL UPDATE. |
Expl. |
When a view is referenced in an SQL UPDATE statement, "SET *" must be specified; an explicit assignment list is only allowed and required when a DDM is referenced in the SQL UPDATE statement. |
Actn. |
Correct error in program. |
Text |
Invalid range-variable specified in SQL INSERT/DELETE. |
Expl. |
In an SQL INSERT or SQL DELETE statement, an invalid range-variable (identifier) has been specified after the DDM (table) name. |
Actn. |
Correct error in program. |
Text |
Opening or closing parenthesis missing in INSERT. |
Expl. |
In an INSERT statement, either the list of field names or the list of values is not correctly enclosed in parentheses. |
Actn. |
Correct error in program. |
Text |
Field to be INSERTed is not in specified DDM/table. |
Expl. |
The field specified in the column list of the INSERT statement does not exist in the referenced DDM/table. |
Actn. |
Correct error in program. |
Text |
Invalid value specified in VALUES clause of INSERT. |
Expl. |
Values specified in the VALUES clause of an INSERT statement must be one of the following: - the keyword "NULL" (to assign a null value); - a special register (USER, CURRENT TIMEZONE, CURRENT DATE, CURRENT TIME, CURRENT TIMESTAMP); - a constant or a user-defined variable. |
Actn. |
Correct error in program. |
Text |
VALUES clause missing or invalid SELECT clause specified. |
Expl. |
In an INSERT statement, either a valid VALUES clause or a valid SELECT clause must be specified. |
Actn. |
Correct error in program. |
Text |
Incorrect usage of index range field. |
Expl. |
1) When an array range is used as a parameter in an SQL statement (e.g. SELECT, INSERT), the Natural array property DYNAMIC is not supported. 2) The data type of a field specified with an index range must be alphanumeric or binary, unless COMPOPT DB2ARRY=ON has been set. 3) Arrays must be one-dimensional. That is, arrays that are defined in DEFINE DATA as (A10/1:3;1:5) are not permitted. 4) Variable index ranges, such as (1:I), are not permitted. |
Actn. |
Check syntax and correct error. |
Text |
The CLSID was not found in the registry (DCOM code ...). |
Expl. |
The CLSID associated with the given class name was not found in the registry. |
Actn. |
Make sure that the class name used in the CREATE OBJECT statement is correctly registered. |
Text |
The object could not be created (DCOM code ...). |
Expl. |
The object of the class specified in the CREATE OBJECT statement could not be created. Common reasons are: 1) The class is not correctly registered. 2) You are not authorized to create the object. 3) The specified node does not exist or could not be reached. |
Actn. |
Check if one of the above conditions applies. |
Text |
A library name must be specified for Natural Security. |
Expl. |
If Natural Security is installed, the system commands REGISTER and UNREGISTER can only be used for a single library. Therefore the library name must not be "*". The library name can be omitted when applying the commands to all classes of the current logon library. If the commands are to be applied to classes in another library, the name of this library has to be specified. |
Actn. |
Either omit the library name or enter the name of an existing library. |
Text |
Internal error (DCOM code ...). |
Expl. |
An internal error occurred because of one of the following reasons: 1) A string could not be converted from Ansi to Unicode. 2) An automation interface function failed to execute. 3) The default dispatch interface was not returned during object creation. 4) Analyzing the type information failed. 5) A dispatch interface could not be retrieved. |
Actn. |
Check if the used class is correctly registered. |
Text |
Registry entry could not be changed. |
Expl. |
Natural could not change or create entries in the system registry which are needed to register the DCOM class. |
Actn. |
Check, if you have permission to change the system registry. If this is not the case, you cannot register classes. |
Text |
Registry entry could not be deleted. |
Expl. |
Natural could not delete entries in the system registry which are no longer needed when the DCOM class is unregistered. 1. Check if you have permission to delete entries from the system registry. If this is not the case, you cannot unregister classes. 2. Check if the CLSID of the class to be unregistered was changed after registering the class. In this case it is not possible to find the class in the registry. |
Actn. |
See explanation. |
Text |
Registry entry could not be read. |
Expl. |
Natural could not read entries in the system registry, which is needed to register/unregister the DCOM class. |
Actn. |
Check, if you have permission to read the system registry. If this is not the case, you cannot register/unregister the DCOM class. |
Text |
Internal error during registration. |
Expl. |
Internal error during registration. |
Actn. |
Unregister the class first and try to register it again. |
Text |
Registration files could not be created correctly. |
Expl. |
It was not possible to create the server and client registration files (.reg) for the class. |
Actn. |
Check, if you have permission to create these files. |
Text |
DCOM server message: .... |
Expl. |
The DCOM server, which was called by the Natural client, returns the message displayed above. |
Actn. |
None. |
Text |
INCDIR error: .... |
Expl. |
This message appears only if compiler option CHKRULE=ON is set. During compilation, the DDM and field names referenced in INCDIR statements are checked for existence. If either the DDM or the field cannot be found, this message is issued. INCDIR statements are automatically created if a database field is included in a map. When the map is catalogued, these instructions will effect an automatic incorporation of processing rules which might exist for this field on Predict. |
Actn. |
1) Deactivate the message with CHKRULE=OFF. 2) Correct the DDM/field name in the INCDIR statement. |
Text |
Interactive I/O not possible in server environment. |
Expl. |
An attempt was made to execute an interactive I/O (I/O to report 0), while Natural is acting as a server. |
Actn. |
Check and correct the program. Input data for the Natural INPUT statement may be supplied via the Natural stack. Any output to report 0 may be redirected using the MAINPR parameter. |
Text |
Invalid object handle used. |
Expl. |
An object handle can only be used after the object has been created with a CREATE OBJECT statement, or after a valid handle has been assigned to it. |
Actn. |
Make sure that the object has been successfully created before it is used in a SEND METHOD statement or property access. |
Text |
Invalid placement of ... statement. |
Expl. |
An invalid statement has been specified in the current Natural object. Possible reasons are, for example: 1. A DEFINE CLASS statement may only be specified in a Natural class object and only specified once per class object. 2. The first statement of a Natural function object must be DEFINE FUNCTION ... END-FUNCTION. 3. An END statement must not be used in a copycode object. |
Actn. |
Check the placement of the statement or check the object type. |
Text |
Invalid ... name specified. |
Expl. |
In a DEFINE CLASS statement the following rules apply to various names: 1. The class, interface, property or method name must not have more than 32 characters. 2. The class name may contain periods. Each identifier separated by a period must conform to the naming conventions for user-defined variables. 3. Interface, property or method names must conform to the naming conventions for user-defined variables. The interface name must not be identical to the class name. 4. The copy code or subprogram name must not have more than 8 characters. |
Actn. |
Check the name and correct error. |
Text |
... name is not defined. |
Expl. |
In a PROPERTY statement - the interface is not defined or - the property name is not defined for the interface specified. In a METHOD statement - the interface name is not defined or - the method name is not defined for the interface specified. Concerning Natural functions - there is no return value defined in the RETURNS clause inside the function prototype. |
Actn. |
Check the name and correct the error. |
Text |
Keyword ... expected. |
Expl. |
The appropriate keyword is expected. |
Actn. |
Check the keyword and correct error. |
Text |
... name already defined. |
Expl. |
The interface name is not unique in the specified class or the property or method name is not unique for the specified interface. |
Actn. |
Check the name and correct error. |
Text |
Property and assigned object var. not data-transfer compatible. |
Expl. |
The format/length specifications of the property and the assigned object variable are not data-transfer compatible. If the attribute READONLY is specified, the rule for data transfer of the object variable as sending field and the property as receiving field apply. Otherwise the data transfer rules for the property and the assigned object variable as sending and receiving fields apply. |
Actn. |
Check the format/length specifications and correct error. |
Text |
No object variable assigned to property .... |
Expl. |
No object variable is assigned to the property. |
Actn. |
Assign an object variable to the property. |
Text |
Invalid globally unique ID specified. |
Expl. |
The specified value is not a valid globally unique ID. |
Actn. |
Check the value of the valid globally unique ID and correct error. |
Text |
The type information could not be retrieved .... |
Expl. |
In certain situations Natural needs type information about a class to use it. The type information for the class could not be found. A common reason is that the class is not correctly registered on the server side. |
Actn. |
Make sure that the class is correctly registered and type information exists. |
Text |
The interface ... was not found. |
Expl. |
The specified interface was not found in the object"s type information. |
Actn. |
Check the specified interface name. |
Text |
The method or property was not found (DCOM code ...). |
Expl. |
The specified method or property was not found in any of the object"s interfaces. |
Actn. |
Check the specified interface name (if any), the method or the property name. |
Text |
The Natural object of class ... could not be created. |
Expl. |
With the class name specified in the CREATE OBJECT statement it was not possible to create the object. A possible reason is that the corresponding Natural class module was not found at the place where it was registered. |
Actn. |
Check the class name used in the CREATE OBJECT statement and check if the corresponding Natural class module is available. |
Text |
The method or property was not found. |
Expl. |
The specified method or property was not found in any of the object"s interfaces. |
Actn. |
Check the specified interface name (if any), the method or the property name. |
Text |
A class with the same ... ... already exists as member .... |
Expl. |
You have used a class name which already exists in another class module. The class names within a library must be unique. |
Actn. |
Change the class name. |
Text |
READONLY property ... must not be modified. |
Expl. |
If a property is declared as read-only, it must not be modified. |
Actn. |
Correct error in program. |
Text |
Invalid dispatch ID of ... ... in interface .... |
Expl. |
Methods and properties of classes have numeric identifiers, called dispatch IDs, assigned. Normally these IDs are assigned internally and automatically by Natural. If you explicitly assign an ID to a method or property using the ID clause, you have to assign the numbers uniquely per interface. Dispatch IDs must be positive integer values. |
Actn. |
Assign a different ID to ensure uniqueness and correct format, or do not assign an ID at all. |
Text |
No globally unique ID defined for interface ... of class .... |
Expl. |
The globally unique ID for the given interface is missing in the Natural class definition. The ID is needed to enter information for this interface in the registry. |
Actn. |
Define a globally unique ID for the interface. |
Text |
Type Library creation for class ... failed. |
Expl. |
The type library (.TLB) which is created during registration of a Natural class in the Natural etc directory could not be created. A possible reason is that a type library for the given class already exists and has been opened by another tool. So Natural cannot modify it. |
Actn. |
Check, if the type library is being used by another tool. |
Text |
No registry information entered for .... |
Expl. |
If a Natural class is to be accessible with DCOM, it must be entered in the registry. If the class is to be used only locally in Natural, this is not necessary. |
Actn. |
If you do not want to use the class with DCOM, you can ignore this error message. Otherwise, define a valid ID for the class and define at least one interface for the class. |
Text |
Conflicting number of parameters in SEND METHOD. |
Expl. |
The number of parameters which are specified with the SEND METHOD statement must be identical to both: - the number of parameters, that are defined in the method, - the number of parameters, that are declared in the method declaration of the DEFINE CLASS statement. |
Actn. |
Check the parameter definitions in the class module, in the method and the parameters in the SEND METHOD statement. |
Text |
Error during conversion of parameter ... in SEND METHOD. |
Expl. |
The parameter could not be converted to an appropriate VARIANT format, or the VARIANT format returned from the server could not be converted to an appropriate Natural format. Some possible reasons are: - A Natural variable of format "C" cannot be passed as a method parameter. - Arrays passed as arguments must match the corresponding method parameter in number of dimensions and number of occurrences per dimension. |
Actn. |
Consult the data conversion rules in the NaturalX documentation. |
Text |
Class name ... already defined in the registry. |
Expl. |
The class cannot be registered, because a class with the same name but a different CLSID has been found in the system registry. |
Actn. |
Change the class name so that it is unique. |
Text |
No classes are registered under server ID .... |
Expl. |
The UNREGISTER command was used to unregister all classes that are registered under a given server ID, or under the current server ID. Currently there are no classes registered under this server ID. |
Actn. |
None. |
Text |
Error during conversion of property value or return value. |
Expl. |
The property value or return value could not be converted to an appropriate VARIANT format, or the VARIANT format passed back from the server could not be converted to an appropriate Natural format. Some possible reasons are: - A Natural variable of format "C" cannot be passed as property value or received as return value. - Arrays passed as property value or received as return value must match the corresponding property or return parameter in number of dimensions and number of occurrences per dimension. |
Actn. |
Consult the data conversion rules in the NaturalX documentation. |