If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > 'create' is not recognise as an internal or external command

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-13-10, 12:33
suigion suigion is offline
Registered User
 
Join Date: May 2010
Posts: 1
'create' is not recognise as an internal or external command

Hi all,
I am new to db2 and just installed DB2-Express C program. After installed successfully, I try to run command "create database sample", but there is error message "'create' is not recognise as an internal or external command".

How to fix this issue? thanks...
Reply With Quote
  #2 (permalink)  
Old 05-13-10, 12:59
Amarnath Reddy Amarnath Reddy is offline
Registered User
 
Join Date: Apr 2010
Posts: 10
'create' is not recognise as an internal or external command

The command you tried is correct, but you are not executing the command in proper window, assuming db2 installed successfully.

Run the "create database sample" from db2 prompt or issue command like

db2 "create database sample"

here the few examples :

db2 create database sample
DB20000I The CREATE DATABASE command completed successfully.

if you are not running from the db2 prompt,the prefix 'db2' before start of any commands like

$db2 "command1"

$db2 "command2"
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On