473,396 Members | 1,966 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.

Urgent - OS scripts fails in Task Center with fixpack 10

After applying fixpack 10 on DB2 UDB ESE 8.1 (on Windows) all of our OS
scripts fails. The command which fails is:

db2 -svtf scriptfile.udb -z scriptfile.log

The error message is 'DB21061E Command line environment not initialized.'

We have a lot of scripts using this syntax and it is very urgent for us to
have this solved.....
Regards
Odd Bjorn Andersen
ErgoGroup As,
Oslo, Norway
Nov 12 '05 #1
6 2964
start db2cmd, may be windows lost link to this file.

Nov 12 '05 #2
There is no problem starting db2cmd. And running db2 commands from command
window also works fine.

:-) Odd Bjorn

"bughunter@ru" <a.********@gmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
start db2cmd, may be windows lost link to this file.

Nov 12 '05 #3
"Odd Bjørn Andersen" <od**********@ergo.no> wrote in message
news:11***************@makrell.interpost.no...
After applying fixpack 10 on DB2 UDB ESE 8.1 (on Windows) all of our OS
scripts fails. The command which fails is:

db2 -svtf scriptfile.udb -z scriptfile.log

The error message is 'DB21061E Command line environment not initialized.'

We have a lot of scripts using this syntax and it is very urgent for us to
have this solved.....
Regards
Odd Bjorn Andersen
ErgoGroup As,
Oslo, Norway

Try it without the "-s" and see if it works. If the "-s" is the problem,
then open a problem with IBM support and report it here.
Nov 12 '05 #4
Sounds suspiciously like this error is DOS based and not from a CLP
window.

Nov 12 '05 #5
Running db2 from the command line without first initializing the
environment will produce that error. The command window sets up the
environment itself, and can be seen by looking at the shortcut in the
start menu. Ultimately, it runs db2cmd which sets up the enviroment,
and then runs the other commands. Though, the command can be on the
same line.

db2cmd db2

Or the way it does it: db2cmd "db2clpsetcp db2"

B.

Nov 12 '05 #6
This is scripts that worked ok with db2 udb ese v 8.2.2, but when applying
fixpack this started to fail. There have been no changes to the scripts.

Regards
Odd Bjørn

"Brian Tkatch" <Ma***********@ThePentagon.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Running db2 from the command line without first initializing the
environment will produce that error. The command window sets up the
environment itself, and can be seen by looking at the shortcut in the
start menu. Ultimately, it runs db2cmd which sets up the enviroment,
and then runs the other commands. Though, the command can be on the
same line.

db2cmd db2

Or the way it does it: db2cmd "db2clpsetcp db2"

B.

Nov 12 '05 #7

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

Similar topics

1
by: Odd Bjørn Andersen | last post by:
After applying fixpack 10a on Db2 version 7.2 (on Windows NT 4.0), I am not able to run any scripts from the script center. I have tried to drop and create the Administration Server but the problem...
3
by: GB | last post by:
After having established a connection to my local db using tcp/ip I run a simple select request. I allways get following error when using the interactive tab in the command center: "DBA2192...
1
by: M. Krafick | last post by:
I just took over a v8.1 database that is at Fixpack 2. I know that need to apply a later fixpack, probably FP6. My question is how does this affect Data Warehouse Center? I have heard that if...
2
by: Odd Bjørn Andersen | last post by:
I upgraded my workstation (Windows XP Professional) DB2 UDB ESE version 8.1 fixpack 8 to fixpack 9. After the upgrade I'm not able to start the Information Center, nor start the General Help from...
1
by: Norm | last post by:
Situation: New server running Win2k3 with Active Directory. DB2 scripts run fine in Task Center. Windows (OS) command scripts do not complete on their own. db2admin stop/start finishes the...
0
by: vbace2 | last post by:
DB2 9.1 fixpak 2 on Windows I am trying to set up a task in the task center that will run on a daily basis to check for an "issue". To find this "issue", I run a select statement that brings back...
0
by: SimoneB | last post by:
I'm trying to install eClient v 8.3 but during configuration Web application server i get the error: "the configuration of eclient failed while creating the web aplication server....
2
by: itsvineeth209 | last post by:
My task is to create login control without using login control in tools. I shouldnt use sqldatasource or any other. I should use only data sets, data adapters and data readers etc. U had created...
1
by: =?Utf-8?B?U3ludGF4IDM3NzA3?= | last post by:
I have found lots of people talking about this issue, but no one seems to have a solution. I could really use some help here. Has anyone seen this or have any ideas? I have been running the...
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
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.