Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


WSCLEAR

Use WSCLEAR to clear a program's WORKING-STORAGE to binary zeros when the program is initialized. The storage is cleared before any VALUE clauses are applied.

WSCLEAR option syntax
Read syntax diagramSkip visual syntax diagram   .-NOWSCLEAR-.  
>>-+-----------+-----------------------------------------------><
   '-WSCLEAR---'  
 

Default is: NOWSCLEAR

Abbreviations are: None

Use NOWSCLEAR to bypass the storage-clearing process.

Performance considerations: If you use WSCLEAR and you are concerned about the size or performance of the object program, then you should also use OPTIMIZE(FULL). Doing so instructs the compiler to eliminate all unreferenced data items from the DATA DIVISION, which will speed up initialization.


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)