I just happen to have about every IBM COBOL publication from the last 30-40
years because I have a client that is in the COBOL business.
Enterprise COBOL 2.1 from September 2000, Summary of Changes:
Local-Storage Section ("Format 5: SET for USAGE IS POINTER data items" in
topic 6.2.33.5)
Section 5.1.3 Local-Storage Section has all change bars down the side.
Charles
On Tue, 1 Sep 2026 22:13:36 +0000, Farley, Peter <[email protected]>
wrote:
>Asking here rather than on CICL-L since this is more about COBOL than CICS.
>
>This question occurred to me today as I was revising some rather old CICS
>COBOL code that uses GETMAIN'ed storage areas because I think the implementor
>wanted to make those particular storage areas unique to a given invocation of
>this program (which is called often within a long-running CICS task). It
>seems to me that LOCAL-STORAGE provides the same benefit with no overhead but
>additional stack space (the dynamic areas are under 30K bytes in total).
>
>I just became curious as to when this language feature was introduced. I
>suspect that it was a considerable time after this program was designed and
>implemented (which was well before my time here started).
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN