SQL27902N LOAD RESTART/TERMINATE is not allowed on a table that is not in LOAD PENDING state.

Explanation

No RESTART or TERMINATE is necessary. The RESTART and TERMINATE modes of the LOAD utility should be used to resume or cancel a previously failed/interrupted LOAD operation. They are only supported on tables where a previous load operation failed and the table is in LOAD PENDING state. For tables that are not in LOAD PENDING state, only the INSERT and REPLACE modes of the LOAD utility are supported.

User response

To populate the table with the contents of the input source re-issue your LOAD command using the INSERT or REPLACE mode. You can use the LOAD QUERY utility to find out the current state of the table.

SQL27903I agenttype has started on partition partitionnumber at time timestamp.

Explanation

This is an informational message indicating that a DB2 agent is about to begin on a given partition.

User response

No action is required.

SQL27904I The input file was not found. Using standard input as the input.

Explanation

This is an informational message indicating that an DB2 agent is about to begin on a given partition.

User response

No action is required.

SQL27905W The column compression dictionary was built. However, the dictionary might not be optimal due to insufficient utility heap memory.

Explanation

The load utility analyzes the input data to determine the best encoding schemes for building column compression dictionaries. To build the best dictionaries and get the maximum possible compression, the entire set of data should be loaded at one time and enough utility heap memory should be available.

These message is return when the LOAD operation completed successfully but the compression dictionary that was built is not optimal for compression because of insufficient utility heap memory.

User response

Increase the utility heap size before invoking the Load utility.

SQL27906N The load operation was not performed because the specified parameters are not supported with the type of the target table.

Explanation

You can efficiently move a large amount of data into a table by using the load utility.

In a partitioned database environment, you can perform a load operation on only a subset of the database partitions on which the table is defined by specifying the PARTITIONED DB CONFIG parameter with the LOAD command.

You can cause the load utility to build a new dictionary for the table by specifying one of the following parameters with the LOAD command: RESETDICTIONARY, RESETDICTIONARYONLY.

This message is returned when an attempt is made to load data into a column-organized table with the following unsupported combination of parameters passed to the LOAD command:

  • The PARTITIONED DB CONFIG parameter is specified with a value of OUTPUT_DBPARTNUMS
  • And either the RESETDICTIONARY parameter or the RESETDICTIONARYONLY parameter is specified

User response

  • To load data into a column-organized table, using only a subset of database partitions, issue the LOAD command specifying the KEEPDICTIONARY parameter.
  • To load data into a column-organized table and create a new dictionary, issue the LOAD command without specifying OUTPUT_DBPARTNUMS with the PARTITIONED DB CONFIG parameter.

SQL27907I Maximum input record length record-length.

Explanation

This is an informational message indicating the record length used for the Load operation.

User response

No action is required.

SQL27908I The utility is running with check level: check-level.

Explanation

This is an informational message indicating whether truncation checking is enabled or not.

User response

No action is required.

SQL27909I Tracing numberofrecords non-delimited record(s).

Explanation

This is an informational message indicating that tracing is enabled for the first numofrecords record(s).

User response

No action is required.

SQL27910I The string delimiter is chardel, the column delimiter is coldel, and the decimal point is decept. Tracing numofrecords delimited record(s).

Explanation

This is an informational message indicating what delimiters are used for string, column and decimal point. In addition, this message also shows tracing is enabled for the first numofrecords record(s).

User response

No action is required.

SQL27911I The input partition map file filename was opened successfully for reading.

Explanation

This informational message indicates the input partition map file was opened successfully for reading.

User response

No action is required.

SQL27912I Reading of input partitioning map is in progress.

Explanation

This informational message indicates that reading of the input partition map file is in progress.

User response

No action is required.

SQL27913I Input partitioning map was successfully read.

Explanation

This informational message indicates that the input partition map file was successfully read.

User response

No action is required.

SQL27914I The mode of operation is mode.

Explanation

