473,387 Members | 1,897 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,387 software developers and data experts.

V8 migration - Control Center errors

Helpful folks,

I've just migrated our test server from V7.2 -FP11 to V8.1.3, on WinNT 4.0.
Everything went pretty darn smoothly, however I get the following errors
when using the Control Center:

Click on the 'Event Monitor' folder, and an error dialog box
appears containing the following text:

[IBM][CLI Driver][DB2/NT] SQL0713N The replacement value for
"CURRENT QUERY OPTIMIZATION" is invalid. SQLSTATE=42815
{SQLDriverConnect}

Explanation:

Either the value specified in the SET <special-register>
statement is not a valid value of the indicated special register,
or the value specified is NULL as a result of an indicator
variable.

The statement cannot be executed.

User Response:

Correct the replacement value and/or any indicator variables.
See the SQL Reference for an explanation of the valid values of
each special register.

sqlcode : -713

sqlstate : 42815

Also, if I right click on a database name and choose the
'Configure Parameters' menu selection, I get an error dialog containing:
The replacement value for "<special-register>" is

invalid.

Explanation:

Either the value specified in the
SET <special-register>
statement is not a valid value of the
indicated special register,
or the value specified is NULL as
a result of an indicator
variable.

The statement cannot be
executed.

User Response:

Correct the replacement value
and/or any indicator variables.
See the SQL Reference for an
explanation of the valid values of
each special register.
sqlcode : -713

sqlstate : 42815
These exact errors occur regardless of which of the 5 databases
in the instance I select.
Within the db2diag.log are these entries which I'm not sure are
relevant or not:

2004-01-09-10.14.22.261000 Instance:DB2 Node:000
PID:332(db2syscs.exe) TID:420 Appid:*LOCAL.DB2.003D49151420
database monitor sqm.start_evmon Probe:32 Database:WOETEST

DIA0001E An internal error occurred. Report the following error code :
"ZRC=0x840D000C".

2004-01-09-10.14.22.261001 Instance:DB2 Node:000
PID:332(db2syscs.exe) TID:420 Appid:*LOCAL.DB2.003D49151420
database monitor sqm.evmgr::log_ev_err Probe:1 Database:WOETEST

DiagData
0x3717CD00 : 0x840D000C

Disconcertingly, when I do a search on the DB2 tech support search page,
using 'SQL0713' as a search argument, I get no hits whatsoever.

Does anyone have any suggestions, insights, or links I could pursue?

Any feedback would be greatly appreciated,
Sean
Nov 12 '05 #1
4 4019
While the errors posted previously are still a problem, the task I was
trying to perform when they occured was to define a federated server.
I tried this using a script invoked locally on the server in a command
window, like so:

CREATE SERVER "CICTEST" TYPE DB2/NT VERSION 8.1.3 WRAPPER "DRDA"
AUTHORIZATION db2admin PASSWORD "----" OPTIONS ( NODE 'DBS6',DBNAME
'CICTEST' );

This produced the following error in the db2diag.log:

[IBM][CLI Driver] SQL30020N Execution failed because of a Distributed
Protocol Error that will affect the successful execution of subsequent
commands and SQL statements: Reason Code "0x124C". SQLSTATE=58009..
{SQLDriverConnect}

Nowhere on the DB2 website can I find an explanation for this reason
code, but I did find a reference in this newsgroup. It implied that
the communication data stream contained a syntax error. However, I get
no syntax error related to the CREATE command itself.

Would anyone have insight into this problem? This is preventing me
from testing a major aspect of our processing functionality on V8.

And, would anyone know why the value of my CURRENT QUERY OPTIMIZATION
special register seem to simply 'disappear' on an intermittant basis?

Any feedback would be appreciated,
Sean

db*****@yahoo.com (Sean C.) wrote in message news:<2f**************************@posting.google. com>...
Helpful folks,

I've just migrated our test server from V7.2 -FP11 to V8.1.3, on WinNT 4.0.
Everything went pretty darn smoothly, however I get the following errors
when using the Control Center:

