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

  1. #NAME#
  2. DA_SimpleSegmentData
  3. #DESCRIPTION#
  4. This query collects information about segments in MSDB, HSAM, INDEX, SHSAM, and SHISAM DBDs.
  5. DBD and DATASET information is found through the MSDB (ewsqid2g.qry), HSAM (ewsqid3g.qry) or INDEX (ewsqid9g.qry) DBD sample query.
  6. FIELD information is in the IMS FIELD sample query, ewsqifg.qry.
  7.  
  8. Modifications:
  9. Change the search criteria of the dbd name in the SQL WHERE clause.
  10.  
  11. View type:  DAQhsamDBD
  12.  
  13. #MODIFIED#
  14.  
  15. #VERSION#
  16.  
  17. #SQL STATEMENT#
  18. SELECT DISTINCT
  19.   d.segmentName,
  20.   ms.dataStructure,
  21.   d.frequency, 
  22.   d.maximumLength,
  23.   d.parentSegmName,
  24.   d.exitFlag, 
  25.   d.segmCaptureRoutine,
  26.   d.segmExitData,
  27.   d.segmExitKey,
  28.   d.segmExitPath,
  29.   d.segmCascade,
  30.   d.segmCascadeData,
  31.   d.segmCascadeKey,
  32.   d.segmCascadePath,
  33.   d.logSegmName,
  34.   d.logDBDname,
  35.   d.segmLabel, 
  36.   d.segmDescription
  37. FROM OUTER
  38.   DAQhsamDBD d,
  39.   (d.mappingStruct) ms
  40. WHERE
  41.   (d.accessMethod = 'MSDB' OR d.accessMethod = 'HSAM' OR d.accessMethod = 'SHSAM' OR d.accessMethod = 'SHISAM' OR d.accessMethod = 'INDEX')
  42. AND
  43.   d.dbdName LIKE '<>%' 
  44. ORDER BY 1 ASC
  45.