This informational message indicates the mode of operation for the partitioning agent.

There are two different modes of operation:
  • Partition
  • Analyze

User response

No action is required.

SQL27915I Output partitioning map file not used.

Explanation

This is an informational message indicating that the output partitioning map file is not used.

User response

No action is required.

SQL27916I The output partitioning map file filename was opened successfully.

Explanation

This is an informational message indicating that the output partitioning map file was opened successfully.

User response

No action is required.

SQL27917N The LOAD command was not executed because a previous load operation on the table failed and the parameters that were specified with the LOAD command are not supported after a failed load operation on this type of table.

Explanation

You can cause the load utility to build a new dictionary for a table by specifying one of the following parameters with the LOAD command: RESETDICTIONARY, RESETDICTIONARYONLY. If no dictionary exist, then any LOAD command with either the INSERT parameter or the REPLACE parameter will build one.

This message is returned when the following sequence of events occurs:

  1. The LOAD command is issued against a column-organized table that causes a new dictionary to be built.
  2. The load operation fails.
  3. The LOAD command is reissued for the same table, with one of the following parameter combinations specified:
    • The KEEPDICTIONARY parameter
    • The TERMINATE parameter in combination with the DBPARTNUM parameter

If the LOAD command is issued against a column-organized table, that causes a new dictionary to be built, and the operation fails, then the LOAD command may be reissued for the same table, but with the following restrictions:

  • The KEEPDICTIONARY parameter may not be specified
  • The TERMINATE parameter may not be specified in combination with the DBPARTNUM parameter

User response

Reissue the LOAD command without specifying either of the following parameter combinations:

  • The KEEPDICTIONARY parameter
  • The TERMINATE parameter in combination with the DBPARTNUM parameter

SQL27918I Distribution file name: filename.

Explanation

This is an informational message indicating the name of the distribution file used in the utility.

User response

No action is required.

SQL27919I The distribution file filename was opened successfully for writing.

Explanation

This informational message indicates the distribution file was opened successfully for writing.

User response

No action is required.

SQL27920I This utility is using numkeys partitioning keys.

Explanation

This informational message indicates the number of partitioning keys used in the utility.

User response

No action is required.

SQL27921I keyname Start:index Len:length Position:position Type:type.

Explanation

This informational message describes attributes of a partitioning key.

User response

No action is required.

SQL27922I Output data files are not created because the run type is ANALYZE.

Explanation

This is an informational message indicating that the output data files are not created because the mode of operation is ANALYZE.

User response

No action is required.

SQL27923W The value in row row-number and column column-number could not be converted to a Boolean value, so a null value was loaded instead.

Explanation

The inability to convert the value might be due to a data type mismatch, such as trying to load a date into a Boolean column.

If the source of the value that could not be converted is:

  • A delimited ASCII (DEL) file, the indicated column number identifies the ordinal position of the field that contains that value
  • An ASCII file, the indicated column number identifies the byte location of the beginning of the field that contains that value

User response

Examine the input data. If necessary, take one of the following actions:

  • Correct the input data and resubmit the command.
  • In the output table, manually replace the null with the correct value.

SQL27924W The value in row row-number and column column-number could not be converted to a Boolean value, and the target column is not nullable, so the row was not loaded.

Explanation

The inability to convert the value might be due to a data type mismatch, such as trying to load a date into a Boolean column.

If the source of the value that could not be converted is:

  • A delimited ASCII (DEL) file, the indicated column number identifies the ordinal position of the field that contains that value
  • An ASCII file, the indicated column number identifies the byte location of the beginning of the field that contains that value

User response

Examine the input data. If necessary, take one of the following actions:

  • Correct the input data and resubmit the command.
  • In the output table, manually insert a row containing the correct values.

SQL27926I Output data for partition partitionnum will be sent to standard output.

Explanation

This is an informational message indicating that the output data on partition partitionnum will be sent to standard output.

User response

No action is required.

