On map selection and directories

Some of the ECMap informational messages are related to map directories, application file directories, and ECMap environment variables.

ECMap provides great flexibility in deciding where to place directories and files on the disk. But with this flexibility comes the responsibility for accurately describing these locations to the mapping program.

Table 1-2 lists the format, cause, and solution (if applicable) for the ECMap messages related to map selection and directories, by message number.

Table 1-2: ECMap messages related to map selection and directories

Message

Cause

Solution

(1000) ERROR: can’t find map- <mapname>

The map name was not found in the database table of defined map names, MTABLE.

If this error displays as a result of direct window entry of a map name or at ECMap startup ensure that the map name is correctly spelled.

If this error occurs when running an inbound or outbound map, examine the trade agreement records that are associated with the transaction set for the trading partner processed. One of the map names that has been specified in the trade agreement records is not a valid map name (i.e. is not contained in MTABLE).

WWIXMAP – Valid map names can be viewed from the trade agreement record window by moving the cursor to the map name field and pressing <F2> (option to display valid map names).

(1006) ERROR: Map name or directory database is incomplete

The currently selected map name has not been defined completely.

Examine all of the directory entries for this map name. One of the directories has been left blank. Enter a directory name into this field.

(1010) ERROR:[WWIXMAP] = environment variable is not SET

The environment variable must be set to an existing directory prior to invoking the MAPPER program. The MAPPER program checks this directory for control databases at start up. If the control databases do not exist they are automatically created.

WWIXMAP default directory is MAPEXE

Control databases, such as the database table of defined map names, MTABLE, are located under the ECMap environment directory. Changing the value of ECMap causes a new MTABLE to be created under the new ECMap directory. This new MTABLE does not contain previously defined map names.

(1012) ERROR: [WWIXMAP] = environment variable invalid value

(1013) ERROR: [WWIXMAP] = environment variable Disk Drive not Specified

(1014) ERROR: [WWIXMAP] = environment variable Must have \"\\\" after Drive:

Messages 1012 – 1014 are displayed when the environment variable is either not set or set to a name that is not a valid directory name.

Check the setting and correct it. The values of environment variables can be checked at the DOS prompt by keying “SET” and pressing the ENTER key. At the DOS prompt, you can assign a new value to the environment variable by keying: SET [WWIXMAP] = “FULL PATH DIRECTORY NAME”. For example, the DOS command, “SET [WWIXMAP]= C:\MAPDATA”, sets the environment directory to the directory C:\MAPDATA.

NotePlace the SET command that assigns a full path directory name in the DOS autoexec.bat file.

(1015) ERROR: [WWIXMAP] = environment Must Be a Sub-Directory

ECMap cannot point to the root directory.

Modify environment variables to include drive and directory.

(1016) ERROR: Invalid Directory

ECMap was unable to locate the designated directory.

Modify variable to include drive and directory.

(1017) ERROR: can’t get Current Working Directory

System cannot get current working directory or pathname can be longer than 260 characters (default for Windows).

Verify that all path directories should be less than 260 characters.

(1018) ERROR: putenv < > failed

Creating a new environment variable, modifying, or removing existing environment variables failed.

System error. Call Technical Support.

(1020) FATAL: can’t create - <directory name>

Cause 1: The MAPPER program was unable to create the designated directory. This message displays because either the directory name is invalid or the DOS limit has been reached for the number of directories on the PC.

Solution 1: Verify that the directory name is a valid directory for the PC. For example if the PC in use does not have a D drive, then attempts to create a directory on the D drive fails.

Cause 2: This message can be the result of keying in an incorrect directory name.

Solution 2: Key in a correct directory name in the window field.

Cause 3: Directory Names are stored in the User Files and in the map name Definition databases. When these directory names are entered they are verified as correct. However, changing the Configuration of a PC or copying data files between PC's could result in invalid directories in use.

Solution 3: Verify that all file directories are valid. When the current map name is highlighted, verify that the Map directories for this map name are correct

Cause 4: If the directory name is valid, then the DOS limit for the number of directories on your hard disk could have been reached. For most hard disks, the total number of directories allowed depends on how the hard disk was formatted. Double sided 40 track diskettes can have a total of 112 directories, and high capacity double sided 80 track diskettes can have a total of 224 directories.

Solution 4: Delete a directory that is unrelated to the MAPPER to free up a directory entry space and execute the program again.

(1021) FATAL: Connection to <DSN> failed.

ODBC could not establish a connection to the database specified in the filename.

Check that the DSN specified is correct.

Connection between ODBC drivers and the actual database has been broken. For example, the database server is down, and communication is not taking place.

(1022) FATAL: Bind Parameter Failed.

The internal record field definitions and the table structures do not match.

Re-import the table definitions from the database.

Re-export and create a new table in the database based on the new table definition in ECMap.

(1023) FATAL: Select Failed.

Cause 1: Select statement could not execute because maximum number of connections (cursors) has been exceeded.

