473,396 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Help with stored procedure execution....

This is a stored procedure that resides on Mainframe and gets executed on
the client by connecting to the mainframe through DB2 connect. It was
executing fine till yesterday when I executed a table change and
successfully Rebound the package associated with the stored procedure.
Since then, it is giving a strange problem. When the client executes the
program that calls the stored procedure SP1, the stored procedure does not
get executed *at all* and the control just returns back to the calling
program..no error message..nothing. The monitor on the mainframe (TMON),
for that execution just shows that a package SYSSTAT is being executed
(which I believe is a DB2 connect package); however SP1 (which should also
have been executed along with SYSSTAT package) is not shown to be executed
at all. There are no error messages in SPAS (we are not using WLM) or
MSTR. DB2DIAG.LOG on DB2 connect server shows the following error (which
we are not even sure is related to this instance of stored procedure
execution):

2004-12-11-17.14.32.047372 Instance:db2cm Node:000
PID:17544(db2agentg ()) TID:1 Appid:none
common communication sqlcctcpconnr Probe:110

DIA3202C The TCP/IP call "connect" returned an errno="146".

2004-12-17-08.22.27.096147 Instance:db2cm Node:000
PID:14519(db2agentg (DSNP )) TID:1
Appid:B49B0BDF.EE06.013846201710
DRDA Application Server sqljsTermAgentReply Probe:10

DIA5000C A DRDA AS token "AGENT TERMINATING" was detected. The diagnostic
data
returned is (SRVDGN): "SQLERRP:SQLJCMN SQLCODE:-30081".
ALERT :26

PID:14519 TID:1 Node:000 Title: SQLCA
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -30081 sqlerrml: 43
sqlerrmc: 32 * 0 TCP/IP SOCKETS 180.155.203.254 send
sqlerrp : SQLJCMN \2016
sqlerrd : (1) 0x81360012 (2) 0x00000012 (3) 0x00000000
(4) 0x00000000 (5) 0x00000000 (6) 0x00000000
sqlwarn : (1) (2) (3) (4) (5) (6)
(7) (8) (9) (10) (11)
sqlstate:
Any pointers would be greatly appreciated.

TIA
Raquel.

Nov 12 '05 #1
1 9686
Are you running DB2 Connect on Solaris by chance? According to the DB2
Messages and Codes manual, errno 146 occurs on Solaris and means
"Connection Refused". And SQLCODE -30081 indicates a comm error somewhere.

Check you TCP/IP and DB2 Comm-related settings on the DB2 Connect Server.

Larry Edelstein

Raquel wrote:
This is a stored procedure that resides on Mainframe and gets executed on
the client by connecting to the mainframe through DB2 connect. It was
executing fine till yesterday when I executed a table change and
successfully Rebound the package associated with the stored procedure.
Since then, it is giving a strange problem. When the client executes the
program that calls the stored procedure SP1, the stored procedure does not
get executed *at all* and the control just returns back to the calling
program..no error message..nothing. The monitor on the mainframe (TMON),
for that execution just shows that a package SYSSTAT is being executed
(which I believe is a DB2 connect package); however SP1 (which should also
have been executed along with SYSSTAT package) is not shown to be executed
at all. There are no error messages in SPAS (we are not using WLM) or
MSTR. DB2DIAG.LOG on DB2 connect server shows the following error (which
we are not even sure is related to this instance of stored procedure
execution):

2004-12-11-17.14.32.047372 Instance:db2cm Node:000
PID:17544(db2agentg ()) TID:1 Appid:none
common communication sqlcctcpconnr Probe:110

DIA3202C The TCP/IP call "connect" returned an errno="146".

2004-12-17-08.22.27.096147 Instance:db2cm Node:000
PID:14519(db2agentg (DSNP )) TID:1
Appid:B49B0BDF.EE06.013846201710
DRDA Application Server sqljsTermAgentReply Probe:10

DIA5000C A DRDA AS token "AGENT TERMINATING" was detected. The diagnostic
data
returned is (SRVDGN): "SQLERRP:SQLJCMN SQLCODE:-30081".
ALERT :26

PID:14519 TID:1 Node:000 Title: SQLCA
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -30081 sqlerrml: 43
sqlerrmc: 32 * 0 TCP/IP SOCKETS 180.155.203.254 send
sqlerrp : SQLJCMN \2016
sqlerrd : (1) 0x81360012 (2) 0x00000012 (3) 0x00000000
(4) 0x00000000 (5) 0x00000000 (6) 0x00000000
sqlwarn : (1) (2) (3) (4) (5) (6)
(7) (8) (9) (10) (11)
sqlstate:
Any pointers would be greatly appreciated.

TIA
Raquel.


Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: martin_rendell | last post by:
A stored procedure was running slowly so I took the code, removed the subselect and included a join, then took the max and included as part of a correlated subquery. The result is below,...
2
by: mike | last post by:
H There are two ways to execute a stored procedure using ADO.NE - call "exec sp_myproc val1,val2" statement over SqlCommand myCommand = new SqlCommand(SQLQuery, mySqlConnection) - use...
2
by: Dino L. | last post by:
How can I run stored procedure (MSSQL) ?
45
by: John | last post by:
Hi When developing vb.bet winform apps bound to sql server datasource, is it preferable to use SELECTs or stored procedure to read and write data from/to SQL Server? Why? Thanks Regards
3
by: comp_databases_ms-sqlserver | last post by:
This post is related to SQL server 2000 and SQL Server 2005 all editions. Many of my stored procedures create temporary tables in the code. I want to find a way to find the query plan for these...
4
by: TheRealPawn | last post by:
I'm trying to get the execution plan for a single stored procedure from Profiler. Now, I've isolated the procedure but I get all execution plans. Any ideas on how to connect the SPIDs so that I...
3
by: yinzara | last post by:
I have the following trigger that calls a DB2 stored procedure: DROP TRIGGER GGWU.TRI_A_MULTI_PROP@ CREATE TRIGGER GGWU.TRI_A_MULTI_PROP AFTER INSERT ON GGWU.MULTIPLIER_PROPERTY REFERENCING ...
1
by: codefragment | last post by:
Hi I've heard 2 things recently, can I confirm if their true/false? (1) If you have a stored procedure and you want to optimise it you can call exec proc1, you could also use define/set for...
0
by: SOI_0152 | last post by:
Hi all! Happy New Year 2008. Il hope it will bring you love and happyness I'm new on this forum. I wrote a stored procedure on mainframe using DB2 7.1.1 and IBM language c. Everything works...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.