Click on the 'Event Monitor' folder, and an error dialog box
appears containing the following text:

[IBM][CLI Driver][DB2/NT] SQL0713N The replacement value for
"CURRENT QUERY OPTIMIZATION" is invalid. SQLSTATE=42815
{SQLDriverConnect}

Explanation:

Either the value specified in the SET <special-register>
statement is not a valid value of the indicated special register,
or the value specified is NULL as a result of an indicator
variable.

The statement cannot be executed.

User Response:

Correct the replacement value and/or any indicator variables.
See the SQL Reference for an explanation of the valid values of
each special register.

sqlcode : -713

sqlstate : 42815

Also, if I right click on a database name and choose the
'Configure Parameters' menu selection, I get an error dialog containing:
The replacement value for "<special-register>" is

invalid.

Explanation:

Either the value specified in the
SET <special-register>
statement is not a valid value of the
indicated special register,
or the value specified is NULL as
a result of an indicator
variable.

The statement cannot be
executed.

User Response:

Correct the replacement value
and/or any indicator variables.
See the SQL Reference for an
explanation of the valid values of
each special register.
sqlcode : -713

sqlstate : 42815
These exact errors occur regardless of which of the 5 databases
in the instance I select.
Within the db2diag.log are these entries which I'm not sure are
relevant or not:

2004-01-09-10.14.22.261000 Instance:DB2 Node:000
PID:332(db2syscs.exe) TID:420 Appid:*LOCAL.DB2.003D49151420
database monitor sqm.start_evmon Probe:32 Database:WOETEST

DIA0001E An internal error occurred. Report the following error code :
"ZRC=0x840D000C".

2004-01-09-10.14.22.261001 Instance:DB2 Node:000
PID:332(db2syscs.exe) TID:420 Appid:*LOCAL.DB2.003D49151420
database monitor sqm.evmgr::log_ev_err Probe:1 Database:WOETEST

DiagData
0x3717CD00 : 0x840D000C

Disconcertingly, when I do a search on the DB2 tech support search page,
using 'SQL0713' as a search argument, I get no hits whatsoever.

Does anyone have any suggestions, insights, or links I could pursue?

Any feedback would be greatly appreciated,
Sean

Nov 12 '05 #2
A 30020 is a catch-all error when something in the DRDA datastream goes
bad...your best bet would be to contact service.

Sean C. wrote:
While the errors posted previously are still a problem, the task I was
trying to perform when they occured was to define a federated server.
I tried this using a script invoked locally on the server in a command
window, like so:

CREATE SERVER "CICTEST" TYPE DB2/NT VERSION 8.1.3 WRAPPER "DRDA"
AUTHORIZATION db2admin PASSWORD "----" OPTIONS ( NODE 'DBS6',DBNAME
'CICTEST' );

This produced the following error in the db2diag.log:

[IBM][CLI Driver] SQL30020N Execution failed because of a Distributed
Protocol Error that will affect the successful execution of subsequent
commands and SQL statements: Reason Code "0x124C". SQLSTATE=58009..
{SQLDriverConnect}

Nowhere on the DB2 website can I find an explanation for this reason
code, but I did find a reference in this newsgroup. It implied that
the communication data stream contained a syntax error. However, I get
no syntax error related to the CREATE command itself.

Would anyone have insight into this problem? This is preventing me
from testing a major aspect of our processing functionality on V8.

And, would anyone know why the value of my CURRENT QUERY OPTIMIZATION
special register seem to simply 'disappear' on an intermittant basis?

Any feedback would be appreciated,
Sean

db*****@yahoo.com (Sean C.) wrote in message news:<2f**************************@posting.google. com>...
Helpful folks,

I've just migrated our test server from V7.2 -FP11 to V8.1.3, on WinNT 4.0.
Everything went pretty darn smoothly, however I get the following errors
when using the Control Center:

Click on the 'Event Monitor' folder, and an error dialog box
appears containing the following text:

[IBM][CLI Driver][DB2/NT] SQL0713N The replacement value for
"CURRENT QUERY OPTIMIZATION" is invalid. SQLSTATE=42815
{SQLDriverConnect}

