View previous topic :: View next topic |
Author |
Message |
enge Beginner
Joined: 12 Oct 2004 Posts: 78 Topics: 39
|
Posted: Thu Apr 01, 2010 8:41 am Post subject: working storage take up |
|
|
hello,
is there a spot , in a listing of a compiled program cobol , where is specified how many bytes the workink storage take up?
thank very much. |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Apr 01, 2010 9:01 am Post subject: |
|
|
Never have figured out why people don't bother to look in a manual.
*CONTROL (*CBL) statement
you want the Storage map listing _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
enge Beginner
Joined: 12 Oct 2004 Posts: 78 Topics: 39
|
Posted: Thu Apr 01, 2010 9:51 am Post subject: |
|
|
i mean, this in a piece of listing
Display Filter View Print Options Help
-------------------------------------------------------------------------------
SDSF OUTPUT DISPLAY CAD3048I JOB36060 DSID 110 LINE 26,895 COLUMNS 43- 122
COMMAND INPUT ===> SCROLL ===> CSR
p pic s9(4) value zero is global. BLW=00047+BA8
IMP
x(77) is global. BLW=00047+BB0
next i can find the linkage section. have i to take BB0 and convert in decimal? |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Apr 01, 2010 10:33 am Post subject: |
|
|
BLW=00047+BB0
BB0 is an offset which provides a starting address.
are you using the options that I suggested?
you should also read the manual in order to familiarize yourself with compile listings,
various print options and how to read the listing. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu Apr 01, 2010 10:43 am Post subject: |
|
|
enge,
DBZ already pointed you in the right direction. Add this line before ID division and re-compile your program and check at the bottom of the listing
Now go back and read the link about the option in link dbz provided
Kolusu |
|
Back to top |
|
|
enge Beginner
Joined: 12 Oct 2004 Posts: 78 Topics: 39
|
Posted: Tue Apr 13, 2010 7:57 am Post subject: |
|
|
very good,thanks to everyone |
|
Back to top |
|
|
|
|