IBM Books

Messages Reference


SQL1600 - SQL1699



SQL1601N The Database System Monitor input parameter "<parameter>" is a null pointer.

Cause: The user called one of the Database System Monitor APIs and provided a null pointer instead of a required parameter.

The command can not be processed.

Action: The user should reissue the command with a valid parameter value.



SQL1602N An object type supplied in the input data structure (sqlma) is not supported.

Cause: An object type specified in the variable data area of the input data structure (sqlma) for Database System Monitor Snapshot API is not supported.

The command can not be processed.

Action: Reissue the command using a valid object type. Refer to the Embedded SQL Programming Guide and API Reference for further information about valid object types.



SQL1603N The parameter "<parameter>" is not specified in the input data structure (sqlma).

Cause: A required parameter is not specified in the input data structure (sqlma) of the Database System Monitor Snapshot or Estimate Buffer Size API.

The command cannot be processed.

Action: The user should reissue the command specifying a valid parameter value.



SQL1604N The parameter "<parameter>" is not null terminated.

Cause: A null character is expected at the end of the character string parameter.

The command can not be processed.

Action: Add a null character at the end of the character string parameter and reissue the command.



SQL1605W The database "<db-alias>" is not active.

Cause: The Database System Monitor Reset API was called for a specific database, but the database was not active.

The command completed successfully but no action was taken.

Action: Verify that the database alias is correct and the database has been started.



SQL1606W The Database System Monitor output buffer is full.

Cause: The Database System Monitor output buffer area is not large enough to accommodate the returned data. Likely causes are intense system activity when the call was made, or in the case of a Database Monitor API call within a user application, the user allocated a buffer too small to contain the returned data.

The command completed successfully and data collected prior to the buffer overflow is returned in the user's buffer.

Action: The user should reissue the command, or in the case of a Database Monitor API call within a user application, allocate a larger buffer or reduce the amount of information requested.



SQL1607N There is not enough working memory to execute the requested Database System Monitor function.

Cause: The database manager is out of working memory to process the Database System Monitor command.

The command can not be processed.

Action: Reduce the buffer size in the input parameter and reissue the command.



SQL1608W Two or more database aliases specified on input refer to the same database.

Cause: A Database System Monitor Snapshot or Estimate Buffer Size API call was issued specifying the same request for two or more database aliases in the sqlma input data structure, and they point to the same database.

Database System Monitor executes successfully, but returns only one copy of the information in the output buffer.

Action: No action is required. However, the user should verify that the database aliases specified on input are correct if information on different databases was expected.



SQL1609N The database "<db-alias>" is a remote database and cannot be monitored.

Cause: A Database System Monitor API call was issued specifying the database alias of a remote database. Database System Monitor does not support monitoring of remote databases.

The command cannot be processed.

Action: The user should verify that the database alias specified on input is correct, and reissue the command with the correct database alias.



SQL1610N The Database System Monitor input parameter "<parameter>" is invalid.

Cause: The user called one of the Database System Monitor APIs and specified an invalid value for the specified parameter.

The command can not be processed.

Action: The user should reissue the command with a valid parameter value.



SQL1611W No data was returned by Database System Monitor.

Cause: None of the monitoring information requested by the users was available at the time the Database System Monitor API call was issued. This can occur when a requested database or application is inactive, or when a monitoring group such as the Table group is turned OFF, and Table information is requested.

Action: The command completed successfully, but no data is returned to the user.

The user should make sure that the databases or applications for which monitoring is desired are active at the time the Database System Monitor API is called, or that the desired monitoring groups are active.



SQL1612N The specified event monitor target path is invalid.

Cause: The target path specified in the CREATE EVENT MONITOR statement is not a valid path name. The command could not be processed.

Action: Resubmit the statement with the correct event monitor target path.

sqlcode: -1612

sqlstate: 428A3



SQL1613N The specified event monitor option is invalid.

Cause: The option specified in the CREATE EVENT MONITOR statement is not valid. Possible causes include:

The command could not be processed.

Action: Resubmit the statement with the corrected event monitor options.

sqlcode: -1613

sqlstate: 428A4



SQL1614N An I/O error occurred when activating an event monitor. Reason code = "<reason-code>".

Cause: An I/O error was detected when an event monitor was activated. <reason-code> is one of the following:

1
Encountered an unknown event monitor target type.

2
The Event monitor target path was not found.

3
Access to event monitor target path was denied.

