Results 1 to 2 of 2
  1. #1
    Join Date
    May 2010
    Posts
    1

    Unanswered: '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...

  2. #2
    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"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •