DB2/400 OleDb connectivity basic problem
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
DB2/400 OleDb connectivity basic problem

 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server
Author Message
EdgarSanchez
Guest





Posted: Tue Jul 19, 2005 12:51 am    Post subject: DB2/400 OleDb connectivity basic problem Reply with quote

This very basic connectivity problem is driving me crazy, I installed the HIS
2004 client on my machine, then I used the Data Source wizard to create a new
data source, then in the validation window of the wizard I tried the Connect
button and got:

Successfully connected to data source 'New Data Source'.
Server class: DB2/400
Server version: 05.01.0000

So far so good, then I tried the Packages button and got:

Connected to data source 'New Data Source'.
AUTOCOMMITTED package has been created.
READ COMMITTED package has been created.
READ UNCOMMITTED package has been created.
SERIALIZABLE package has been created.
REPEATABLE READ package has been created.
The package creation process has completed successfully.

Great, then I finally tried the Sample Query button and got:

Could not connect to data source 'New Data Source':
One or more errors occurred during processing of command.
SQL error occurred. SQLSTATE: HY000, SQLCODE: -372

After trying many configuration variations, I started the SNA Trace and
found this problem (only relevant part of the Trace shown):

Allocating SqlStatement: 71858168
112 1968 3188 826
DRDAAllocHandle requester.cpp 07/18/2005 18:13:15:468
0x00000000
SetSqlState: 1 --> 2
101 1968 3188 396
DRDAExecDirect sqlstatement.cpp07/18/2005 18:13:15:468
0x00000000
Preparing SQL Select Statement: SELECT '' as TABLE_QUALIFIER, VARCHAR (RTRIM
(TABLE_SCHEMA), 128) as TABLE_OWNER, VARCHAR (RTRIM (TABLE_NAME), 128) as
TABLE_NAME, VARCHAR (RTRIM (TABLE_TYPE), 128) as TABLE_TYPE, VARCHAR
(TABLE_TEXT, 51) as REMARKS, CASE WHEN TABLE_TYPE = 'A' THEN 1 WH370
1968 3188 32 DRDAExecDirect
sqlselectcontrol.cpp07/18/2005 18:13:15:468 0x00000000
DDM
-----------------------------------------------------------------------
157 1968 3188 598
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468 0x00000000

DDM Send: Length = 99
103 1968 3188 600
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468
0x00000000
DDM 0063200D 00162110 E2F1F0F1 F8C1F6D9 40404040 40404040 40400044
2113E2F1 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM F0F1F8C1 F6D94040 40404040 40404040 C3C7D3D6 C7C9C340 40404040
40404040 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 4040D4E2 D5C3F0F0 F1404040 40404040 40404040 F5F0F0F0 F0F0F0F1
00010005 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 2116F1
100 1968 3188 655
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468
0x00000000
DDM
-----------------------------------------------------------------------
157 1968 3188 598
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468 0x00000000

DDM Send: Length = 551
104 1968 3188 600
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468
0x00000000
DDM 02272414 0000021F E2C5D3C5 C3E3407D 7D4081A2 40E3C1C2 D3C56DD8
E4C1D3C9 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C6C9C5D9 6B40E5C1 D9C3C8C1 D9404DD9 E3D9C9D4 404DE3C1 C2D3C56D
E2C3C8C5 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM D4C15D6B 40F1F2F8 5D4081A2 40E3C1C2 D3C56DD6 E6D5C5D9 6B40E5C1
D9C3C8C1 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM D9404DD9 E3D9C9D4 404DE3C1 C2D3C56D D5C1D4C5 5D6B40F1 F2F85D40
81A240E3 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C1C2D3C5 6DD5C1D4 C56B40E5 C1D9C3C8 C1D9404D D9E3D9C9 D4404DE3
C1C2D3C5 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 6DE3E8D7 C55D6B40 F1F2F85D 4081A240 E3C1C2D3 C56DE3E8 D7C56B40
E5C1D9C3 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C8C1D940 4DE3C1C2 D3C56DE3 C5E7E36B 40F5F15D 4081A240 D9C5D4C1
D9D2E26B 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 40C3C1E2 C540E6C8 C5D540E3 C1C2D3C5 6DE3E8D7 C5407E40 7DC17D40
E3C8C5D5 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 40F140E6 C8C5D540 E3C1C2D3 C56DE3E8 D7C540C9 D5404D7D D77D6B40
7DE37D5D 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 40E3C8C5 D540F240 E6C8C5D5 40E3C1C2 D3C56DE3 E8D7C540 C9D5404D
7DD37D6B 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 407DE57D 5D40E3C8 C5D540F3 40C5D3E2 C540F440 C5D5C440 C1E240E2
D6D9E3D6 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM D9C4C5D9 6B40E5C1 D9C3C8C1 D9404DD9 E3D9C9D4 404DC2C1 E2C56DE3
C1C2D3C5 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 6DE2C3C8 C5D4C15D 6B40F1F2 F85D6B40 E5C1D9C3 C8C1D940 4DD9E3D9
C9D4404D 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C2C1E2C5 6DE3C1C2 D3C56DD5 C1D4C55D 6B40F1F2 F85D40C6 D9D6D440
C3C7D3D6 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C7C9C34B E2E8E2E3 C1C2D3C5 E240E6C8 C5D9C540 E3C1C2D3 C56DE2C3
C8C5D4C1 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 407E407D C3C7D3D6 C7C9C37D 40D6D9C4 C5D940C2 E840E2D6 D9E3D6D9
C4C5D96B 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 40E3C1C2 D3C56DD6 E6D5C5D9 6B40E3C1 C2D3C56D D5C1D4C5 40C6D6D9
40C6C5E3 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C3C840D6 D5D3E8
108 1968 3188 655
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468
0x00000000
DDM
-----------------------------------------------------------------------
157 1968 3188 598
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:921 0x00000000