4
Event monitor target path is not the name of a pipe.

5
No process has opened the event monitor target pipe for reading.

6
Encountered an unexpected I/O error.

7
The target pipe was not opened in message mode. (This reason code is applicable on OS/2 only.)

8
The target pipe buffer is too small. The inbound pipe buffer must be at least 4096 bytes in size. (This reason code is applicable on OS/2 only.)

Action: Where possible, fix the problem described by the reason code, and resubmit the SET EVENT MONITOR statement.

sqlcode: -1614

sqlstate: 58030



SQL1615W The specified event monitor is already in the requested state.

Cause: An attempt was made to either activate an already active event monitor, or deactivate an already inactive event monitor. The SET EVENT MONITOR statement was ignored.

Action: No user response is required.

sqlcode: +1615

sqlstate: 01598



SQL1616N The limit on the maximum number of active event monitors has already been reached.

Cause: A maximum of 32 event monitors can be active simultaneously per database. This limit has already been reached. The specified event monitor cannot be activated.

Action: If possible, deactivate one of the active event monitors and resubmit the SET EVENT MONITOR statement.

sqlcode: -1616

sqlstate: 54030



SQL1617N The specified event monitor has already reached its MAXFILES and MAXFILESIZE limit.

Cause: The specified event monitor was created with a limit on the amount of data that would be allowed in the event monitor target directory. This limit has already been reached. The specified event monitor cannot be activated.

Action: If possible, delete some of the event monitor data files from the target directory, and resubmit the SET EVENT MONITOR statement.

sqlcode: -1617

sqlstate: 54031



SQL1618N The target path of the specified event monitor is in use by another event monitor.

Cause: The specified event monitor was created with the same target path as another event monitor. This other event monitor was activated at least once, and has left .evt and/or .ctl files in the target path. These files may be in use by application(s) that are reading the event information they contain.

Action: If the other event monitor is currently active, deactivate it. After ensuring no application(s) are using the files it created in the target path, remove the files Then resubmit the SET EVENT MONITOR statement.

Alternatively, recreate the required event monitor, specifying a different target path, and resubmit the SET EVENT MONITOR statement.

sqlcode: -1618

sqlstate: 51026



SQL1619N Cannot DROP an active event monitor.

Cause: The specified event monitor is currently active, and therefore cannot be dropped.

Action: Deactivate the event monitor and resubmit the DROP EVENT MONITOR statement.

sqlcode: -1619

sqlstate: 55034



SQL1621N The transaction in which the specified event monitor was created has not yet been committed. The event monitor cannot be activated.

Cause: An event monitor cannot be activated until the transaction in which it was created has been committed.

Action: Commit the transaction in which the event monitor was created and then reissue the SET EVENT MONITOR statement.

sqlcode: -1621

sqlstate: 55033



SQL1622N The STATE value specified in the SET EVENT MONITOR STATE statement is invalid.

Cause: The STATE value specified in the SET EVENT MONITOR STATE statement is not within the range of valid values, or the value is NULL as a result of an indicator variable.

Valid values for the Event Monitor State include:

0
to deactivate the event monitor
1
to activate the event monitor

The statement cannot be executed.

Action: Correct the event monitor state value and/or any indicator variable and reissue the statement.

sqlcode: -1622

sqlstate: 42815



SQL1623N The sqlmonsz or sqlmonss API was called with too many objects specified in the sqlma input structure.

Cause: The limit imposed on the number of objects that are permitted in the sqlma input structure has been exceeded.

Action: Reduce the number of objects in the sqlma parameter and try the call again.



SQL1624N All databases referenced by the sqlmonsz or sqlmonss API must be located at the same node.

Cause: The sqlma parameter contained references to databases that reside on different nodes.

Action: Modify the sqlma parameter so that all database objects reference the same node and then try the call again.



SQL1625W The monitor is not able to convert from the code page "<source>" to the code page "<target>". This conversion was attempted for data pertaining to type "<type>".

Possible types are as follows:

  1. statement text
  2. dcs application
  3. application
  4. table
  5. locks
  6. table space

Cause: Conversion of data from the source code page to the target code page is not supported. This condition can occur under the following conditions:

  1. source and target code page combination is not supported by the database manager.
  2. source and target code page combination is not supported by the operating system character conversion utility on the server node.

This situation can occur when the monitor tries to convert data pertaining to a database whose code page is incompatible to that of the monitor application.

