Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
ошибка CLI0002W
|
|||
|---|---|---|---|
|
#18+
Извините за вопрос из раздела для чайников. При попытке открытия таблицы в Access возникает следующая ошибка: "[IBM][CLI Driver]CLI0002W Данные усечены. SQLSTATE=01004(#-99999)[Microsoft][ODBC Driver Manager]Memory Allocation failure(#0)" Причем проблема возникает при попытке подключения с одного компьютера, с других - все ок. Сравнивал настройки клиентов DB2, все одинаково.В чем все таки проблема? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.11.2005, 07:36 |
|
||
|
ошибка CLI0002W
|
|||
|---|---|---|---|
|
#18+
gv@mars Wed 16 Nov 17:50 [~] > db2 \? CLI0002W CLI0002W Data truncated. Explanation: An output buffer specified is not large enough to contain the data. User Response: Increase the size of the output buffer. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.11.2005, 17:50 |
|
||
|
ошибка CLI0002W
|
|||
|---|---|---|---|
|
#18+
ggvgv@mars Wed 16 Nov 17:50 [~] > db2 \? CLI0002W CLI0002W Data truncated. Explanation: An output buffer specified is not large enough to contain the data. User Response: Increase the size of the output buffer. Это то я нашел в самом начале.Если я прав, то через центр управления необходимо увеличить размер пула буферов, но у меня не достаточно привилегий для этого. Или подразумевается что-то другое? Настройки клиентов одинаковы на всех машинах,но на одной возникает такая ерунда. Может ли это быть связано с настройками конкретной среды? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.11.2005, 06:25 |
|
||
|
ошибка CLI0002W
|
|||
|---|---|---|---|
|
#18+
bufferpool явно ни при чем. При выполнении запроса было забиндена (http://publib.boulder.ibm.com/infocenter/db2help/topic/com.ibm.db2.udb.doc/ad/r0000558.htm) переменная, буфер которой, или размер которой, не может вместить возвращаемое значение. обрати внимание на эти абзацы The application must ensure enough storage is allocated for the data to be retrieved. If the buffer is to contain variable length data, the application must allocate as much storage as the maximum length of the bound column plus the NULL terminator. Otherwise, the data may be truncated. If the buffer is to contain fixed length data, DB2 CLI assumes the size of the buffer is the length of the C data type. If data conversion is specified, the required size may be affected. If string truncation does occur, SQL_SUCCESS_WITH_INFO is returned and StrLen_or_IndPtr will be set to the actual size of TargetValuePtr available for return to the application. Truncation is also affected by the SQL_ATTR_MAX_LENGTH statement attribute (used to limit the amount of data returned to the application). The application can specify not to report truncation by calling SQLSetStmtAttr() with SQL_ATTR_MAX_LENGTH and a value for the maximum length to return for all variable length columns, and by allocating a TargetValuePtr buffer of the same size (plus the null-terminator). If the column data is larger than the set maximum length, SQL_SUCCESS will be returned when the value is fetched and the maximum length, not the actual length, will be returned in StrLen_or_IndPtr. Но с другой стороны, я понятия не имею, чего надо делать в аксесе, чтобы это устранить. Да и вообще, может это и не о том все. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.11.2005, 10:59 |
|
||
|
|

start [/forum/topic.php?fid=43&fpage=140&tid=1605677]: |
0ms |
get settings: |
7ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
42ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
21ms |
get tp. blocked users: |
1ms |
| others: | 235ms |
| total: | 329ms |

| 0 / 0 |