DDM Receive: Length = 32
106 1968 3188 600
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:921
0x00000000
DDM 00202213 00061149 00080016 2110E2F1 F0F1F8C1 F6D94040 40404040
40404040 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:921 0x00000000
DDM
-----------------------------------------------------------------------
157 1968 3188 598
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:921 0x00000000

DDM Receive: Length = 103
107 1968 3188 600
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:921
0x00000000
DDM 00672408 00FFFFFF 34F4F2F7 F0F4D8E2 D8D9C3C8 D24000E2 F1F0F1F8
C1F6D940 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:921 0x00000000
DDM 40404040 40404040 40000000 00000000 00000000 00000000 00000001
B5000000 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:921 0x00000000
DDM 00404040 40404040 40404040 00000017 C3C7D3D6 C7C9C34B E2E8E2E3
C1C2D3C5 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:921 0x00000000
DDM E2FFE3C1 C2D3C5
108 1968 3188 655
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:921
0x00000000
DRDA AR message: Name: SQLERRRM, Severity: Error, Diagnostic: , Database:
S1018A6R 161 1968 3188 48
DRDAExecDirect messagesync.h 07/18/2005 18:13:15:921
0x00000000

It seems like when trying to list the tables in the catalog I'm getting some
sort of error (I've used several users, QSECOFR included). So, anybody can
point me to a way of solving this problem?

Thanks in advance,

Edgar Sánchez
Microsoft Regional Director for Ecuador
Logic Studio
Back to top
Charles Ezzell (MSFT)
Guest





Posted: Fri Jul 22, 2005 12:51 pm    Post subject: Re: DB2/400 OleDb connectivity basic problem Reply with quote

Edgar,

A quick test (at least for AS/400's) is to actually log into the AS/400 with
the userID and password you are using in the UDL see if you can view things
properly, and make a change. If this works successfully, then open a case
with PSS and be ready to provide the traces. We will need to see internal +
message traces, so if you only did one set, please retrace.

Oh - and we'll need to see the UDL also.

Thanks,
Charles

"EdgarSanchez" <EdgarSanchez@discussions.microsoft.com> wrote in message
news:FCB0FCCE-235F-497A-8EAE-0BDC35DEC196@microsoft.com...
Quote:
This very basic connectivity problem is driving me crazy, I installed the
HIS
2004 client on my machine, then I used the Data Source wizard to create a
new
data source, then in the validation window of the wizard I tried the
Connect
button and got:

Successfully connected to data source 'New Data Source'.
Server class: DB2/400
Server version: 05.01.0000

So far so good, then I tried the Packages button and got:

Connected to data source 'New Data Source'.
AUTOCOMMITTED package has been created.
READ COMMITTED package has been created.
READ UNCOMMITTED package has been created.
SERIALIZABLE package has been created.
REPEATABLE READ package has been created.
The package creation process has completed successfully.

Great, then I finally tried the Sample Query button and got:

Could not connect to data source 'New Data Source':
One or more errors occurred during processing of command.
SQL error occurred. SQLSTATE: HY000, SQLCODE: -372

After trying many configuration variations, I started the SNA Trace and
found this problem (only relevant part of the Trace shown):

Allocating SqlStatement: 71858168
112 1968 3188 826
DRDAAllocHandle requester.cpp 07/18/2005 18:13:15:468
0x00000000
SetSqlState: 1 --> 2
101 1968 3188 396
DRDAExecDirect sqlstatement.cpp07/18/2005 18:13:15:468
0x00000000
Preparing SQL Select Statement: SELECT '' as TABLE_QUALIFIER, VARCHAR
(RTRIM
(TABLE_SCHEMA), 128) as TABLE_OWNER, VARCHAR (RTRIM (TABLE_NAME), 128) as
TABLE_NAME, VARCHAR (RTRIM (TABLE_TYPE), 128) as TABLE_TYPE, VARCHAR
(TABLE_TEXT, 51) as REMARKS, CASE WHEN TABLE_TYPE = 'A' THEN 1 WH370
1968 3188 32 DRDAExecDirect
sqlselectcontrol.cpp07/18/2005 18:13:15:468 0x00000000
DDM
-----------------------------------------------------------------------
157 1968 3188 598
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468
0x00000000

DDM Send: Length = 99
103 1968 3188 600
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468
0x00000000
DDM 0063200D 00162110 E2F1F0F1 F8C1F6D9 40404040 40404040 40400044
2113E2F1 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM F0F1F8C1 F6D94040 40404040 40404040 C3C7D3D6 C7C9C340 40404040
40404040 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 4040D4E2 D5C3F0F0 F1404040 40404040 40404040 F5F0F0F0 F0F0F0F1
00010005 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 2116F1
100 1968 3188 655
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468
0x00000000
DDM
-----------------------------------------------------------------------
157 1968 3188 598
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468
0x00000000

DDM Send: Length = 551
104 1968 3188 600
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468
0x00000000
DDM 02272414 0000021F E2C5D3C5 C3E3407D 7D4081A2 40E3C1C2 D3C56DD8
E4C1D3C9 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C6C9C5D9 6B40E5C1 D9C3C8C1 D9404DD9 E3D9C9D4 404DE3C1 C2D3C56D
E2C3C8C5 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM D4C15D6B 40F1F2F8 5D4081A2 40E3C1C2 D3C56DD6 E6D5C5D9 6B40E5C1
D9C3C8C1 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM D9404DD9 E3D9C9D4 404DE3C1 C2D3C56D D5C1D4C5 5D6B40F1 F2F85D40
81A240E3 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C1C2D3C5 6DD5C1D4 C56B40E5 C1D9C3C8 C1D9404D D9E3D9C9 D4404DE3
C1C2D3C5 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 6DE3E8D7 C55D6B40 F1F2F85D 4081A240 E3C1C2D3 C56DE3E8 D7C56B40
E5C1D9C3 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C8C1D940 4DE3C1C2 D3C56DE3 C5E7E36B 40F5F15D 4081A240 D9C5D4C1
D9D2E26B 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 40C3C1E2 C540E6C8 C5D540E3 C1C2D3C5 6DE3E8D7 C5407E40 7DC17D40
E3C8C5D5 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 40F140E6 C8C5D540 E3C1C2D3 C56DE3E8 D7C540C9 D5404D7D D77D6B40
7DE37D5D 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 40E3C8C5 D540F240 E6C8C5D5 40E3C1C2 D3C56DE3 E8D7C540 C9D5404D
7DD37D6B 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 407DE57D 5D40E3C8 C5D540F3 40C5D3E2 C540F440 C5D5C440 C1E240E2
D6D9E3D6 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM D9C4C5D9 6B40E5C1 D9C3C8C1 D9404DD9 E3D9C9D4 404DC2C1 E2C56DE3
C1C2D3C5 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 6DE2C3C8 C5D4C15D 6B40F1F2 F85D6B40 E5C1D9C3 C8C1D940 4DD9E3D9
C9D4404D 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C2C1E2C5 6DE3C1C2 D3C56DD5 C1D4C55D 6B40F1F2 F85D40C6 D9D6D440
C3C7D3D6 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C7C9C34B E2E8E2E3 C1C2D3C5 E240E6C8 C5D9C540 E3C1C2D3 C56DE2C3
C8C5D4C1 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 407E407D C3C7D3D6 C7C9C37D 40D6D9C4 C5D940C2 E840E2D6 D9E3D6D9
C4C5D96B 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM 40E3C1C2 D3C56DD6 E6D5C5D9 6B40E3C1 C2D3C56D D5C1D4C5 40C6D6D9
40C6C5E3 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:468 0x00000000
DDM C3C840D6 D5D3E8
108 1968 3188 655
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:468
0x00000000
DDM
-----------------------------------------------------------------------
157 1968 3188 598
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:921
0x00000000

DDM Receive: Length = 32
106 1968 3188 600
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:921
0x00000000
DDM 00202213 00061149 00080016 2110E2F1 F0F1F8C1 F6D94040 40404040
40404040 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:921 0x00000000
DDM
-----------------------------------------------------------------------
157 1968 3188 598
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:921
0x00000000

DDM Receive: Length = 103
107 1968 3188 600
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:921
0x00000000
DDM 00672408 00FFFFFF 34F4F2F7 F0F4D8E2 D8D9C3C8 D24000E2 F1F0F1F8
C1F6D940 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:921 0x00000000
DDM 40404040 40404040 40000000 00000000 00000000 00000000 00000001
B5000000 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:921 0x00000000
DDM 00404040 40404040 40404040 00000017 C3C7D3D6 C7C9C34B E2E8E2E3
C1C2D3C5 158 1968 3188
655 DRDAExecDirect commmanager.cpp 07/18/2005
18:13:15:921 0x00000000
DDM E2FFE3C1 C2D3C5
108 1968 3188 655
DRDAExecDirect commmanager.cpp 07/18/2005 18:13:15:921
0x00000000
DRDA AR message: Name: SQLERRRM, Severity: Error, Diagnostic: , Database:
S1018A6R 161 1968 3188
48
DRDAExecDirect messagesync.h 07/18/2005 18:13:15:921
0x00000000

It seems like when trying to list the tables in the catalog I'm getting
some
sort of error (I've used several users, QSECOFR included). So, anybody can
point me to a way of solving this problem?

Thanks in advance,

Edgar Sánchez
Microsoft Regional Director for Ecuador
Logic Studio
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB