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 star=
ts 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 s=
torage section. Now keep in mind that in memory, there are TWO working sto=
rage sections. One in the load module as you say, but that the real one ha=
s been relocated by the cobol loader and it's somewhere in memory. Otherwi=
se, 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