View previous topic :: View next topic
|
Author |
Message |
Edward Nelson
New User
Joined: 08 Feb 2013 Posts: 2 Location: India
|
|
|
|
Hi,
Are there any REXX commands which would help in finding out the memory occupied by a COBOL working storage variable ?
The requirement is to develop a REXX tool which will create a report listing all the variables used in a COBOL program along with the memory occupied by those variables.
Any pointers will be highly appreciated.
Thanks and Regards,
Edward. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
unless You want to reimplement Yourself in REXX all the quirks of compiling a cobol fragment
the fastest and reasonable way is to analyse the listings of the compilations
but if You google or search the forum You might find some <partial> implementations |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Print the listing. Burst all the pages. Staple together those mapping the data division. Use correcting-fluid to blank out the Compile information on the top line of each page and replace with "Dun by Rexx". |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Edward Nelson wrote: |
Hi,
Are there any REXX commands which would help in finding out the memory occupied by a COBOL working storage variable ?
The requirement is to develop a REXX tool which will create a report listing all the variables used in a COBOL program along with the memory occupied by those variables. |
And which moron gave you this requirement? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
replace with "Dun by Rexx". |
LIKE button! |
|
Back to top |
|
|
|