home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / LAYOUT.ZIP / TABLES.TXT < prev   
Text File  |  1991-05-17  |  3KB  |  112 lines

  1. TABLE = SRS.STRUCTURE
  2.  
  3. *********COLUMNS**********
  4.  
  5. Column Name                  Type                       Length               Attributes
  6. -----------                  ----                       ------               ----------
  7. STRUCTURE_NAME               Character (Fixed)          8                    Data required, Text
  8. DESCRIPTION                  Character (Fixed)          30                   Text
  9. PREFIX **                    Character (Fixed)          4                    Text
  10.  
  11. ** ex. (05  IN-Data-Record.  The 'IN' is the prefix.  Currently, a prefix can only be three characters plus a '-'.  This will be changed in later implementations so the '-' will be added automatically.)
  12.  
  13. *******INDEXES************
  14.  
  15. Index Name:
  16.  
  17. Duplicates Allowed:
  18.  
  19. Column Name                   Order
  20. -----------                   -----
  21.  
  22.  
  23.  
  24. *******PRIMARY KEY *********
  25.  
  26. Index Name:             SYSIBM.SQLxxxxxxxxxxx              where xxxxxxx is a system generated name
  27.  
  28. Column Name                   Order
  29. -----------                   -----
  30. STRUCTURE_NAME                Ascending
  31.  
  32. *******FOREIGN KEYS**********
  33.  
  34. Foreign Key Name:
  35.  
  36. Parent table name . .
  37. Delete Rule . . . . .
  38.  
  39. Columns
  40. ______________________________________________________________________________________________________________
  41.  
  42.  
  43. TABLE = SRS.ELEMENT_STRUCTURE
  44.  
  45.  
  46. *********COLUMNS**********
  47.  
  48. Column Name                  Type                       Length               Attributes
  49. -----------                  ----                       ------               ----------
  50. ELEMENT_NAME*                Character (Fixed)          25                   Data required, Text
  51. STRUCTURE_NAME               Character (Fixed)          8                    Data required, Text
  52. ELEMENT_LENGTH               Small Integer                                         
  53. ELEMENT_POSITION**           Small Integer                                   Data required
  54. ELEMENT_LEVEL                Character (Fixed)          2                    Data required, Text
  55. ELEMENT_PICTURE***           Character (Fixed)          15                   Text
  56. ELEMENT_VALUE****            Character (Fixed)          40(max for now)      Text
  57.  
  58. *    ex. (05  IN01-Data-Record.  The 'Data-Record' is the ELEMENT_NAME)
  59. **        This is the position of the element in the structure
  60.      ex.  01  IN-Data-Record           pos 1
  61.               05  IN-Record-Key.       pos 2
  62. ***  This includes the word 'PIC' in the database
  63. **** Must begin and end with "'" single quotes.  Do not code the word 'VALUE' at the beginning.
  64.  
  65.  
  66. *******INDEXES************
  67.  
  68. Index Name:
  69.  
  70. Duplicates Allowed:
  71.  
  72. Column Name                   Order
  73. -----------                   -----
  74.  
  75.  
  76. *******PRIMARY KEY *********
  77.  
  78. Index Name:             SYSIBM.SQLxxxxxxxxxxx              where xxxxxxx is a system generated name
  79.  
  80. Column Name                   Order
  81. -----------                   -----
  82. ELEMENT_NAME                  Ascending
  83. STRUCTURE_NAME                Ascending
  84.  
  85.  
  86. *******FOREIGN KEYS**********
  87.  
  88. Foreign Key Name:  ESTRUC1
  89.  
  90. Parent table name . .  SRS.ELEMENT
  91. Delete Rule . . . . .  Cascade deletes
  92.  
  93. Columns
  94. -------
  95. ELEMENT_NAME
  96.  
  97. Foreign Key Name:  ESTRUC2
  98.  
  99. Parent table name . .  SRS.STRUCTURE
  100. Delete Rule . . . . .  Cascade deletes
  101.  
  102. COLUMNS
  103. -------
  104. STRUCTURE_NAME
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.