Microsoft KB Archive/21262

Implied Move - Edited Numeric to Signed Numeric

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

2.00 2.10 2.20 MS-DOS

Summary: An illegal “implied” MOVE from an edited numeric SCREEN SECTION item to a WORKING-STORAGE SECTION signed numeric variable does not generate an error message. The following is an example: WORKING-STORAGE SECTION: 77 ws-var pic S9999v99. SCREEN SECTION: 01 test-screen. 05 line 1 column 1 pic —9.99 using ws-var. PROCEDURE DIVISION: ACCEPT TEST-SCREEN

More Information: This is not considered to be a problem under COBOL versions 3.0 and later.

Additional reference words: 2.00 2.10 2.20 Copyright Microsoft Corporation 1993.