IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Calculate size of working storage section


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Thu Oct 23, 2008 12:49 pm
Reply with quote

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
View user's profile Send private message
pradeepkit
Warnings : 1

New User


Joined: 25 Jun 2008
Posts: 60
Location: chennai

PostPosted: Thu Oct 23, 2008 1:01 pm
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Thu Oct 23, 2008 1:48 pm
Reply with quote

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
View user's profile Send private message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Thu Oct 23, 2008 1:50 pm
Reply with quote

No it is not working .Getting a message
IKJ56500I COMMAND RLCL NOT FOUND
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Oct 23, 2008 2:09 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Oct 23, 2008 2:11 pm
Reply with quote

with db2 programs you would not even have a chance at calculating the size of working storage from the source listing.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 23, 2008 2:12 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Oct 23, 2008 2:13 pm
Reply with quote

And had you have searched, you may have found this same topic

Click HERE to see what has aleady been said.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
Search our Forums:

Back to Top