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

  1. #NAME#
  2. DA_HISAMsegmentData
  3. #DESCRIPTION#
  4. This query collects information about segments in HISAM DBDs.
  5. DBD and DATASET information is found through the HISAM DBD sample query, ewsqid6g.qry.
  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:  DAQhisamDBD
  12.  
  13. #MODIFIED#
  14.  
  15. #VERSION#
  16.  
  17. #SQL STATEMENT#
  18. --DA_HISAMsegmentData
  19. SELECT DISTINCT
  20.   d.segmentName,
  21.   ms.dataStructure,
  22.   d.maximumLength,
  23.   d.minimumLength, 
  24.   d.frequency,
  25.   d.rules, 
  26.   d.deleteFlag, 
  27.   d.insertFlag, 
  28.   d.replaceFlag, 
  29.   d.parentSegmName,
  30.   d.dataOnly, 
  31.   d.initialization, 
  32.   d.routine,
  33.   d.exitFlag, 
  34.   d.segmCaptureRoutine,
  35.   d.segmExitData,
  36.   d.segmExitKey,
  37.   d.segmExitPath,
  38.   d.segmCascade,
  39.   d.segmCascadeData,
  40.   d.segmCascadeKey,
  41.   d.segmCascadePath,
  42.   d.xdfldName,
  43.   d.indexSegmName,
  44.   d.indexDBDname,
  45.   d.ddataFieldName,
  46.   d.searchFieldName,
  47.   d.subseqFieldName,
  48.   d.sourceSegmName,
  49.   d.exitRoutine, 
  50.   d.constant, 
  51.   d.nullValue, 
  52.   d.symbolic, 
  53.   d.lchildSegmName,
  54.   d.lchildDBDname,
  55.   d.lchildPairSegmName,
  56.   d.lchildPairDBDname,
  57.   d.lcPointer, 
  58.   d.rules1 as lcrules,
  59.   d.lparentSegmName,
  60.   d.lparentDBDname,
  61.   d.virtualParent,
  62.   d.counter, 
  63.   d.lparent, 
  64.   d.ltwin, 
  65.   d.pairSegmName,
  66.   d.pairDBDname, 
  67.   d.logSegmName,
  68.   d.logDBDname,
  69.   d.segmLabel,
  70.   d.segmDescription 
  71. FROM OUTER
  72.   DAQhisamDBD d,
  73.   (d.mappingStruct) ms
  74. WHERE
  75.   d.accessMethod = 'HISAM' 
  76. AND
  77.   d.dbdName LIKE '<>%' 
  78. ORDER BY 1 ASC
  79.