RM Table
Directive: RM
Definition: RM/COBOL 2
--------------------------------------------------------------------------------------------------
| | | | |
| Features | When Introduced | Effect of | Status |
| | | Directive | |
| | | | |
--------------------------------------------------------------------------------------------------
| | | | |
| ACCEPT/DISPLAYs all treated as | 1.3 | C | |
| full screen | | | |
| | | | |
| ACCEPT/DISPLAY enhanced for RM | 2.0 | G | |
| compatibility | | | |
| | | | |
| ACCEPT: ON EXCEPTION RM-style | 2.0 | | |
| | | | |
| ASSIGN: INPUT with external | 2.0 | | D |
| file-name | | | |
| | | | |
| ASSIGN: INPUT-OUTPUT with external | 2.0 | | D |
| file-name | | | |
| | | | |
| ASSIGN: OUTPUT with external | 2.0 | | D |
| file-name | | | |
| | | | |
| ASSIGN: PRINT with external | 2.0 | | D |
| file-name | | | |
| | | | |
| ASSIGN: RANDOM with external | 2.0 | | D |
| file-name | | | |
| | | | |
| ASSIGN: "PRINTER" as external | 2.0 | | |
| file-name | | | |
| | | | |
| ASSIGN clause enhanced with RM | 2.0 | G | |
| options | | | |
| | | | |
| BEEP clause/option | 1.3 | R | |
| | | | |
| BLINK clause/option | 1.3 | R | |
| | | | |
| BLINK phrase in ACCEPT (not in | 2.0 | | |
| WITH phrase) | | | |
| | | | |
| CALL: literals as parameters | 2.0 | | |
| | | | |
| CONVERT phrase in ACCEPT | 2.0 | R | |
| | | | |
| Comparing alphan data in numeric & | 2.0 | | |
| alphan items | | | |
| | | | |
| Compatibility with RM COBOL | 2.0 | | |
| | | | |
| DISPLAY SPACE treated as DISPLAY " | 2.0 | C | |
| " | | | |
| | | | |
| ECHO phrase in ACCEPT | 2.0 | | |
| | | | |
| END PROGRAM header | 1.1 | R | |
| | | | |
| ERASE phrase in ACCEPT ( BLANK | 2.0 | | |
| SCREEN) | | | |
| | | | |
--------------------------------------------------------------------------------------------------
Table 23-0. (cont.)
--------------------------------------------------------------------------------------------------
| | | | |
| Features | When Introduced | Effect of | Status |
| | | Directive | |
| | | | |
--------------------------------------------------------------------------------------------------
| | | | |
| ERASE EOL phrase in ACCEPT | 2.0 | | |
| | | | |
| ERASE EOS phrase in ACCEPT | 2.0 | | |
| | | | |
| EXIT PROGRAM closes files opened | 2.0 | C | |
| in the subprog | | | |
| | | | |
| File Section initialized to spaces | 2.0 | C | |
| | | | |
| HIGH phrase in ACCEPT (HIGHLIGHT) | 2.0 | R | |
| | | | |
| Highlighting is on by default | 2.0 | C | |
| | | | |
| I-O-statuses: values as in RM | 1.5 | C | I |
| COBOL | | | |
| | | | |
| Index is 2 bytes COMP-X | 1.3 | C | I |
| | | | |
| Index can be set by other than SET | LII | C | |
| | | | |
| Initial data-byte value defaults | 2.0 | C | |
| to X"00" | | | |
| | | | |
| LINE phrase in ACCEPT (not in AT | 2.0 | | |
| phrase) | | | |
| | | | |
| Lock mode defaults to AUTOMATIC | 2.0 | C | |
| | | | |
| LOW phrase in ACCEPT | 2.0 | | |
| | | | |
| MODE IS BLOCK automatic (ACC/DIS | 1.3 | C | |
| group in one go) | | | |
| | | | |
| NO BEEP phrase in ACCEPT | 2.0 | | |
| | | | |
| NUMERIC SIGN IS TRAILING SEPARATE | 2.0 | C | |
| is default | | | |
| | | | |
| Nonnumeric literal up to 2047 | 2.0 | | |
| chars (Data Div) | | | |
| | | | |
| OFF phrase in ACCEPT SECURE but | 2.0 | | |
| displays blanks) | | | |
| | | | |
| ORGANIZATION: BINARY | 2.0 | | |
| SEQUENTIAL(sequential) | | | |
| | | | |
| ORGANIZATION SEQUENTIAL treated as | 2.0 | C | |
| LINE SEQ | | | |
| | | | |
| Organization defaults to LINE | 2.0 | C | |
| SEQUENTIAL | | | |
| | | | |
| PERFORM behavior as in RM and MS | 2.0 | | I |
| | | | |
| POSITION/POS phrase in | 2.0 | | |
| ACCEPT(COLUMN option) | | | |
| | | | |
--------------------------------------------------------------------------------------------------
Table 23-0. (cont.)
--------------------------------------------------------------------------------------------------
| | | | |
| Features | When Introduced | Effect of | Status |
| | | Directive | |
| | | | |
--------------------------------------------------------------------------------------------------
| | | | |
| PROMPT phrase in ACCEPT (not in | 2.0 | | |
| WITH phrase) | | | |
| | | | |
| Procedure Division is optional | 1.1 | E | |
| | | | |
| REVERSE phrase in ACCEPT | 2.0 | R | |
| (REVERSE-VIDEO) | | | |
| | | | |
| REWRITE on LINE SEQUENTIAL files | 2.0 | E | |
| | | | |
| Re-try locked record (like RM) | 1.5 | C | |
| | | | |
| SIZE phrase in ACCEPT (not in WITH | 2.0 | | |
| phrase) | | | |
| | | | |
| STOP RUN | 2.0 | | |
| numeric-literal/integer-data-item | | | |
| | | | |
| Screen Section: defaults | 2.0 | | |
| config'able to RM | | | |
| | | | |
| Screen can be read (Config option) | 2.0 | | |
| | | | |
| Spaces in numeric items | 1.4 | C | I |
| | | | |
| Subscript allowed to be out of | 1.1 | | I |
| range | | | |
| | | | |
| TAB phrase in ACCEPT | 2.0 | | |
| | | | |
| Trunc' to space avail' not PIC | 1.5 | C | I |
| size on all COMP | | | |
| | | | |
| UNLOCK statement LII | R | | |
| | | | |
| UNIT phrase (documentary) in | 2.0 | | |
| ACCEPT | | | |
| | | | |
| UPDATE phrase (recognizes tab key) | 2.0 | | |
| | | | |
| USAGE BINARY | 1.1 | R | |
| | | | |
| USAGE COMP means unpacked with top | 2.0 | C | |
| nybbles zero | | | |
| | | | |
| USAGE COMPUTATIONAL-1/COMP-1 | 2.0 | R | |
| (always S9(4) COMP) | | | |
| | | | |
| USAGE COMPUTATIONAL-3/COMP-3 | LII | R | |
| | | | |
| USAGE COMPUTATIONAL-6/COMP-6 | 2.0 | | |
| | | | |
| VALUE OF LABEL IS literal | 2.0 | | |
| | | | |
--------------------------------------------------------------------------------------------------