View previous topic :: View next topic
|
Author |
Message |
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
Hi,
Can anybody tell me how to calculate the size of working storage section in the cobol program and how to calculate the frequency of execution of a program through rexx. |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
for calculating the working storage section size
give cc in command line in starting and end positin and in command prompt give rlcl and enter
i think it will work |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hello Pradeep,
I think the solution you have provide is shop specific & It seems that in your shop you have rexx which used provide the result.
It wont work on other mainframes |
|
Back to top |
|
|
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
No it is not working .Getting a message
IKJ56500I COMMAND RLCL NOT FOUND |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
as far as calculating the length, suggest your rexx script scan thru a compile listing with map or offset parms. It is no fun writing a compiler in rexx.
as far as your second question; where would you think this kind of information is stored? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
with db2 programs you would not even have a chance at calculating the size of working storage from the source listing. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
working storage ...
if You had searched the forums You would have found ...
ibmmainframes.com/viewtopic.php?t=35283
never heard of the compelling need to find the working storage length
interactively thru rexx
program execution frequency
the best source are the SMF datasets
( talk to your support to se their availability ) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
And had you have searched, you may have found this same topic
Click HERE to see what has aleady been said. |
|
Back to top |
|
|
|