Explanation:

Either the value specified in the SET <special-register>
statement is not a valid value of the indicated special register,
or the value specified is NULL as a result of an indicator
variable.

The statement cannot be executed.

User Response:

Correct the replacement value and/or any indicator variables.
See the SQL Reference for an explanation of the valid values of
each special register.

sqlcode : -713

sqlstate : 42815

Also, if I right click on a database name and choose the
'Configure Parameters' menu selection, I get an error dialog containing:
The replacement value for "<special-register>" is

invalid.

Explanation:

Either the value specified in the
SET <special-register>
statement is not a valid value of the
indicated special register,
or the value specified is NULL as
a result of an indicator
variable.

The statement cannot be
executed.

User Response:

Correct the replacement value
and/or any indicator variables.
See the SQL Reference for an
explanation of the valid values of
each special register.
sqlcode : -713

sqlstate : 42815
These exact errors occur regardless of which of the 5 databases
in the instance I select.
Within the db2diag.log are these entries which I'm not sure are
relevant or not:

2004-01-09-10.14.22.261000 Instance:DB2 Node:000
PID:332(db2syscs.exe) TID:420 Appid:*LOCAL.DB2.003D49151420
database monitor sqm.start_evmon Probe:32 Database:WOETEST

DIA0001E An internal error occurred. Report the following error code :
"ZRC=0x840D000C".

2004-01-09-10.14.22.261001 Instance:DB2 Node:000
PID:332(db2syscs.exe) TID:420 Appid:*LOCAL.DB2.003D49151420
database monitor sqm.evmgr::log_ev_err Probe:1 Database:WOETEST

DiagData
0x3717CD00 : 0x840D000C

Disconcertingly, when I do a search on the DB2 tech support search page,
using 'SQL0713' as a search argument, I get no hits whatsoever.

Does anyone have any suggestions, insights, or links I could pursue?

Any feedback would be greatly appreciated,
Sean

Nov 12 '05 #3
On v8, you can trace the drda stream with the db2drdat tool.
You can also start db2cctrc to start the cc in trace mode.

Places i'd check :
db2set -all
db2cli.ini (possibly 2 locations / user / system)
tools setup/environment settings (in cc/dev center, ...)
db2diag.log
CURRENT EXPLAIN MODE, CURRENT EXPLAIN SNAPSHOT

apars search i've made (you may try with other keywords)
http://www-306.ibm.com/cgi-bin/db2ww...2&totalSize=10
JR18599 may relate. (could try it and try to output to null device?)
fixed in fp4 but there is also a fp4.a because of an hiper apar on fp4....
PM

"Sean C." <db*****@yahoo.com> a écrit dans le message de
news:2f**************************@posting.google.c om...
Helpful folks,

I've just migrated our test server from V7.2 -FP11 to V8.1.3, on WinNT 4.0. Everything went pretty darn smoothly, however I get the following errors
when using the Control Center:

Click on the 'Event Monitor' folder, and an error dialog box
appears containing the following text:

[IBM][CLI Driver][DB2/NT] SQL0713N The replacement value for
"CURRENT QUERY OPTIMIZATION" is invalid. SQLSTATE=42815
{SQLDriverConnect}

Explanation:

Either the value specified in the SET <special-register>
statement is not a valid value of the indicated special register,
or the value specified is NULL as a result of an indicator
variable.

The statement cannot be executed.

User Response:

Correct the replacement value and/or any indicator variables.
See the SQL Reference for an explanation of the valid values of
each special register.

sqlcode : -713

sqlstate : 42815

Also, if I right click on a database name and choose the
'Configure Parameters' menu selection, I get an error dialog containing:
The replacement value for "<special-register>" is

invalid.

Explanation:

Either the value specified in the
SET <special-register>
statement is not a valid value of the
indicated special register,
or the value specified is NULL as
a result of an indicator
variable.

The statement cannot be
executed.

User Response:

