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

How to create a Database in DB2 using command line processor on remote DB2 server?

Hi,

we are trying to use CLP tool provided by DB2 client installer to create DB2 database.
We followed the following steps
1)Invoked command line processor (CLP)
2) catalog tcpip node DB2_01 remote 10.134.5.10 server 50000
3) create database mynewdb
we are getting the below error message.
SQL1096N The command is not valid for this node type.

Thanks,
Dayakar
Nov 8 '10 #1
1 28114
vijay2082
112 100+
Hi Dayakar,

You must have sysadm or sysctrl authority before using this command.

Once your instance catalog is successful you need to attache to tthe instance using proper privilege before using the create database command :

1)Invoked command line processor (CLP)
2) db2 "catalog tcpip node DB2_01 remote 10.134.5.10 server 50000 "
3) db2 terminate
db2 list node directory

above command should list your remote node
4)db2 "attach to db2_01 user <userid> using <password>"
This user must have either sysadm or sysctrl authority
5) db2 "create database mynewdb"

http://publib.boulder.ibm.com/infoce.../r0001941.html

Cheers, Vijay
Nov 9 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Dharmesh | last post by:
Hi every1, I am trying to create ASP.NET Web Application on remote server. The server is running Windows 2003 Server with IIS 6.0. I have installed FrontPage extensions also done Remote...
1
by: Maria | last post by:
Hello we got a script automatically generated to populate a table that belongs to a partition table, then while executing we get this error message: "DB21034E The command was processed as an...
2
by: mei xiao | last post by:
Hi, there, I have a small web service project written in C# and compiled using visual studio.net, but how can I compile it using command line? Thank you. -May
4
by: no_spam_for_gman | last post by:
Hi, I can turn off autocommit within the command window but I cannot figure out how to turn it off when you are in the IBM DB2 Command Line Processor. Does anybody knows how? By the way I mean...
1
by: hannahg | last post by:
I am trying to incorparate the win zip command line processor in my code on an Access 2003 database form. The code that I downloaded made a call to the windows api. It requires that you use short...
5
abdoelmasry
by: abdoelmasry | last post by:
Hey could any one tell me is there away to end any proccess using command line ?? i can get all running proccesses using command (tasklist) ThX
0
by: Siebbel | last post by:
Hello, I would like to install DB2 on a remote linux computer using command line. Does anybody know if that is possible? Or if not, are there possibilities to have the graphical interface on my...
2
by: Dsel | last post by:
I need to run a stored procedure in db2 Command Line Processor with two inputs and a CLOB output. I don't know how to call them via CLP to get the CLOB output. The version of DB2 we use is 8.1.14...
1
by: 85ssp | last post by:
I am working on debugging a multithreaded network application. I have two forms. One of which is my testing form, the other is the actual user form. I need to be able to load only my testing form...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
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
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,...

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.