473,799 Members | 3,106 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

More DB2 Vista NewBee questions

1. What is the syntax to create a node when the server is running on
the local machine?

Does one still use the word remote?

catalog tcpip node webi remote localhost server 50000

2. If I execute "db2 get dbm cfg c:/output.txt" and grep output.txt
on SVCENAME I see this:
TCP/IP Service name (SVCENAME) = db2c_DB2

To set the SVCNAME to 50000 (or any other number) and type:

db2 update db cfg using svcname 50000
QL0104N An unexpected token "svcname" was found following "USING".
Expected
okens may include: "ADSM_MGMTCLASS ". SQLSTATE=42601

Why is this instruction failing?

Thanks.
Nov 2 '08 #1
4 3355
On Nov 2, 9:44*pm, "gimme_this_gim me_t...@yahoo.c om"
<gimme_this_gim me_t...@yahoo.c omwrote:
1. What is the syntax to create a node when the server is running on
the local machine?

Does one still use the word remote?

catalog tcpip node webi remote localhost server 50000

2. If I execute "db2 get dbm cfg c:/output.txt" and grep output.txt
on SVCENAME I see this:

*TCP/IP Service name * * * * * * * * * * * * *(SVCENAME) = db2c_DB2

To set the SVCNAME to 50000 (or any other number) and type:

db2 update db cfg using svcname 50000
QL0104N *An unexpected token "svcname" was found following "USING".
Expected
okens may include: *"ADSM_MGMTCLAS S". *SQLSTATE=42601

Why is this instruction failing?

Thanks.
You can easily answer the questions yourself.

First question: try it out, or search for keywords in google.

Second question: You've made a syntax error.
Nov 2 '08 #2
<gi************ *******@yahoo.c omwrote in message
news:01******** *************** ***********@g17 g2000prg.google groups.com...
1. What is the syntax to create a node when the server is running on
the local machine?

Does one still use the word remote?

catalog tcpip node webi remote localhost server 50000

2. If I execute "db2 get dbm cfg c:/output.txt" and grep output.txt
on SVCENAME I see this:
TCP/IP Service name (SVCENAME) = db2c_DB2

To set the SVCNAME to 50000 (or any other number) and type:

db2 update db cfg using svcname 50000
QL0104N An unexpected token "svcname" was found following "USING".
Expected
okens may include: "ADSM_MGMTCLASS ". SQLSTATE=42601

Why is this instruction failing?

Thanks.
I don't understand why you need to create a node if the database is on the
local machine. The local node and database are already catalogued (db2 list
node directory, db2 list database directory). For a type 4 driver, all you
need is the hostname, port, database, user, password (and default schema if
different than user).

Please take a look at C:\Windows\syst em32\drivers\et c (/etc/services on
Linux/UNIX) to see how the label "db2c_DB2" is translated into the port
number. You can change the port number on the services file, or you set it
directly to a port number in the dbm cfg (if you can type SVCENAME
correctly). These entries are automatically created when the default
instance is created.
db2c_DB2 50000/tcp
Nov 3 '08 #3
Hi ,
svcname is part of DB Manger configuration not part of DB
Configuration.

Try this ,
db2 update DBM cfg svcname 50000

Hope this works .

Regards
Myoungsoo
>db2 update db cfg using svcname 50000
QL0104N An unexpected token "svcname" was found following "USING".
Expected
okens may include: "ADSM_MGMTCLASS ". SQLSTATE=42601
Why is this instruction failing?
Nov 3 '08 #4
On 2008-11-03, mvsmsh <mv****@gmail.c omwrote:
svcname is part of DB Manger configuration not part of DB
Configuration.

Try this ,
db2 update DBM cfg svcname 50000

Hope this works .
Well it does not, since you too made a mistake. SVCENAME is DBM
configuration parameter, not DB as you pointed out. Parameter is
not svcname, it is SVCENAME. Case does not matter, but it needs to
be typed correctly.

Correct syntax would be:

db2 update dbm cfg using SVCENAME 50000

You also need to have db2comm set to tcpip. This can be checked
with command:

db2set -all

Set it with command:

db2set db2comm=tcpip

After these, instance restart is needed.

--
sip:ta*@tav.iki .fi http://tav.iki.fi

"Writing a new OS only for the 386 in 1991 gets you your second 'F' for
this term." -- Prof. Andrew S. Tanenbaum
Nov 3 '08 #5

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

Similar topics

4
1782
by: PerryC | last post by:
All, 1. Do the following codes seem ok? 2. If so, then how do I pull the value of YOE1 and YOE2 into my report? (to do some further calculations) ************************************************* Private Sub GroupHeader0_Format(Cancel As Integer, FormatCount As Integer) Dim YOE1 As Double
13
3033
by: Mark Rae | last post by:
Hi, On Friday I attended the Microsoft EVO conference in London where they talked about Vista, Office 2007 and Exchange 2007 and how they all work together beautifully, how they were all "people-ready" etc... I asked a couple of questions about Visual Studio.NET on Vista, especially on 64-bit Vista, and they became *very* nervous... To cut a long story short, Microsoft will not support ANY version of Visual
6
4279
by: j2ee.singh | last post by:
Hi, I'm looking to buy a new laptop primarily to learn & practice .NET and C#. My Question is: Is there any requirement for .NET and C# in terms of the following Operating Systems: - Windows Vista Home Basic - Windows Vista Business
0
3281
by: Jobs | last post by:
C# , SQL Server , Vista , Ajax Interview questions links Full eBook with Vista , Ajax , SQL Server , UML and Architecture interview questions http://www.questpond.com/SampleInterviewQuestionBook.zip Marks good list of Interview questions
4
2319
by: Viviana Vc | last post by:
Hi all, I've read the WindowsVistaUACDevReqs.doc documentation and I have done different small tests on Vista to understand the bahaviour and now I have a few questions. 1) If I create a dummy console application that creates a file in Program Files directory, this one will succeed and will create the file b/c of the virtualization. But, if I do the following call in a console window (a.exe contains just
8
3166
by: Marooned | last post by:
Hi (a total newbie here), I run a small personal website and I need to check if my client is reaching my site with: - IE6 || IE7 AND - Windows Vista How can I do? The script should work in Firefox too... Thanks!!
2
1726
by: 13Rockes | last post by:
I am in the process of writing programs using VB6 in XP Pro. However, I am thinking about starting over using VB2005 as my company is migrating to Vista. Two questions... What kinds of problems will I have installing and running my VB6 app under Vista? If I develop VB2005 apps under XP, what kinds of problems will I have
0
1312
by: Martin Arvidsson, Visual Systems AB | last post by:
Hi! I have a couple of newbee questions. I have a .aspx page with a couple of TextBoxes and a submit button. Now... When i press the submitbutton i want the data in the TextBoxes to be saved in my Sql Table.
4
4346
by: =?Utf-8?B?aGFycG8xNA==?= | last post by:
I have installed firefox 3 for my new vista operated machine. I get the following error message: Could not initialise the application's security component. The most probable cause is problems with files in your browser's profile directory. Please check that this directory has no read/write restrictions and your hard drive is not full or close to full. It is recommended that you exit the browser and fix the problem. If you continue to...
0
9687
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9541
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10484
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10251
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9072
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7565
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.