Microsoft KB Archive/35517

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

FILLER Values Not Visible on Screen in COBOL Version 3.00

PSS ID Number: Q35517 Article last modified on 05-16-1989

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

Summary: When the program below is run, it fails to display the characters in the FILLER clause, a functionality allowed only with the MS(2) compiler directive. To work around the problem, change FILLER to a variable name or compile with the MS(2) directive. This information applies to Microsoft COBOL Versions 3.00 and 3.00A. In the following code sample, the “" will not be displayed: WORKING-STORAGE SECTION. 01 DDATE. 05 DMO PIC XX VALUE "08". 05 FILLER PIC X VALUE "”. 05 DDA PIC XX VALUE “08”. 05 FILLER PIC X VALUE "*“. 05 DYR PIC XX VALUE”88". PROCEDURE DIVISION. 1000-MAIN-LOGIC. DISPLAY DDATE LINE 20. STOP RUN.

Copyright Microsoft Corporation 1989.