Correct the replacement value
and/or any indicator variables.
See the SQL Reference for an
explanation of the valid values of
each special register.
sqlcode : -713

sqlstate : 42815
These exact errors occur regardless of which of the 5 databases
in the instance I select.
Within the db2diag.log are these entries which I'm not sure are
relevant or not:

2004-01-09-10.14.22.261000 Instance:DB2 Node:000
PID:332(db2syscs.exe) TID:420 Appid:*LOCAL.DB2.003D49151420
database monitor sqm.start_evmon Probe:32 Database:WOETEST

DIA0001E An internal error occurred. Report the following error code :
"ZRC=0x840D000C".

2004-01-09-10.14.22.261001 Instance:DB2 Node:000
PID:332(db2syscs.exe) TID:420 Appid:*LOCAL.DB2.003D49151420
database monitor sqm.evmgr::log_ev_err Probe:1 Database:WOETEST

DiagData
0x3717CD00 : 0x840D000C

Disconcertingly, when I do a search on the DB2 tech support search page,
using 'SQL0713' as a search argument, I get no hits whatsoever.

Does anyone have any suggestions, insights, or links I could pursue?

Any feedback would be greatly appreciated,
Sean

Nov 12 '05 #4
Thanks guys, for the feedback. I wasn't aware of the DRDA tracing
tool, that's pretty handy. Although, in this case it didn't provide me
much more information than I had before. I finally found the problem,
and I'm posting this in case anyone else encounters it.
After reading that the CLI config parameter DB2OPTIMIZATION=5 should
invoke a 'SET CURRENT QUERY OPTIMIZATION 5' statement for you, behind
the scenes when you connect, I decided to turn on the cli TRACE flag
in my db2cli.ini file to see if it was actualy doing this. I then
attached, connected to the database and then terminated. I then went
to look in the trace file ... and it didn't exist. Multiple attempts
of setting the trace flag on and off still resulted in no trace file
being produced. In fact, no changes I made to the db2cli.ini file
appeared to be recognized by my connection attempts. I finally tracked
the problem down to the fact the OS (WinNT) PATH environment variable
had been hosed by the installation program of a vendor who shall
remain nameless, but eternally reviled. The way it was hosed was by
the install program pre-pending it's own directory path at the front
of the PATH variable, with an imbedded space in the path name, like
so:

%SystemRoot%\system32;%SystemRoot%;C:\Program
Files\Symantec\pcNowhere\;C:\PROGRA~1\SQLLIB\BIN;C :\PROGRA~1\SQLLIB\FUNCTION;C:\PROGRA~1\SQLLIB\SAMP LES\REPL

Everything after the space is unrecognized, so the SQLLIB and
SQLLIB\BIN directories where not included in the PATH variable.
Changing 'Program files' to 'PROGRA~1', and rebooting, did the trick.

"PM \(pm3iinc-nospam\)" <PM(pm3iinc-nospam)@sympatico.ca> wrote in message news:<Pp*******************@news20.bellglobal.com> ...
On v8, you can trace the drda stream with the db2drdat tool.
You can also start db2cctrc to start the cc in trace mode.

Places i'd check :
db2set -all
db2cli.ini (possibly 2 locations / user / system)
tools setup/environment settings (in cc/dev center, ...)
db2diag.log
CURRENT EXPLAIN MODE, CURRENT EXPLAIN SNAPSHOT

apars search i've made (you may try with other keywords)
http://www-306.ibm.com/cgi-bin/db2ww...2&totalSize=10
JR18599 may relate. (could try it and try to output to null device?)
fixed in fp4 but there is also a fp4.a because of an hiper apar on fp4....
PM

"Sean C." <db*****@yahoo.com> a écrit dans le message de
news:2f**************************@posting.google.c om...
Helpful folks,

I've just migrated our test server from V7.2 -FP11 to V8.1.3, on WinNT

4.0.
Everything went pretty darn smoothly, however I get the following errors
when using the Control Center:

Click on the 'Event Monitor' folder, and an error dialog box
appears containing the following text:

