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

  1. #NAME#
  2. DA_LOGICALdbdData
  3. #DESCRIPTION#
  4. This query collects information about Logical DBDs.
  5. To get information about the segments in the DBD, use the DA_LOGICALSegmentData query.  To get information about fields in the DBD, use the DA_IMSfieldData query.
  6.  
  7. Modifications:
  8. Change the search criteria of the dbd name in the SQL WHERE clause.
  9. To find all logical DBDs that use a specific physical segment (named <BE3ORDER>SE2ORDER<:>, for example) as source, replace the search criteria with
  10. WHERE sourceSegmName = '<BE3ORDER>SE2ORDER<:>'
  11.  
  12. View type:  DAQlogicalDBD
  13.  
  14. #MODIFIED#
  15.  
  16. #VERSION#
  17.  
  18. #SQL STATEMENT#
  19. SELECT DISTINCT
  20.   d.dbdName,
  21.   d.accessMethod,
  22.   d.versionString,
  23.   d.pcbName,
  24.   d.psbName,
  25.   d.dbdLabel,
  26.   d.dbdDescription
  27. FROM OUTER
  28.   DAQlogicalDBD d
  29. WHERE
  30.   d.accessMethod = 'LOGICAL' 
  31. AND
  32.   d.dbdName LIKE '<>%' 
  33. ORDER BY 1 ASC
  34.