SQL27927I Processed numofrecords records (or lines).

Explanation

This is an informational message indicating that numofrecords records (or lines) were processed.

User response

No action is required.

SQL27928I Processing record number num.

Explanation

This informational message indicates which record is being processed. This message will only be reported when the TRACE option is specified.

User response

No action is required.

SQL27929I Partitioning number returned from hash function: hexvalue (hex) decvalue (decimal).

Explanation

This informational message reports the result of the hashing function in both hex and decimal format.

User response

No action is required.

SQL27930N A record was rejected during partitioning with reason code reason-code and partition-relative record number rec-num.

Explanation

A record was rejected during load while attempting to determine what partition the record belongs to. If the 'dumpfile' load modifier was specified, the rejected record can be found in the partition-relative dumpfile at the partition-relative record number rec-num listed in this message.

An explanation of the error specified by the reason-code is as follows:

  1. The string representation of the data type of a partitioning column is invalid. Either the syntax is invalid or the value is out of range.
  2. The column values corresponding to the partitioning keys are not contained within the first 32K of the record.
  3. The record is empty (all space characters).
  4. The record length does not match the expected length.
  5. The record is incomplete.
  6. An error occurred while processing a generated column value.

User response

The action corresponding to the reason-code is:

  1. Ensure that the string representation or the datatype is correct.
  2. The column values comprising the partitioning keys must be contained within the first 32KB of the record.
  3. If you are concerned that the record is empty, check your data for correctness.
  4. Ensure the record length is not larger or smaller than the expected length.
  5. Ensure the input data file is complete.
  6. Ensure the generated column value is correct and compliant.

SQL27931I Writing output partition map to file filename.

Explanation

This is an informational message indicating that the output partition map is written to filename.

User response

No action is required.

SQL27932I Writing distribution map to filename.

Explanation

This is an informational message indicating that the distribution map is written to filename.

User response

No action is required.

SQL27935I agenttype has ended on partition partitionnumber at time timestamp.

Explanation

This is an informational message indicating that an DB2 agent has just completed operation on a given partition.

User response

No action is required.

SQL27936I Elapsed time: hr hours, min minutes, sec seconds.

Explanation

This informational message reports the total time elapsed.

User response

No action is required.

SQL27937I Throughput: throughput records/sec.

Explanation

This is an informational message indicating the throughput of a given DB2 agent.

User response

No action is required.

SQL27939I Record counts for output partitions: partition number partitionnum. Record count: numofrecords.

Explanation

This informational message indicates the number of records processed for a given partition.

User response

No action is required.

SQL27941I Program terminated abnormally.

Explanation

This informational message indicates the utility program has terminated abnormally.

User response

No action is required.

SQL27942I There are number-of-warnings warning message(s) and number-of-rejected-records rejected records.

Explanation

This informational message reports there are number-of-warnings warning message(s) and number-of-rejected-records rejected record(s) encountered during the operation.

User response

No action is required.

SQL27945I Key Index: index. Data: data1 data2 data3 data4 data5.

Explanation

This informational message reports the attributes of a given partition key.

User response

No action is required.

SQL27947I The input data file specified at line linenum of the configuration file is ignored.

Explanation

The input data file specified at line linenum of the configuration file is ignored. The command line option will be used if it is specified; otherwise, the first specification of input data file in the configuration file will be used.

User response

No action is required.

SQL27948I The output data file specified at line linenum of the configuration file is ignored.

Explanation

The output data file specified at line linenum of the configuration file is ignored. The command line option will be used if it is specified; otherwise, the first specification of output data in the configuration file will be used.

User response

No action is required.

SQL27949I The distribution data file specified at line linenum of the configuration file is ignored.

Explanation

The distribution file specified at line linenum of the configuration file is ignored. The command line option will be used if it is specified; otherwise, the first specification of distribution file in the configuration file will be used.

User response

No action is required.

SQL27950I The type of the input data file is filetype.

