powered by simpleCommunicator - 2.0.60     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / IBM DB2, WebSphere, IMS, U2 [игнор отключен] [закрыт для гостей] / FP11 и II
5 сообщений из 5, страница 1 из 1
FP11 и II
    #33579447
Victor Metelitsa
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Кто работает с II, проверьте, пожалуйста, у себя. Я вижу две проблемы (или два места проблемы). Во-первых, глючащий Replication Center и во-вторых, проблемы собственно в II (возможно, "во-первых" тоже следствие "во-вторых").

Первое.

Replication Center->SQL Replication->Definitions->Capture Control Servers->(контекстное меню) Create Capture Control Servers->Custom.

Выбираю сервер DB2, щёлкаю галку напротив Use this federated DB2 server to capture on a non-DB2 server.
Non-DB2 server - один из Oracle.
Заполняю Capture Schema и Remote Schema Name.

Жму OK.

Получаю ASN1562E с User Response: Contact IBM Software Support.

После этого я создавал таблицы вручную, но не смог зарегистрировать никнеймы, получая тот же ASN1562E с другим сабкодом ошибки.

Если не "Use this federated DB2 server to capture on a non-DB2 server", то на вид всё нормально, но мне же надо достать данные из Oracle.

Я попробовал Sun'овский JRE 1.5 - ничего не поменялось, разве что интерфейс стал отрисовываться заметно медленнее (даже на Athlon64 2.4 гигагерца с Geforce6800GT весьма скверно).
...
Рейтинг: 0 / 0
FP11 и II
    #33579473
Victor Metelitsa
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
В db2diag.log пишутся сообщения вида
Код: plaintext
1.
2.
3.
4.
5.
6.
и  2006 - 02 - 26 - 20 . 51 . 40 . 437000 + 300  I10723H420         LEVEL: Error
PID     :  2260                  TID  :  1708         PROC : db2syscs.exe
INSTANCE: DB2                  NODE :  000          DB   : TICKPROC
APPHDL  :  0 - 26                  APPID: *LOCAL.DB2. 060226155140 
FUNCTION: DB2 UDB, access plan manager, sqlra_passthru_describe, probe: 20 
RETCODE : ZRC=0x80260160=- 2144992928 =SQLQG_ERROR "Error constant for 
gateway.

Второе - создание никнеймов. Некоторые никнеймы перестали создаваться, с сомнительными сообщениями об ошибках.

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
CREATE NICKNAME p2a.FLT_PAX_DOC FOR WASP.P2.FLT_PAX_DOC

DB21034E  The command was processed as an SQL statement because it was not a
valid Command Line Processor command.  During SQL processing it returned:
SQL0804N  The application program parameters for the current request are not
valid.  Reason code "".  If a host variable or SQLVAR in the SQLDA is 
invalid
then:  host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN = "", host
variable/SQLVAR type = "".  SQLSTATE= 07002 

(в db2diag.log ничего не пишется)

или
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
CREATE NICKNAME p2a.FLT_PAX_DOC FOR WASP.P2.FLT_PAX_DOC;
------------------------------------------------------------------------------
CREATE NICKNAME p2a.FLT_PAX_DOC FOR WASP.P2.FLT_PAX_DOC
DB21034E  The command was processed as an SQL statement because it was not a 
valid Command Line Processor command.  During SQL processing it returned:
SQL0804N  The application program parameters for the current request are not 
valid.  Reason code "".  If a host variable or SQLVAR in the SQLDA is invalid 
then:  host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN = "", host 
variable/SQLVAR type = "".  SQLSTATE= 07002 

SQL0804N  The application program parameters for the current request are not valid.  Reason code "7".  If a host variable or SQLVAR in the SQLDA is invalid then:  host variable/SQLVAR number = "1251", SQLTYPE = "VVM     ", SQLLEN = "TICKPROC", host variable/SQLVAR type = "QDB2/NT".

Explanation: 

An error occurred while processing the current request.  

o   The call parameter list, which is created by the precompiler, 
    may not be correct if the application programmer has modified 
    the output of the precompiler or over-written the call        
    parameter list in another way.  

