HP 3000 Manuals

Imperative Statements and Sentences [ HP COBOL II/XL Quick Reference Guide ] MPE/iX 5.0 Documentation


HP COBOL II/XL Quick Reference Guide

Imperative Statements and Sentences 

The following table lists verbs used in forming imperative statements.

          Table 6-1.  Imperative Verbs 

-------------------------------------------------------------------------------
|                         |                         |                         |
| ACCEPT(1) ON INPUT      | EXCLUSIVE               | RELEASE                 |
| ERROR                   |                         |                         |
|                         |                         |                         |
| ADD(2) ON SIZE ERROR    | EXAMINE                 | REWRITE(3) INVALID KEY  |
|                         |                         |                         |
| ALTER                   | EXIT                    | SET                     |
|                         |                         |                         |
| CALL(4) ON OVERFLOWON   | GO TO                   | SORT                    |
| EXCEPTION               |                         |                         |
|                         |                         |                         |
| CANCEL                  | GOBACK                  | START (3)               |
|                         |                         |                         |
| CLOSE                   |  INITIALIZE             | STOP                    |
|                         |                         |                         |
| COMPUTE(2)              | INSPECT                 | STRING (5) ON OVERFLOW  |
|                         |                         |                         |
|  CONTINUE               | MERGE                   | SUBTRACT (2)            |
|                         |                         |                         |
| DELETE (3)              | MOVE                    | TERMINATE               |
|                         |                         |                         |
| DISPLAY                 | MULTIPLY (2)            | UN-EXCLUSIVE            |
|                         |                         |                         |
| DIVIDE (2)              | OPEN                    | UNSTRING (5)            |
|                         |                         |                         |
| ENTER                   | PERFORM                 | WRITE (6) INVALID KEY   |
|                         |                         | END-OF-PAGE             |
|                         |                         |                         |
|  EVALUATE               | READ (7) AT END INVALID |                         |
|                         | KEY                     |                         |
|                         |                         |                         |
-------------------------------------------------------------------------------

(1) Without the optional and NOT ON INPUT ERROR phrase.

(2) Without the optional and NOT ON SIZE ERROR phrases.

(3) Without the optional and NOT INVALID KEY phrases.

(4) Without the optional , , and NOT ON EXCEPTION phrases.

(5) Without the optional and NOT ON OVERFLOW phrases.

(6) Without the optional , NOT INVALID KEY, , and NOT AT END-OF-PAGE
phrases.

(7) Without the optional , NOT AT END, , and NOT INVALID KEY phrases.



MPE/iX 5.0 Documentation