Hitachi

Hitachi Advanced Database Messages


KFAA31306-E

The number a argument in the CLI function "bb....bb" is invalid.(number = cc....cc, reason = dd....dd) (M+J+O)

The ath argument of CLI function bb....bb is invalid. <SQLSTATE: 54001>

a:

Order number of argument

bb....bb:

CLI function

cc....cc:

Specification sequence of ColumnInfo or ParameterInfo

dd....dd:

Cause of the error

S:

Ignores this SQL statement.

Action:

The following table shows the corrective action to take:

Value of a

Value of bb....bb

Value of cc....cc

Value of dd....dd

Corrective action to take

3

a_rdb_SQLBindArrayParams

0

ARRAY COUNT

The value specified in the argument ArrayCount is invalid. Specify a value of 1 or higher.

4

a_rdb_SQLBindArrayParams

0

PARAMETER COUNT

The value specified in the argument ParameterCount is invalid. Specify the number of dynamic parameters acquired with a_rdb_SQLNumParams().

5

a_rdb_SQLBindArrayParams

0 or more

PARAMETER INFO

  • If the value of cc....cc is 0, the address specified in the argument ParameterInfo is invalid.

  • If the value of cc....cc is 1 or more, the address specified in the cc....ccth place of the address array specified in the argument ParameterInfo is invalid.

In either case, specify a correct address.

5

a_rdb_SQLBindArrayParams

0 or more

PARAMETER VALUE

The address of a member of ParameterValue in one of the following ParameterInfo structures is invalid:

  • Array number of a ParameterInfo structure that includes the invalid ParameterValue:

    Value of cc....cc divided by the argument ParameterCount

  • Position of a ParameterInfo structure that includes the invalid ParameterValue:

    Remainder of cc....cc divided by the argument ParameterCount + 1

If a value other than the one specified in a_rdb_SQL_NULL_DATA was specified in the member Ind of the ParameterInfo structure, specify a valid address.

3

a_rdb_SQLBindCols

0

COLUMN COUNT

The value set is different from the column count returned by a_rdb_SQLNumResultCols(). Set the same value.

4

a_rdb_SQLBindCols

0

COLUMN INFO

The address specified in the argument ColumnInfo is invalid. Set the correct address.

4

a_rdb_SQLBindCols

1 or more

BUFFER LENGTH

The value of member BufferLength of the ColumnInfo structure specified in the cc....ccth position does not match the column length of the cc....ccth column found by the search. Guided by the column information returned by a_rdb_SQLDescribeCols(), set a valid value.

4

a_rdb_SQLBindCols

1 or more

TARGET VALUE

The address of member TargetValue of the ColumnInfo structure specified in the cc....ccth position is invalid. Set the correct address.

3

a_rdb_SQLBindParams

0

PARAMETER COUNT

The value set is different from the parameter count returned by a_rdb_SQLNumParams(). Set the same value.

4

a_rdb_SQLBindParams

0

PARAMETER INFO

The address specified in the argument ParameterInfo is invalid. Set the correct address.

4

a_rdb_SQLBindParams

1 or more

PARAMETER VALUE

The address of member ParameterValue of the ParameterInfo structure specified in the cc....ccth position is invalid. If a value other than a_rdb_SQL_NULL_DATA was set in the member Ind of the ParameterInfo structure, set a valid address.

3

a_rdb_SQLDescribeCols

0

COLUMN COUNT

The value set is different from the column count returned by a_rdb_SQLNumResultCols(). Set the same value.

4

a_rdb_SQLDescribeCols

0

COLUMN INFO

The address specified in the argument ColumnInfo is invalid. Set the correct address.

4

a_rdb_SQLDescribeCols

1 or more

NAME BUFFER LENGTH

The value of BufferLength in the ColumnNameInfo structure indicated by member NameInfo of the ColumnInfo structure specified in the cc....ccth position is too small. Increase the value.

4

a_rdb_SQLDescribeCols

1 or more

NAME

The address specified in Name in the ColumnNameInfo structure indicated by member NameInfo of the ColumnInfo structure specified in the cc....ccth position is invalid. Set the correct address.

3

a_rdb_SQLDescribeParams

0

PARAMETER COUNT

The value set is different from the parameter count returned by a_rdb_SQLNumParams(). Set the same value.

4

a_rdb_SQLDescribeParams

0

PARAMETER INFO

The address specified in the argument ParameterInfo is invalid. Set the correct address.

3

a_rdb_SQLNumResultCols

0

COLUMN COUNT

The address specified in the argument ColumnCount is invalid. Set the correct address.

3

a_rdb_SQLNumParams

0

PARAMETER COUNT

The address specified in the argument ParameterCount is invalid. Set the correct address.