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 > DB2Move

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-02-10, 11:30
Rajesh1203 Rajesh1203 is offline
Registered User
 
Join Date: Aug 2010
Posts: 33
DB2Move

Hello All,
I am new to DB2Move and I am getting error when I am using the below command,can someone help me with this...All I am trying to do is to refresh few tables in one db with data in the same tables in another DB.
Here is the command I used:
DB2 DB2MOVE DBNAME EXPORT -tn VRBL*

Error I got:
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0104N An unexpected token "DB2MOVE DBNAME EXPORT -" was found following
"BEGIN-OF-STATEMENT". Expected tokens may include: "<values>".
SQLSTATE=42601

***** SUGGEST ME IF YOU HAVE AN ALTERNATIVE******
Thanks
Rajesh.
Reply With Quote
  #2 (permalink)  
Old 09-02-10, 13:38
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,229
db2move is not a CLP command; it is an separate program and as such must be run from the OS shell, not from CLP.
Reply With Quote
Reply

Thread Tools
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