Explanation

This is an informational message indicating that the format of the input data is filetype.
  • 0-ASC
  • 1-DEL
  • 2-BIN
  • 3-CUR

User response

No action is required.

SQL27951I The NEWLINE flag is ignored in case of binary or delimited input data files.

Explanation

This informational message reports that the NEWLINE flag is ignored for binary or delimited input data files.

User response

No action is required.

SQL27952I The NEWLINE flag is turned on.

Explanation

This informational message reports that the NEWLINE flag is in effect.

User response

No action is required.

SQL27953I Usage: db2split [-c configuration-file-name] [-d distribution-file-name] [-i input-file-name] [-o output-file-name] [-h help message]

Explanation

-c
option will run this program using a user specified configuration file
-d
option specifies the distribution file
-i
option specifies the input file
-o
option specifies the output file
-h
option will generate the help message

SQL27959N The partitioned database configuration option option-name is invalid. Reason code = reason-code.

Explanation

The partitioned database configuration option named in the error message is incorrectly specified or is incompatible with one of the other load options specified.

The possible reason codes are as follows:

1

Partitioned database configuration options cannot be specified in a non-partitioned database environment or when the DB2_PARTITIONEDLOAD_DEFAULT registry variable is set to OFF.

2

Partitioned database configuration options may not be specified more than once.

3

Invalid pointer detected in the piPartLoadInfoIn input structure passed to the db2Load API.

4

Invalid pointer detected in the poPartLoadInfoOut output structure passed to the db2Load API.

5

The argument supplied to the MODE option must be one of the following:

  • PARTITION_AND_LOAD
  • PARTITION_ONLY
  • LOAD_ONLY
  • LOAD_ONLY_VERIFY_PART
  • ANALYZE
6

The maximum number of partitioning agents must be less than or equal to the maximum number of partitions allowable in a cluster.

7

The maximum number of partition numbers in a partition list must be less than or equal to the maximum number of partitions allowable in a cluster.

8

The arguments supplied to the ISOLATE_PART_ERRS option must be one of the following:

  • SETUP_ERRS_ONLY
  • LOAD_ERRS_ONLY
  • SETUP_AND_LOAD_ERRS
  • NO_ISOLATION
9

The value supplied to the STATUS_INTERVAL option must be in the range 1-4000.

10

The maximum port number must be greater than or equal to the minimum port number.

11

The only legal arguments for the CHECK_TRUNCATION, NEWLINE and OMIT_HEADER options are TRUE and FALSE.

12

The argument supplied to RUN_STAT_DBPARTNUM must be a legal partition number.

13

If the mode is ANALYZE, the MAP_FILE_OUTPUT option must be specified.

14

If the mode is PARTITION_ONLY or LOAD_ONLY and a remote client is being used, then the PART_FILE_LOCATION option must be specified. If the mode is PARTITION_ONLY or LOAD_ONLY then if the file type is CURSOR, the PART_FILE_LOCATION option must be used and must specify a file name.

15

The load actions RESTART and TERMINATE can only be used when the mode is PARTITION_AND_LOAD, LOAD_ONLY or LOAD_ONLY_VERIFY_PART.

16

The HOSTNAME option cannot be specified unless the FILE_TRANSFER_CMD option is also specified.

17

The partition isolation error modes LOAD_ERRS_ONLY and SETUP_AND_LOAD_ERRS cannot be used when both the ALLOW READ ACCESS or COPY YES options of the load command are used.

18

The LOAD_ONLY and LOAD_ONLY_VERIFY_PART modes are not compatible with the CLIENT option of the load command.

18

The partitioned database configuration option is not allowed on a random distribution table using the random by generation method.

User response

Resubmit the LOAD command with the correct partitioned database configuration options.

SQL27960N PART_FILE_LOCATION must specify a fully qualified base filename when the file type is CURSOR.

Explanation

When loading from an input file of type CURSOR, the PART_FILE_LOCATION option must specify a fully qualified base filename instead of a directory.

