Microsoft KB Archive/32953

DOS Device Names Supported in COBOL Version 3.0

PSS ID Number: Q32953 Article last modified on 04-21-1993

3.00 | 3.00 MS-DOS | OS/2

Summary: The following device names (with or without the colon) are supported in Microsoft COBOL Version 3.0: 1. CON CON: 2. LPT1 LPT1: 3. LPT2 LPT2: 4. LPT3 LPT3: 5. PRN PRN: 6. NUL NUL: 7. COM1 COM1: 8. COM2 COM2: 9. AUX AUX: These names are used as in the following examples: 1. SELECT file-name ASSIGN TO “CON” 2. SELECT out-file ASSIGN TO WS-OUT-FILE. . MOVE “LPT1:” TO WS-OUT-FILE.

Additional reference words: 3.00 Copyright Microsoft Corporation 1993.