o   The SQLDA or host variable(s) in the SQL statement are   
    invalid.  

o   The request being made is not supported or is out of 
    context.  

 

 Reason codes are interpreted as follows: 
 

  100  The request being made is not supported or is out of         
context.  

  101  SQLDA.SQLN is less than SQLDA.SQLD 

  102  SQLVAR.SQLTYPE is invalid.  

 Federated system users: A data type that you specified is not    
supported by either the federated server or the data source that  
you want to access.  

  103  The length specified in SQLVAR.SQLLEN or SQLVAR2.SQLLONGLEN  
is incorrect for the SQL type given in SQLVAR.SQLTYPE.  

  104  Doubling of the SQLVARs is expected, but the SQLDOUBLED      
field of SQLDA.SQLDAID is not set to '2'.  This may be required   
because of a large object type or a structured type.  

  105  A double-byte character Large Object has an odd value        
indicated by the SQLVAR2.SQLDATALEN pointer, which is always in   
terms of bytes, even for DBCLOBs.  

  106  The SQLDATA pointer is invalid or points to insufficient     
storage.  

  107  The SQLIND pointer is invalid or points to insufficient      
storage.  

  108  The SQLDATALEN pointer is invalid or points to insufficient  
storage.  

  109  A specific number of host variables/SQLVARS is expected for  
the current SQL statement.  

  110  The LOB locator is not associated with a LOB of a compatible 
type.  

  111  A LOB is indicated by the SQLTYPE of the SQLVAR, but the     
second SQLVAR is null.  

  112  The SQLDATATYPE NAME field is not valid. It does not conform 
to the format for identifying an existing user-defined type in    
the database.  The format for identifying an existing             
user-defined type is as follows:  8  bytes, followed by a period,   
followed by  18  bytes.  

  113  The SQLFLAG4 field is not valid. If a structured type is     
specified the value must be X'12'. If a reference type is         
specified the value must be X'01'. Otherwise the value must be    
X'00'.  

  114  The DB2_TRUSTED_BINDIN registry variable is enabled, and an  
unsupported host variable data type is being used during bindin.  
Either unset the DB2_TRUSTED_BINDIN registry variable or change   
the data type of the input host variable.  

 In SQL statements with host variables, use the host variable 
number to count in from the beginning of the statement (or 
substatement, in the case of compound SQL) to locate the invalid 
host variable.  For statements using an SQLDA, the SQLVAR number 
is used to locate the invalid SQLVAR.  For an input SQLDA, count 
only input host variables or SQLVARs; similarly for output.  Note 
that this number is based at  1 .  

 The statement cannot be processed.  

User Response: 

Examine the application program for any errors noted.  Note that 
the programmer should not attempt to modify the precompiler 
output.  

 Federated system users: If you received reason code  102 , specify 
a supported data type and resubmit the program.  

 sqlcode :  - 804  

 sqlstate :   07002  

Ни к селу, ни к городу.
...
Рейтинг: 0 / 0
FP11 и II
    #33579478
Victor Metelitsa
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Такое на двух машинах FP11. Я поставил на рабочую машину сервер с FP10 и не вижу подобных проблем.
...
Рейтинг: 0 / 0
FP11 и II
    #33579502
Victor Metelitsa
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
На FP11 большая часть никнеймов создаётся, и проблемы лишь с некоторыми. Мало того, никнейм на ораклиный WASP.P2.FLT_PAX_DOC в той же базу я уже создавал ранее, под другим именем, и (созданный до применения FP11) он работает и с СУБД FP11. В структуре упомянутой таблицы я криминала не вижу. Числа, строки, primary, foreign keys, несколько check constraints.
...
Рейтинг: 0 / 0
FP11 и II
    #33579504
Victor Metelitsa
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Oracle 8.1.7.4.10.
...
Рейтинг: 0 / 0
5 сообщений из 5, страница 1 из 1
Форумы / IBM DB2, WebSphere, IMS, U2 [игнор отключен] [закрыт для гостей] / FP11 и II
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]