Author Topic: Looking for data in DB2 tables  (Read 3178 times)

tabuhr

  • Guest
Looking for data in DB2 tables
« on: May 16, 2011, 09:53:05 AM »
If I want to know what application groups are included in each group, what internal DB2 tables, would I find this data?

Michel de Kraker

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • SYSBLOX , AIX consultancy
Re: Looking for data in DB2 tables
« Reply #1 on: May 16, 2011, 12:24:39 PM »
Hi,

In the application group, tab storage , advanced you see on top of the screen your db2 table name.
In db2 you can query :

select * from <instanceowner>.db2 tablename

example:

select * from root.YDK1

with describe table root.YDK1 you can see all the fields

Kind regards,

Michel.

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: Looking for data in DB2 tables
« Reply #2 on: May 16, 2011, 10:47:39 PM »
Hello,

just a precision from the post of Michel, you can only do that (the "select" and the "describe table") if you have at least done a load of a document in this application group, otherwise CMOD won't even create the table.

Cheers,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML