ca.portal.admin

Re:Re: COBOL question

Discussion created by ca.portal.admin on Jun 9, 2009
One trick programmers do, is to include a filler with 'working
storage starts here' at the beginning of working storage. But,
a 'map' compile option will give you a map of relative
displacements for all elements in working storage section. Now
keep in mind that in memory, there are TWO working storage
sections. One in the load module as you say, but that the real
one has been relocated by the cobol loader and it's somewhere
in memory. Otherwise, the program would not be reentrant, and
in an online system you'd need one copy of the program in
memory for each invocation.

Lutz Petzold
TDM UDB/IDMS Support
401-782-2265
Page 860 366 0865 or Telalert

Outcomes