Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

What is value of uninitialized item in working storage?

$
0
0

Micro Focus Visual COBOL.

An item in working storage is described as PIC X type but no VALUE clause, as follows:

       WORKING-STORAGE.

           01  WORK-ITEM       PIC X(10).

In this example, when program loads, does this item have an initial value of spaces?  ... or is it "undefined"?

(Assume default environment,  should environment variables affect the answer).

Also, if there is a documentation reference, please provide a link.

Thanks!

 

 


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>