Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Calculate size of working storage section

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Calculate size of working storage section
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    Post subject:
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: 1187
Location: Bangalore,India

PostPosted: Thu Oct 23, 2008 1:48 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Thu Oct 23, 2008 2:12 pm    Post subject: Reply to: Calculate size of working storage section
Reply with quote

working storage ...
if You had searched the forums You would have found ...
http://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: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 23, 2008 2:13 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts GETMAIN / FREEMAIN versus STORAGE OBT... steve-myers PL/I & Assembler 8 Wed Feb 01, 2017 1:45 am
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts SCRNAME not working on my mainframe? mrsidhu12 TSO/ISPF 7 Thu Sep 01, 2016 2:17 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us