User response

Resubmit the LOAD command with a proper argument for the PART_FILE_LOCATION partitioned database configuration option.

SQL27961N ROWCOUNT cannot be specified in a partitioned database environment unless the mode is ANALYZE.

Explanation

The ROWCOUNT option of the load command is not supported except when the mode is ANALYZE.

User response

Resubmit the load command without the ROWCOUNT option.

SQL27965N The DB2_LOAD_COPY_NO_OVERRIDE registry variable value value is not valid.

Explanation

A Load was issued with the COPY NO parameter, but the value of the DB2_LOAD_COPY_NO_OVERRIDE registry variable was not valid.

User response

Set the DB2_LOAD_COPY_NO_OVERRIDE registry variable to a valid value, or unset the registry variable to stop overriding Loads which have the COPY NO parameter.

SQL27966W The DB2_LOAD_COPY_NO_OVERRIDE registry variable value value overrides the COPY NO parameter specified in the Load.

Explanation

A Load command was issued with the COPY NO parameter, however the DB2_LOAD_COPY_NO_OVERRIDE registry variable overrides the parameter.

User response

Set the DB2_LOAD_COPY_NO_OVERRIDE registry variable to a valid value or unset the registry variable to stop overriding Loads which have the COPY NO parameter.

SQL27967W The COPY NO recoverability parameter of the Load has been converted to NONRECOVERABLE within the HADR environment.

Explanation

The COPY NO recoverability parameter of the Load has been converted to NONRECOVERABLE. This occurred because the Load was issued within an HADR environment and the DB2_LOAD_COPY_NO_OVERRIDE registry variable was not set.

User response

The COPY NO Load parameter is not valid within an HADR environment. The DB2_LOAD_COPY_NO_OVERRIDE registry variable can be set to override the COPY NO parameter or you can accept that the COPY NO parameter will be converted to NONRECOVERABLE.

SQL27970N An incompatible combination of import options is specified. Reason code = reason-code.

Explanation

An incompatible combination of import options is specified by the user.

The command cannot be processed.

An explanation of the error specified by the reason-code is as follows:
  1. The SKIPCOUNT and RESTARTCOUNT options are mutually exclusive.
  2. Online import mode (ALLOW WRITE ACCESS) is not compatible with the REPLACE, CREATE and REPLACE_CREATE import options.
  3. Online import mode (ALLOW WRITE ACCESS) was specified for the import command using buffered inserts.
  4. Online import mode (ALLOW WRITE ACCESS) was specified for the import command inserting into a view.
  5. Online import mode (ALLOW WRITE ACCESS) was specified for the target table using table lock size.
  6. Commitcount AUTOMATIC was specified for the import command using buffered inserts.
  7. Commitcount AUTOMATIC was specified for the import command, but the server does not support this option. The servers supporting automatic commitcount are DB2 UDB on Linux, Unix and Windows V8.1 FixPak 4 and higher DB2 versions.
  8. Online import mode (ALLOW WRITE ACCESS) was specified for the import command, but the server does not support this option. The servers supporting online import are Linux, Unix and Windows, zSeries and iSeries.

User response

The action corresponds to the following reason codes:
  1. Reissue the command using either the SKIPCOUNT or RESTARTCOUNT option.
  2. Reissue the command without specifying ALLOW WRITE ACCESS, or use INSERT or INSERT_UPDATE import option.
  3. Reissue the command without specifying ALLOW WRITE ACCESS, or rebind the import packages (bind files db2uimtb.bnd and db2uimpm.bnd) without using the INSERT BUF option.
  4. Reissue the command without specifying ALLOW WRITE ACCESS.
  5. Reissue the command without specifying ALLOW WRITE ACCESS, or alter the table using LOCKSIZE ROW.
  6. Reissue the command without specifying automatic commitcount, or rebind the import packages (bind files db2uimtb.bnd and db2uimpm.bnd) without using the INSERT BUF option.
  7. Do not attempt to use this command option against an incompatible server.
  8. Do not attempt to use this command option against an incompatible server.

