home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / datatl25.zip / DCTDSGN.Z / EWSQDMGG.QRY < prev    next >
Text File  |  1997-09-11  |  828b  |  34 lines

  1. #NAME#
  2. DA_DB2390StoragegroupGlossary
  3. #DESCRIPTION#
  4. The DB2/390 storage group glossary query returns the names of volumes and ICF catalogs used by the storagegroup.
  5.  
  6. View type:  DAQDB2390Storagegroup
  7.  
  8. Modifications:
  9. Change the search criteria of the storage group name using the = (equals), IN or LIKE elements in the SQL WHERE clause.     
  10.  
  11.  
  12. #MODIFIED#
  13.  
  14. #VERSION#
  15.  
  16. #SQL STATEMENT#
  17. SELECT DISTINCT
  18.   s.db2390Storagegroup,
  19.   s.inRelationalSystem..relationalSystem,
  20.   s.inPhysicalDesign..db2390PhysicalDesign,
  21.   s.usesVolume..MVSVolume,
  22.   s.usesICFCatalog..ICFCatalog,
  23.   p.lastupdate,
  24.   p.addDate
  25. FROM OUTER
  26.   DAQDB2390Storagegroup s,
  27.   PartView p
  28. WHERE
  29.   s.db2390Storagegroup LIKE '<>%'  AND
  30.   s.db2390Storagegroup=p.baseName AND
  31.   p.partType='DSRMRDStoragegroup'
  32. ORDER BY
  33.   s.db2390Storagegroup;
  34.