Action: Check your operating system documentation for a list of supported conversions and ensure that the appropriate ones are installed and accessible to the database manager.

If possible ensure that the database being monitored and the monitoring application are in the same codepage.



SQL1626W Overflow occurred while performing conversion from codepage "<source>" to codepage "<target>". The size of the target area was "<max-len>" ,the data pertained to type "<type>" and the first eight characters are "<data>".

Possible types are as follows:

  1. statement text
  2. dcs application
  3. application
  4. table
  5. locks
  6. table space

Cause: The monitor is unable to convert the data due to space constraints. The data is retained in its original form.

Action: If possible ensure that the database being monitored and the monitoring application are in the same codepage.



SQL1650N The function invoked is no longer supported.

Cause: The user has attempted to call an API that is no longer supported in this version of the database manager.

Action: The function required may be supported by a different API call. Check in the API Reference and Embedded SQL Programming Guide to determine if the function is supported through a different API call.



SQL1651N The request cannot be executed because the DB2 server version does not support this functionality.

Cause: Some new functionality is not supported against older DB2 server versions.

Action: Execute the request against a DB2 server where the latest DB2 server version has been installed, or upgrade the server to the latest DB2 server version.



SQL1652N File I/O error occurred.

Cause: Error occurred either opening, reading, writing, or closing a file.

Action: Check the db2diag.log for details. Also, check for disk full conditions, file permissions, and operating system errors.



SQL1653N An invalid profile path was specified.

Cause: A full path to a file where server information should be generated must be specified.

Action: Ensure that the profile path specified is correct and not null.



SQL1654N An instance path error was encountered.

Cause: The instance path could not be returned.

Action: Check that the DB2INSTANCE path was specified correctly. Check that the complete path length specified is not approaching the maximum supported by the operating system.



SQL1660N The Generator at the server, which is used by Discovery to gather server information, has failed.

Cause: A server system failure has occurred.

Action: Report the failure to your DB2 server administrator. More details of the failure can be found in the server's db2diag.log file.



SQL1670N The discover type specified in the DISCOVER database manager configuration parameter indicates discovery is disabled.

Cause: DISCOVER = DISABLE is configured in the database manager configuration file.

Action: If DISCOVER functionality is required, change the discover type to KNOWN or SEARCH.



SQL1671N The search discovery request failed. Check the db2diag.log for further details.

Cause: The search discovery request failed for one of the following reasons:

  1. Initialization failed (sqleCommonInitializationForAPIs)
  2. Failed to retrieve the client instance path (sqloinstancepath)
  3. Failed to open the output file (sqlofopn)
  4. Failed to write to output file (sqlofprt)
  5. Failed to get memory (sqlogmblk)
  6. Failed to retrieve database manager configuration (sqlfcsys)
  7. NetBIOS call failed
  8. DB2 internal system function failed (sqlogpid, sqlogmt)

Check the db2diag.log for details.

Action:

  1. If initialization fails, try re-booting the machine or re-installing the product.
  2. If there was an instance path failure, check the DB2INSTANCE value to ensure it is correctly set.
  3. If the open or write to file failed, check that you have access to open and write a file to the <sqllib path>\<instance>\tmp directory on Intel machines, or the <instance path>/sqllib/tmp directory on UNIX machines.
  4. If get memory failed, check the available memory on your machine.
  5. If retrieving the DBM configuration failed, try re-booting the machine or re-installing the product.
  6. If a NetBIOS call failed:
  7. If a DB2 internal system function failed, check that the operating system functions on your machine are functioning correctly.

DB2 Service can provide details about the error codes returned by the above functions and written to the db2diag.log.



SQL1673N The address list specified as input to the discover interface is invalid.

Cause: The application program used an invalid input address list pointer. The address list points to nothing.

Action: Ensure that a valid input address list pointer is specified in the application program, and that it is not null.



SQL1674N The server address specified as input to the discover interface is invalid.

Cause: The application program used an invalid input server address pointer. The server address points to nothing.

Action: Ensure that a valid input server address is specified in the application program, and that it is not null.



SQL1675N Discovery is only allowed against DB2 administration servers. The communications information provided does not access an administration server.

Cause: A KNOWN discovery request was issued against a DB2 server that is not a DB2 administration server. The communications information specified is not correct.

Action: Verify that DB2ADMINSERVER is set on the DB2 server instance you are accessing. This indicates that the server instance is a DB2 administration server. Retry the KNOWN discovery request with the correct communications information.




[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]