SQL27971N The target table has changed since the start of the import utility.

Explanation

This message can be returned for several reasons. For example, this message could be returned if application dropped the target table and created a new table with the same name while an online import was running.

The utility stops processing.

User response

If desired, rerun the operation.

SQL27972N A range of rows from the input file, starting at first-failed-row and ending at last-failed-row, was not inserted into the table. SQLCODE = sqlcode.

Explanation

The atomic compound database operation failed to insert a sequence of rows of data read from the input file. One or more of the fields in the input file is not compatible with the database field where the field is being inserted.

Processing continues with the next row of input data.

User response

Examine the input file and the database contents. If desired, modify the database or modify the input file and rerun the operation.

SQL27980W The utility encountered attached or detached data partitions in the target table or the source table.

Explanation

Some of the data partitions are in the attached or detached state. The utility treats these data partitions as invisible. Any input source records belonging to those data partitions will be rejected by the import utility or the load utility. The rows rejected by the load utility can be recovered from the exception table, if one was specified. The export utility will not process any data that might exist in those data partitions.

User response

No action is required.

SQL27981W The utility could not verify presence of attached or detached data partitions in the target table or the source table.

Explanation

Some of the data partitions might be in the attached or detached state, but the utility was unable to confirm this. The utility treats these data partitions as invisible. Any input source records belonging to those data partitions will be rejected by the import utility or the load utility. The rows rejected by the load utility can be recovered from the exception table, if one was specified. The export utility will not process any data that might exist in those data partitions.

User response

No action is required.

SQL27982N Vendor Load API (sqluvtld) is no longer supported.

Explanation

Vendor Load API (sqluvtld) is no longer supported. DB2 Load utility is the only supported bulk loader. DB2 Load utility can be executed via db2Load API.

User response

Do not use the sqluvtld API or any applications that invoke it.

SQL27983N The LOAD utility is unable to rebuild the index.

Explanation

The LOAD target table has detached data partitions and has dependent materialized query tables or dependent staging tables that have not been incrementally refreshed with respect to the detached data partition. This condition prevents the LOAD utility running in insert mode or restart mode from rebuilding a unique index.

User response

Do not specify indexing mode REBUILD with LOAD insert until the dependent materialized query tables or dependent staging tables are refreshed. Use a different LOAD indexing mode, or execute the SET INTEGRITY statement with the IMMEDIATE CHECKED option to maintain the dependent materialized query tables or dependent staging tables with respect to the detached data partition. If a LOAD restart cannot incrementally maintain indexes, the previously failed LOAD operation must be terminated before dependent materialized query tables or dependent staging tables can be refreshed.

SQL27984W The export command completed successfully. However, some information that would be required to recreate one or more tables has not been saved to the output file. The file will not be able to be used by the IMPORT command to create or replace tables. Reason code: reason-code.

Explanation

You can export data from a database to a file by using the export utility. You can then import the data from that file to recreate those tables by using the import utility.

This message is returned when the export utility is unable to export all of the information for one or more tables, which means that the output file that the export utility created would not be able to be used by the import utility to create or recreate the tables.

The reason code indicates the type of information that was not exported:

1

Index information has not been saved because the index column names contain hexadecimal values of 0x2B or 0x2D.

2

XML column definitions have not been saved.

3

Multidimensional clustered table (MDC) key definitions have not been saved.

4

Table partitioning key definitions have not been saved.

5

Index names have been truncated due to code page conversion.

6

Information about protected tables has not been saved.

7

Action strings other than 'SELECT * FROM <TABLE-NAME>' have not been saved.

8

Column names specified with the METHOD N parameter were not used because the METHOD N parameter is not supported when hierarchical data is being exported.

9

A column name that was too long for the Integration Exchange Format (IXF) format has been truncated.

