COBOL is responsible for the efficient, reliable, secure, and unseen day-to-day operations of the world's economy.
With Enterprise COBOL for z/OS V5, the new STGOPT option can be used to control storage optimization.This option syntax is as follows:
NOSTGOPT is the default option. SO is the abbreviation for STGOPT and NOSO is for NOSTGOPT.If STGOPT is specified, the compiler will discard any or all of the following data items, and will not allocate storage for them.
The compiler will not generate code to initialize these data items to the values in their VALUE clauses.
In addition, with STGOPT, data items in the LOCAL-STORAGE SECTION can be reordered in memory to optimize performance.
Copy