working storage take up
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> Application Programming

#1: working storage take up Author: enge PostPosted: Thu Apr 01, 2010 8:41 am
    —
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.

#2:  Author: dbzTHEdinosauerLocation: germany PostPosted: Thu Apr 01, 2010 9:01 am
    —
Never have figured out why people don't bother to look in a manual.

*CONTROL (*CBL) statement

you want the Storage map listing

#3:  Author: enge PostPosted: Thu Apr 01, 2010 9:51 am
    —
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?

#4:  Author: dbzTHEdinosauerLocation: germany PostPosted: Thu Apr 01, 2010 10:33 am
    —
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.

#5:  Author: kolusuLocation: San Jose PostPosted: Thu Apr 01, 2010 10:43 am
    —
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

Code:
CBL MAP


Now go back and read the link about the option in link dbz provided

Kolusu

#6:  Author: enge PostPosted: Tue Apr 13, 2010 7:57 am
    —
very good,thanks to everyone



MVSFORUMS.com -> Application Programming


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group