Previous Topic: Element SubstatementNext Topic: Parameters


Syntax

Element substatement

►►─── level-number  element-name ─────────────────────────────────────────────►

 ►─┬───────────────────────────────┬──────────────────────────────────────────►
   └─ REDefines base-element-name ─┘

 ►─┬──────────────────────┬───────────────────────────────────────────────────►
   └─ PICture is picture ─┘

 ►─┬──────────────────────────────────────────────────────────────────────────►
   │┌─────────────────────────────────────────────┐
   └▼─┬─ VALue is ───┬─┬─  .───┬─ initial-value ──┴───────────────────────────►
      └─ VALues are ─┘ └─ ALL ─┘
 ►─┬──────────────────────────────────────────────────────────────────────────►
   │┌────────────────────────────────────────────────────────────────────────
   └▼─┬─ VALue is ───┬─────  .──────────────────────────────────────────────────
      └─ VALues are ─┘

─►──────────────────────────────────────────────────────────────────────────┬─►
   ───────────────────────────────────────────────────────────────────────┐ │
   ──┬─┬────────┬─ condition-value ─────────────────────────────────────┬─┴─┘
     │ └─ ALL ──┘                                                       │
     │  ┌──────────────────────────────────────────────────────────┐    │
     └ (▼ ┬─────┬ condition-value ┬───────────────────────────────┬┴ ) ─┘
          └ ALL ┘                 └ THRu ─┬─────┬ condition-value ┘
                                          └ ALL ┘
 ►─┬──────────────────────────────────────┬───────────────────────────────────►
   └─ USAge is ─┬─ BIT ─────────────────┬─┘
                ├─┬─ COMPUTATIONAL ─┬───┤
                │ ├─ COMp ──────────┤   │
                │ └─ BINary ────────┘   │
                ├─┬─ COMPUTATIONAL-1 ─┬─┤
                │ ├─ COMP-1 ──────────┤ │
                │ └─ SHOrt-point ─────┘ │
                ├─┬─ COMPUTATIONAL-2 ─┬─┤
                │ ├─ COMP-2 ──────────┤ │
                │ └─ LONg-point ──────┘ │
                ├─┬─ COMPUTATIONAL-3 ─┬─┤
                │ ├─ COMP-3 ──────────┤ │
                │ └─ PACked ──────────┘ │
                ├─┬─ COMPUTATIONAL-4 ─┬─┤
                │ └─ COMP-4 ──────────┘ │
                ├─ CONdition-name ──────┤
                ├─ DISplay ─────────────┤
                ├─ DISplay-1 ───────────┤
                └─ POInter ─────────────┘
 ►─┬────────────────────────────┬─────────────────────────────────────────────►
   └─ SYNChronized ─┬─────────┬─┘
                    ├─ LEFt ──┤
                    └─ RIGht ─┘

 ►─┬──────────────────────────────────────────────────────────────────────────►─
   └─ OCCurs ─────────────────────────────────────────────────────────────────

─►──────────────────────────────────────────────────────────────────────────┬─►
  ─┬─ occurrence-count times ──────────────────────────────────────────────┬┘
   └─┬─ occurrence-count ──────┬─ times DEPending on control-element-name ─┘
     └─ 0 TO occurrence-count ─┘

 ►─┬─────────────────┬────────────────────────────────────────────────────────►
   └─ JUStify RIGht ─┘
 ►─┬───────────────────┬──────────────────────────────────────────────────────►
   └─ BLAnk when ZERo ─┘

 ►─┬───────────────────────────────────────────────────┬──────────────────────►
   └─ SIGn is ─┬─ LEAding ──┬─┬──────────────────────┬─┘
               └─ TRAiling ─┘ └─ SEParate character ─┘

 ►─┬─────────────────────────────────────┬────────────────────────────────────►
   │ ┌─────────────────────────────────┐ │
   └─▼─ element-synonym-specification ─┴─┘

 ►─┬─────────────────────────────────────────┬────────────────────────────────►
   └─ INDexed BY ─┬─ index-name ─────────────┤
                  │     ┌──────────────┐     │
                  └─ ( ─▼─ index-name ─┴─ ) ─┘
 ►─┬─────────────────────────────────────────────────────────────┬────────────►
   ├─ INDex KEY is ─┬─ index-name ─┬─ ASCending ──┬────────────┬─┤
   │                │              └─ DEScending ─┘            │ │
   │                │     ┌───────────────────────────────┐    │ │
   │                └─ ( ─▼─ index-name ─┬─ ASCending ──┬─┴─) ─┘ │
   │                                     └─ DEScending ─┘        │
   └─┬─ ASCending ──┬─ key is ─┬─ index-name ───────────┬────────┘
     └─ DEScending ─┘          │    ┌──────────────┐    │
                               └─( ─▼─ index-name ─┴ ) ─┘

 ►─┬────────────────────────────────────────────────────────────────────────┬─►
   │ ┌────────────────────────────────────────────────────────────────────┐ │
   │ │                                   ┌──────────────────────────┐     │ │
   └─▼─ EDIt ─┬───────────┬─ TABle is ( ─▼─ 'value'─┬───────────────┴┬ ) ─┴─┘
              ├─ VALid ◄──┤                         └─ THRu 'value' ─┘
              └─ INValid ─┘
 ►─┬────────────────────────────────────────────────────────────────┬─────────►
   │ ┌────────────────────────────────────────────────────────────┐ │
   │ │                    ┌─────────────────────────────────┐     │ │
   └─▼─ CODe TABle is  ( ─▼─ 'encode-value' 'decode-value' ─┴─ ) ─┴─┘

 ►─┬───────────────────────────────┬──────────────────────────────────────────►
   └─ EXTernal PICture is picture ─┘
 ►─┬──────────────────────────────────────────────────┬───────────────────────►◄
   │┌───────────────────────────────────────────────┐ │
   └▼─┬─ OLQ header ─────┬─ is ─┬─ 'comment-text'─┬─┴─┘
      ├─ CULprit header ─┤      └─ NULl ──────────┘
      ├─ COMments ───────┤
      ├─ DEFinitions ────┤
      └─ comment-key ────┘

Expansion of element-synonym-specification

►►─── element ─┬─ SYNonym name ─┬─────────────────────────────────────────────►
               └─ name SYNonym ─┘

 ►─── FOR language language is synonym-name ──────────────────────────────────►◄