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 > SQL0104N Error while setting table space containers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-10, 01:35
singhipst singhipst is offline
Registered User
 
Join Date: Jul 2006
Location: Bangalore
Posts: 57
SQL0104N Error while setting table space containers

Hi,

Can any one help me to find out the syntax issue in below command.

Code:
db2 "set tablespace containers for 4 using (FILE '/vol01/IBM/db2home/db2inst1/NODE0000/TEST/T0000004/TESTTBS_4K.dat')" 
SQL0104N An unexpected token ")" was found
__________________
Ritesh Kumar Singh
IBM Certified DB2 DBA for LUW
**Knowledge Is Theft If Not Shared !!**
Reply With Quote
  #2 (permalink)  
Old 05-12-10, 05:24
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
the size is not specified
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 05-12-10, 06:52
singhipst singhipst is offline
Registered User
 
Join Date: Jul 2006
Location: Bangalore
Posts: 57
even i tried with size also when i specified size say 100M then it shows same error showiing 100M not expected.


Code:
db2 "set tablespace containers for 4 using (FILE '/vol01/IBM/db2home/db2inst1/NODE0000/TEST/T0000004/TESTTBS_4K.dat' 100M)"
__________________
Ritesh Kumar Singh
IBM Certified DB2 DBA for LUW
**Knowledge Is Theft If Not Shared !!**
Reply With Quote
  #4 (permalink)  
Old 05-12-10, 08:47
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by singhipst View Post
even i tried with size also when i specified size say 100M then it shows same error showiing 100M not expected.
May be this is a good time to look at the syntax diagram in the manual and check how exactly container size should be specified...
Reply With Quote
  #5 (permalink)  
Old 05-12-10, 12:05
yyt030 yyt030 is offline
Registered User
 
Join Date: Apr 2010
Location: USA
Posts: 10
It is the string ")" ,try mask ")"
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