Solution 1: Examine tables that establish the maximum number of cursors.

Check Select Statement for correct syntax.

Cause 2: Select statement could not execute because database connection has been terminated.

Solution 2: Ensure that database has not gone inactive at the current location.

(1024) FATAL: Fetch without Select

Fetch was issued against a particular record type that had not been selected.

Examine rules to ensure that table has been “selected” prior to issuing the “fetch” command.

(1025) FATAL: Insert <record name> Failed

Cause 1: ODBC code failed to insert a record into the database because maximum number of connections (cursors) has been exceeded.

Solution 1: Examine tables that establish the maximum number of cursors.

Check Insert Statement for correct syntax.

Cause 2: ODBC code failed to insert a record into the database because database connection has been terminated.

Solution 2: Ensure that database has not gone inactive at the current location.

(1026) FATAL: Update without Select.

ODBC could not establish a connection to the database specified in the filename.

Check that the DSN specified is correct.

(1027) FATAL: Update Failed.

Cause 1: Select statement could not execute because maximum number of connections (cursors) has been exceeded.

Solution 1: Examine tables that establish the maximum number of cursors. Check Update Statement for correct syntax.

Cause 2: Select statement could not execute because database connection has been terminated.

Solution 2: Ensure that database has not gone inactive at the current location.

(1028) FATAL: Get/SetCursorName Failed.

(1029) FATAL: Invalid Cursor State

No ODBC connection or no cursor handler.

Call Support assistance.

(1030) FATAL: <ODBC> Error: <text explanation>

ODBC manager detected an error. Passed back to ECMap.

See the ODBC error messages in Section 15 – Microsoft Standard ODBC Error Messages.

(1031) ERROR: SQL RollBack Performed

A Bad Transaction has been processed. SQL statements that insert data into database are rolled back.

Informational Message accompanied by other error messages that detail the transaction errors that occurred.

(1032) OK: SQL RollBack Performed

A user-invoked SQL rollback has occurred.

Informational Message

(1033) FATAL: Fetch Failed.

Record definition and database records do not match.

Ensure that the database definitions and the record definitions are synchronized.

(1034) FATAL: Procedure <Procedure Name> Failed

Cause 1: Procedure Call failed because of environment issue

Solution 1: Examine procedure call in database to ensure that environment settings are correct

Cause 2: Procedure Call failed because of a bad parameter.

Solution 2: Examine procedure call in database to ensure that a bad parameter was not passed to the program.

(1035) Fatal: Number of Fields in <record> Does Not Match Prior Map

Error occurs on Map Switching when using different maps for the same messages. The record definitions in one map do not match the Record Definitions in the initial map.

If different maps are used, ensure that they contain the same record definition for the same table.

(1036) TRACE: Database doesn’t support a LOCK_TYPE.

(1037) Fatal: Wixset Connection string not defined.

ODBC Trading Partner

Set up the company information.

(1038) Fatal: RUN_ID Table Empty

(1039) Fatal: Cannot Obtain Mutex Lock

(1040) Fatal: Try to write to stdin

(1041) Fatal: Try to read from stdout

(1042) FATAL: Failed to Write TRLOG – dumping log to < >

(1043) FATAL: Commit Failed on < >

(1050) ERROR: Data is too long, exceed the buffer length

(1051) ERROR: Element name does not exist

(1052) ERROR: Element name is too long

(1053) ERROR: The element name <element> does not match any record tag names

(1054) ERROR: Failed to load attribute value

(1055) ERROR: While reading data encountered an end of file

(1056) ERROR: Tag length is 0

(1057) ERROR: Attribute name is too long

(1058) ERROR: Attribute name is missing

(1059) ERROR: This is not a right position to get the attribute value

(1060) ERROR: Missing ending quote when loading attribute value

(1061) ERROR: Attribute value is too long

(1062) ERROR: xml_input_convert() failed

(1063) ERROR: Invalid switch

(1064) ERROR: Invalid read operation from stdout

(1065) ERROR: Invalid write operation to stdin

(1066) TRACE: Write XML start tag -- <start tag>

(1067) TRACE: Write XML end tag -- <end tag>

(1068) WARNING: Next XML Tag = <next tag>; Reading Record Tag = <current tag>

Tag in data does not match tag in Read Rule at that level or the following level

This is an informational message; you might not need to do anything. You can make sure the matching tag exists in the input data at this level or the following level.

(1069) WARNING: No more starting tag when reading record tag -- <current tag>

There are no more starting tags at the top of the loop in the input data and the end of the file has been reached.

Verify that the looping tag exists in the input data.

(1070) WARNING: The element name (<element>) does not exist in the map, skip to next

The element in the input data is not present in the map definition.

Verify that the input data is correct or element exists in the map.

(1071) WARNING: The attribute name (<attribute>) is not defined in the record, skip to next

The specified attribute in the input data is not present in the map definition.

Verify that the input data is correct or the specified attribute exists in the map.