10

A user-defined type name that was too long for the IXF format has been truncated.

11

Typed table information has been truncated due to codepage conversion.

12

The name of a schema that is associated with a user-defined type was too long for the IXF format. The schema name has been truncated.

13

Decimal floating-point column definitions have not been saved.

14

Hidden columns information has not been saved.

15

Information about indexes with random ordering was not saved.

16

Table column orientation in column-organized tables has not been saved.

17

Information about expression-based indexes

18

Indexes created with the BUSINESS_TIME WITHOUT OVERLAPS clause have not been saved.

19

Information about columns where STRINGUNITS has been specified as CODEUNITS32 has not been saved.

20

BINARY or VARBINARY column definitions have not been saved.

21

Information that the table was created as a random distribution table was not saved.

User response

For reason codes 1, 3, 4, 5, 7, 8, 9, 11, 14, 17, and 18:

  • To force the import utility to create the tables despite the fact that some information is missing, specify the FORCECREATE parameter when you issue the IMPORT command with the CREATE parameter or the REPLACE_CREATE parameter.

For reason codes 2, 6, 10, 12, 13, 15, 16, 19, 20 and 21, perform the following steps:

  1. Use the db2look command to extract table information and create the table.
  2. Issue the IMPORT command with the INSERT or REPLACE parameter with the exported file.

sqlcode: +27984

sqlstate: 5U059

SQL27985N Autoloader executable (db2atld) is no longer supported.

Explanation

Autoloader executable (db2atld) is no longer supported. The Load utility is the only supported bulk loader. The Load utility is executed via a db2Load API, LOAD CLP command, or SYSPROC.ADMIN_CMD stored procedure.

User response

Do not use the db2atld executable.

SQL27986W A column name has been truncated in the PC/IXF file during Export. This file will not be supported in Import using Method N.

Explanation

Data has not been affected during Export but the file cannot be used in Import with Method N because some column information is missing.

User response

If Method N will not be used in Import, then no action is necessary. If Method N will be used, then export using Method N again, but explicitly specify shorter column names. Even though the PC/IXF file will contain the shorter column names, this will not affect the import of the data into an existing table. Alternatively, rename the columns in the original table to be shorter and export the data again.

sqlcode: +27986

sqlstate: 5U036

SQL27987N This PC/IXF file is not supported in Import using Method N.

Explanation

Data has not been affected during Export but the file cannot be used in Import using Method N since some column information is missing.

User response

Import using another Method other than N. Alternatively, export using Method N again, but explicitly specify shorter column names. Even though the PC/IXF file will contain the shorter column names, this will not affect the import of the data into an existing table. Alternatively, rename the columns in the original table to be shorter and export the data again.

sqlcode: -27987

sqlstate: 5U015

SQL27990W During loading, at least one row was found to be on the wrong partition.

Explanation

When loading a partitioned database using the load utility with LOAD_ONLY_VERIFY_PART mode, any rows in the input file that are found to be on the wrong partition will be discarded. If the "dumpfile" modifier is specified, the discarded rows will be saved to the dump file. This message will appear only once per partition per load job, even when there are multiple partition violations present.

User response

If the discarded rows are saved to a dump file, they can be loaded to the correct partition by simply issuing another load command with the MODE option set to PARTITION_AND_LOAD.

SQL27991W Too many partitioning agents specified in the load command.

Explanation

Too many partitioning agents have been specified in the PARTITIONING_DBPARTNUMS partitioned database configuration option of the load command. The maximum number of partitioning agents is specified by the MAX_NUM_PART_AGENTS load option, which defaults to 25 if not specified.

User response

Resubmit the command with the correct number of partitioning agents. Alternatively, the PARTITIONING_DBPARTNUMS option can be omitted and the load utility will automatically select an appropriate number of partitioning agents.

SQL27992N The data file contains a valid partitioning map, but the load mode is not LOAD_ONLY.

Explanation

