Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/39259

From BetaArchive Wiki


PSS ID Number: Q39259 Article last modified on 04-20-1993

3.00 3.00a | 3.00 3.00a MS-DOS | OS/2

The information in this article applies to:
- Microsoft COBOL for MS-DOS and OS/2, versions 3.0 and 3.0a

Summary: Microsoft COBOL Version 3.0 supports an inter-program communications module. This allows for messages and files to be transferred across a network. The COMMUNICATIONS SECTION is where the Communication Description (CD) is setup. The CD can be defined for INPUT, OUTPUT, and I-O (Input and Output). The I-O clause is referred to as an ANSI 85 addition which requires a special Compiler directive. This directive is COMS85. If the COMS85 directive is not used, the following compile error will be generated with other resulting errors afterwards: 11-S Reserved word missing or incorrectly used

More Information: The following code example, when compiled without the COMS85 directive, will produce the error. All other default directives are accepted: COMMUNICATION SECTION. CD COMMQUEUE FOR I-O NETDATE NETTIME NETTERM NETLENGTH NETKEY NETSTATUS. PROCEDURE DIVISION. MOVE “xyz” TO NETTERM. STOP RUN.

Additional reference words: 3.00 3.00a Copyright Microsoft Corporation 1993.