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 > Error in creating server in Federated DB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-12-12, 12:06
schintala schintala is offline
Registered User
 
Join Date: Apr 2005
Location: USA
Posts: 119
Error in creating server in Federated DB

Hi,
We were trying to create server in Federated DB for the data source on z/os and receive the systax error. Is there anything missing here?

CREATE SERVER TDB2
TYPE DB2/ZOS
VERSION 9
WRAPPER DRDA
AUTHORIZATION "isrc1"
PASSWORD "*****"
OPTIONS (DBNAME 'MHTDB2') ;

Error as follows:
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 "TDB2" was found following "". Expected
tokens may include: "TABLESPACE". SQLSTATE=42601

SQL0104N An unexpected token "TDB2" was found following "". Expected tokens may include: "TABLESPACE ".
Reply With Quote
  #2 (permalink)  
Old 01-12-12, 23:54
nanaavinash nanaavinash is offline
Registered User
 
Join Date: Dec 2011
Posts: 17
you can change the name of server then try
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