[IBM][CLI Driver][DB2/NT] SQL0713N The replacement value for
"CURRENT QUERY OPTIMIZATION" is invalid. SQLSTATE=42815
{SQLDriverConnect}

Explanation:

Either the value specified in the SET <special-register>
statement is not a valid value of the indicated special register,
or the value specified is NULL as a result of an indicator
variable.

The statement cannot be executed.

User Response:

Correct the replacement value and/or any indicator variables.
See the SQL Reference for an explanation of the valid values of
each special register.

sqlcode : -713

sqlstate : 42815

Also, if I right click on a database name and choose the
'Configure Parameters' menu selection, I get an error dialog containing:
The replacement value for "<special-register>" is

invalid.

Explanation:

Either the value specified in the
SET <special-register>
statement is not a valid value of the
indicated special register,
or the value specified is NULL as
a result of an indicator
variable.

The statement cannot be
executed.

User Response:

Correct the replacement value
and/or any indicator variables.
See the SQL Reference for an
explanation of the valid values of
each special register.
sqlcode : -713

sqlstate : 42815
These exact errors occur regardless of which of the 5 databases
in the instance I select.
Within the db2diag.log are these entries which I'm not sure are
relevant or not:

2004-01-09-10.14.22.261000 Instance:DB2 Node:000
PID:332(db2syscs.exe) TID:420 Appid:*LOCAL.DB2.003D49151420
database monitor sqm.start_evmon Probe:32 Database:WOETEST

DIA0001E An internal error occurred. Report the following error code :
"ZRC=0x840D000C".

2004-01-09-10.14.22.261001 Instance:DB2 Node:000
PID:332(db2syscs.exe) TID:420 Appid:*LOCAL.DB2.003D49151420
database monitor sqm.evmgr::log_ev_err Probe:1 Database:WOETEST

DiagData
0x3717CD00 : 0x840D000C

Disconcertingly, when I do a search on the DB2 tech support search page,
using 'SQL0713' as a search argument, I get no hits whatsoever.

Does anyone have any suggestions, insights, or links I could pursue?

Any feedback would be greatly appreciated,
Sean

Nov 12 '05 #5

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

Similar topics

4
by: susmita_ganguly | last post by:
Hi I am trying to upgrade from oracle 8i to oracle 9i on the same server ..I don't know much abt migration . Can anyone help me out. Thanks. Susmita
7
by: Dave | last post by:
We are trying to migrate a MS SQL server app to DB2 8.1 Linux platform. Our database has got about 300+tables with total size - 150 GB We are using MS SQL's BCP utility to extract data from...
1
by: Henry Reardon | last post by:
I'm having some migration problems. On Friday, I upgraded from DB2 7.2 (FP9) to DB2 8.2 (FP7), then applied Fixpack 8. I'm running Windows XP. My migrations did not work and I am trying to fix...
0
by: Henry Reardon | last post by:
I need some help with migration. As I mentioned in my previous post, I am having migration problems after updating DB2 7.2 to DB2 8.2 and then applying FP8. I am running on Windows XP. None...
11
by: Hoku | last post by:
I am using dual monitors on a dual head ATI AGP4x video card. I installed the Nov 11 2005 release of ATI's catalyst control center with Hydravision to manage the dual monitor setup. I recently...
1
by: Bonggoy Cruz | last post by:
We have a fairly big size ASP.NET web application that was written VB.NET. We are in the process converting the web project. We used the migration wizard included in VS 2005. I followed step by...
0
by: SenthilVel | last post by:
Hi All I have problems when i convert my 1.1 ASPX web application to 2.0 using VS2005. My web application gets compiled fine in CLR1.1 and there is no problem with that. When i do the...
3
by: Gert van der Kooij | last post by:
Hi, Our SQL Replication is between DB2 databases on Windows servers. I'm searching for the document which tells me how to migrate our SQL Replication environment from V8 to V9 (we also need to...
8
by: Tomasz J | last post by:
Hello developers, After migrating my web project application (using the old model) to .Net Framework 3.5 and Ajax Control Toolkit release 20820 the Accordion control no longer works correctly....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.