Load has detected a valid partitioning map at the beginning of the file. The Load mode specified would cause the utility to treat this as user data, possibly causing undesired results.

User response

If the reason the data file begins with a partitioning map header is that the data in the file has already been partitioned, then use LOAD_ONLY mode to load the file. In this case it will also be necessary to use the OUTPUT_DBPARTNUMS option to specify the single partition to which the data should be loaded.

If the partitioning map detected by load at the beginning of the file is actually user data, then use the IGNOREHEADER modifier to disable the partition map detection and load the entire data file.

SQL27993W The STATISTICS USE PROFILE option of the Load utility was specified, however, a statistics profile does not exist.

Explanation

The statistics profile does not exist in the catalog table SYSIBM.SYSTABLES. The statistics profile must be created before the load is executed.

The load utility continues processing.

User response

To create a statistics profile, use the SET PROFILE or SET PROFILE ONLY options of the RUNSTATS utility. Refer to the RUNSTATS documentation for a detailed description of the utility options.

SQL27994W The length of a special register default column is smaller than the target column length. Load may truncate the values corresponding to this column (column-num).

Explanation

The clause SESSION_USER, CURRENT_USER, SYSTEM_USER, or CURRENT_SCHEMA has been specified for column column-num, but this column was either defined with a length that is less than 128 bytes (SESSION_USER only) or the column-value inserted into this column may exceed the target length after codepage conversion. Load may truncate the column-value.

User response

If your system standards would not allow a user ID (SESSION_USER) to exceed the length of the column, then this warning may be ignored. To prevent this warning from occurring, the length of the column must be at least 128 bytes. If codepage conversion resulted in the growth of this register default column, increase the length of the column to accommodate the growth.

SQL27999N The requested IMPORT operation into a remote target (nickname) cannot be performed. Reason code = reason-code.

Explanation

The target of the requested IMPORT operation resides in a remote database and is referenced locally by a nickname. The options specified for the IMPORT command do not meet the constraints required to allow the operation. The operation was rejected.

The explanation corresponding to the reason code is:

1

The federated wrapper which manages the operations on the nickname is non-relational. Only nicknames managed by relational wrappers are supported. The ODBC wrapper is also not supported.

2

The DATALINK SPECIFICATION clause was specified, but is not supported.

3

One of the following unsupported filetype modifiers was specified: indexixf or indexschema.

4

The dldelfiletype modifier, which is unsupported, was specified.

5

One of the following unsupported filetype modifiers was specified: nodefaults or usedefaults.

6

The no_type_idfiletype modifier, which is unsupported, was specified.

7

One of the following unsupported filetype modifiers was specified: generatedignore, generatedmissing, identityignore, identitymissing, periodignore, periodmissing, transactioidignore, or transactionidmissing.

8

The COMMITCOUNT clause was not specified or was specified with the value AUTOMATIC. If the COMMITCOUNT clause is used, a non zero number must be specified.

9

The ALLOW WRITE ACCESS clause, which is required, was not specified.

10

An unsupported filetype was specified. Only files of type IXF, ASC, or DEL are supported.

11

An unsupported import action was specified. Only the INSERT INTO or INSERT_UPDATE INTO actions are supported.

12

Target table contains one of unsupported column types: LOB columns, XML columns, generated columns, datalink columns, or target table is a hierarchy table (typed table).

13

The lobsinfile filetype modifier, which is unsupported, was specified.

14

Either the remote target is not a table, or insufficient privileges prevent the utility from accessing the nickname. Import operation is only permitted when nickname is defined on a table, and PASSTHRU privilege is granted on the user.

15

The necessary stored procedures do not exist against the target database. Update the the database system catalog and cause built-in SQL routines and views to be recreated by calling the version of the db2updv* command that is appropriate for the recently installed fix pack.

16

The target table is a random distribution table using the random by generation method, which is unsupported.

User response

Correct the options specified and retry the IMPORT command.