JUSTIFY and the ACCEPT Statements

PSS ID Number: Q10582
Article last modified on 11-16-1992

2.00 2.10 2.20
MS-DOS

Problem:
   JUSTIFY seems to work as expected when used with the MOVE command,
but it does not work with the Format 4 ACCEPT statement. The right
margins of the data are not justified in the field after the Format 4
ACCEPT.

Response:
   JUSTIFY only specifies right-to-left alignment when the field is
the receiving field for a MOVE statement. This is documented on Page
136 of the "Microsoft COBOL Compiler Reference Manual."

Copyright Microsoft Corporation 1992.