Microsoft KB Archive/35514

From BetaArchive Wiki

“Call Parameter is Literal…” Using MS2-2.DOC Extensions

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

3.00 | 3.00 MS-DOS | OS/2

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

Summary: The syntax for Microsoft COBOL extensions as stated in the MS2-2.DOC file (found on the Setup disk) will cause the Version 3.0 compiler to issue the following statement: Call parameter is literal (or LENGTH of) By content assumed. This statement is printed the number of times shown in the list below for each extension call. While the compiler reports these statements as ERRORS, good code is actually generated.

More Information: MS-COBOL Extension Error Message Frequency _MSEXIST 1 _MSRENAME 2 _MSREMOVE 1 _MSCOMMAND 1 _MSUPCASE 2 _MSLOCASE 2 _MSEXCODE 1 _MSKBDAVAIL 0 _MSCURPOS 0 The workarounds are as follows: 1. Use the code as is. 2. Specify by content and by reference where appropriate (see articles listed under each MS-COBOL EXTENSION).

Additional reference words: 3.00 Copyright Microsoft Corporation 1993.