473,326 Members | 2,173 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,326 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 28105
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.