IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Difference between working and local storage section.


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Novice

New User


Joined: 27 Oct 2004
Posts: 8
Location: Bangalore,INDIA

PostPosted: Wed Oct 27, 2004 9:10 am
Reply with quote

What are the diffrerence between working storage and local storage sections? Could any one describe with an example please.

Regards
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Oct 27, 2004 9:36 am
Reply with quote

Is the explanation and example from IBM not sufficient?

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG20/1.1.3.2?DT=20040220035836#HDRHDRVERK
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Wed Apr 06, 2005 5:36 pm
Reply with quote

sorry to say superk i didn't get any information with the link what u have provided. Though the topic discussed almost 1 yr back, but i joined just few days back so i was going thru it. In the link provided by you conatins information how the Working storage varibale acts and all.Apart from that it is being mentioned that
"A separate copy of LOCAL-STORAGE data is allocated for each call of a program or invocation of a method, and is freed on return from the program or method. "

and with working storage varibale even, when control return back then also all the memory get deallocated.isn't both are the same.
and at the same time if you don't mind can you plz tell me where
LOCAL-STORAGE is used, i mean which division and what is the purpose behind that.
Back to top
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Wed Apr 06, 2005 6:52 pm
Reply with quote

Kanak
Did you check the link provided by Superk properly? There is a link
for the examples.
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG20/1.1.3.2.1?DT=20040220035836#HDRWQ38
Also they have provided some other threads in the related tasks section.

hth
-Som
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts Def PD not working for unsigned packe... JCL & VSAM 3
Search our Forums:

Back to Top