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 > beginner question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-06-04, 05:37
snigs snigs is offline
Registered User
 
Join Date: Apr 2004
Posts: 4
Unhappy beginner question

Hi,

I am completely new to DB2 world and so please forgive me if the solution is very simple.
I am trying to get a list of tables that are defined in the database. However, I am getting the following error:

db2 => list tables
DB21033E The command is not valid for databases that reside on DRDA hosts.

Does anyone has a clue as to what it means?
Reply With Quote
  #2 (permalink)  
Old 05-06-04, 05:56
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
db2 list tables command will work with not work with databases residing on os390,as400 etc

The command is valid only for unix and windows db2 databases ...

If you would like to have something similar to 'list tables' on the host, you can find a REXX code in www.db2click.com/scripts.htm

Cheers
Sathyaram

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 05-06-04, 07:17
snigs snigs is offline
Registered User
 
Join Date: Apr 2004
Posts: 4
Thanks. Can you please tell me how to run REXX script. Are there any GUIs which can be used to access DB2? Something like SQLAdvantage.
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