Issue:
Runtime error DBIF_RSQL_INVALID_RSQL occurs.
The error analysis shows: Possible error causes:
1. The maximum size of an SQL statement was exceeded.
2. The statement contains too many input variables.
3. The input data requires more space than is available.
The developer trace file shows:
B *** ERROR => dbtran (prepare_bulk_cond): FOR ALL ENTRIES statement on table '
The value of "values_sz" is 44892. This is greater than value 40960 of "buffersize".
Possible errors.
DBIF_RSQL_INVALID_RSQL, FOR ALL ENTRIES, FAE, complex, 40960, MAX_ARRAY_BUF_SIZE
Reason and Prerequisites:
DBSL parameter MAX_ARRAY_BUF_SIZE (the maximum size of the input/output buffer for array operations) for SQL Server has the value of 40960.
Resolution:
A new DBSL patch has been provided where this value can be increased by setting profile parameter dbs/mss/array_buf_size. The parameter is specified in bytes. It is recommended to set it to a multiple of 40960.
Note: This parameter is now available in all kernel versions 7.00 and higher.
more details SAP KBA: 1414232
EmoticonEmoticon
Note: only a member of this blog may post a comment.