Previous Topic: OLQ Statement—Define OLQ Runtime EnvironmentNext Topic: OLQ Statement Parameters


OLQ Statement Syntax

ADD/MODIFY/DELETE OLQ statement

►►─┬──────────┬─ OLQ ─────────────────────────────────────────────────────────►
   ├─ ADD ────┤
   ├─ MODify ─┤
   └─ DELete ─┘

 ►─┬───────────────────────────────┬──────────────────────────────────────────►
   └─ ACCess is ─┬─ IDMssql ──┬────┘
                 └─ OLQsql ◄──┘

 ►─┬────────────────────────────────────┬─────────────────────────────────────►
   └─ BATch CLAss is ─┬─ 0 ◄──────────┬─┘
                      └─ batch-class ─┘
 ►─┬──────────────────────────────────────────────────┬───────────────────────►
   └─ COMment character is ─┬─ ';' ◄────────────────┬─┘
                            └─ 'comment-character' ─┘

 ►─┬────────────────────────────────────────────────────────────┬─────────────►
   └─ CONtinuation character is ─┬─ '-' ◄─────────────────────┬─┘
                                 └─ 'continuation-character' ─┘

 ►─┬────────────────────────────────────────────┬─────────────────────────────►
   └─ INPut line size is ─┬─ 2 ◄──────────────┬─┘
                          └─ input-line-size ─┘
 ►─┬──────────────────────────────────────────────────────────────────┬───────►
   └─ INTernal storage page size is ─┬─ 1920 ◄──────────────────────┬─┘
                                     └─ internal-storage-page-size ─┘

 ►─┬────────────────────────────────────────────┬─────────────────────────────►
   └─ INTERRupt count is ─┬─ 100 ◄────────────┬─┘
                          └─ interrupt-count ─┘

 ►─┬────────────────────────────────────────────────────────┬─────────────────►
   └─ MAXimum INTERRupt count is ─┬─ 32767 ◄──────────────┬─┘
                                  └─ max-interrupt-count ─┘
 ►─┬──────────────────────────────────────────────────┬───────────────────────►
   └─ MAXimum report COUnt is ─┬─ 5 ◄───────────────┬─┘
                               └─ max-report-count ─┘

 ►─┬─────────────────────────────────────────────────┬────────────────────────►
   └─ MAXimum report PAGes is ─┬─ 5 ◄──────────────┬─┘
                               └─ max-report-size ─┘

 ►─┬─────────────────────────────────────────────────────────────────┬────────►
   └─ MAXimum report RETention is ─┬─ 5 ◄──────────────────────────┬─┘
                                   ├─ max-report-retention-period ─┤
                                   └─ FORever ─────────────────────┘
 ►─┬───────────────────────────────────────────────────────┬──────────────────►
   └─ MAXimum SORt storage is ─┬─ 100 ◄──────────────────┬─┘
                               └─ max-sort-storage-size ─┘

 ►─┬──────────────────────────────┬───────────────────────────────────────────►
   └─ MENu mode ─┬─ ONLy ───────┬─┘
                 ├─ ALLowed ◄───┤
                 └─ DISallowed ─┘

 ►─┬─────────────────────────────────────────────────┬────────────────────────►
   └─ olq transaction IDentifier is ─┬─ OLQ ◄──────┬─┘
                                     └─ task-code ─┘
 ►─┬──────────────────────────────┬───────────────────────────────────────────►
   └─ PFKey MODule is qfile-name ─┘

 ►─┬────────────────────────────────────────────┬─────────────────────────────►
   └─ PRInt LINe size is ─┬─ 80 ◄─────────────┬─┘
                          └─ print-line-size ─┘

 ►─┬────────────────────────────────────────────┬─────────────────────────────►
   └─ PRInt PAGe size is ─┬─ 60 ◄─────────────┬─┘
                          └─ print-page-size ─┘
 ►─┬──────────────────────────────────────┬───────────────────────────────────►
   └─ REPort DICtname is dictionary-name ─┘

 ►─┬────────────────────────────────────────────────────────┬─────────────────►
   └─ REPort FILe page size is ─┬─ 4000 ◄─────────────────┬─┘
                                └─ report-file-page-size ─┘
 ►─┬─────────────────────────────────────────────────────┬────────────────────►
   └─ REPort RETention is ─┬─ 1 ◄──────────────────────┬─┘
                           ├─ report-retention-period ─┤
                           └─ FORever ─────────────────┘

 ►─┬──────────────────────────────────────────────────────┬───────────────────►◄
   └─ SEParator character is ─┬─ '!' ◄──────────────────┬─┘
                              └─ 'separator-character' ─┘

DISPLAY/PUNCH OLQ Statement

►►─┬─ DISplay ─┬─ all OLQ ────────────────────────────────────────────────────►
   └─ PUNch ───┘

 ►─┬───────────────────────────────────────┬──────────────────────────────────►
   │ ┌───────────────────────────────────┐ │
   │ │                 ┌───────────────┐ │ │
   └─▼─┬─ WITh ──────┬─▼─┬─ DETails ─┬─┴─┴─┘
       ├─ ALSo WITh ─┤   ├─ HIStory ─┤
       └─ WITHOut ───┘   ├─ ALL ─────┤
                         └─ NONe ────┘
 ►─┬─────────────────────┬────────────────────────────────────────────────────►
   └─ AS ─┬─ COMments ─┬─┘
          └─ SYNtax ───┘

 ►─┬─────────────────────────────────┬────────────────────────────────────────►◄
   └─ TO ─┬─ module-specification ─┬─┘
          └─ SYSpch ───────────────┘