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).

Peter


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to