Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download No PDF Handheld DisconnectedHandheld ConnectedHelp

X 5.1.3 Local-Storage Section




X The Local-Storage Section defines storage that is allocated and freed on a
X per-invocation basis. On each invocation, data items defined in the
X Local-Storage Section are reallocated and initialized to the value
X assigned in their VALUE clauses. Data items defined in the Local-Storage
X Section cannot specify the EXTERNAL clause.


X The Local-Storage Section must begin with the header LOCAL-STORAGE SECTION
X followed by a separator period.


X You can specify the Local-Storage Section in recursive programs, in
X non-recursive programs, and in methods.


X Note: Method Local-Storage content is the same as a program Local-Storage
X content except that the GLOBAL attribute has no effect (since methods
X cannot be nested).


X A separate copy of the data defined in a method Local-Storage section is
X created each time the method is invoked. The storage allocated for the
X data is freed when the method returns.

Previous Topic Next Topic © Copyright IBM Corp. 1991, 1998

IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.





Return to library:   z/OS | z/OS.e | TPF | z/VSE | z/VM | IBM Hardware | IBM System z Redbooks
Glossary:   IBM terminology
Publications:   How to order publications
Readers:   Download IBM Library Reader | Download IBM Softcopy Reader | Download Adobe® Acrobat® Reader®
Library management:   Download IBM Softcopy Librarian
Contacts:   Contact z/OS


Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.