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
 

 

How %used is calculated for REXX Datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
karthik-guruprasad

New User


Joined: 17 Apr 2007
Posts: 6
Location: chennai

PostPosted: Wed Apr 25, 2007 3:22 am    Post subject: How %used is calculated for REXX Datasets
Reply with quote

My dataset name is


Data Set Name . . . : CEC.GY338.REXX

General Data Current Allocation
Volume serial . . . : TS004E Allocated blocks . : 6
Device type . . . . : 3390 Allocated extents . : 1
Organization . . . : PO Maximum dir. blocks : 40
Record format . . . : FB
Record length . . . : 80
Block size . . . . : 27920 Current Utilization
1st extent blocks . : 6 Used blocks . . . . : 3
Secondary blocks . : 10 Used extents . . . : 1
Used dir. blocks . : 1
Creation date . . . : 2007/04/18 Number of members . : 2
Referenced date . . : 2007/04/24
Expiration date . . : ***None***


When you see the percentage used it is 66% .How this is calculated and more over when it comes to cylinder how will that be calculated.

Command - Enter "/" to select action Tracks %Used
-------------------------------------------------------------------------------
CEC.GY338.REXX 3 66



Can Anyone explain how this is calculated
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Apr 26, 2007 6:20 am    Post subject:
Reply with quote

Hello,

"REXX" datasets (if i understand your question) are no different than other partioned datasets.

The % used is calculated by taking the amount of space used and dividing by the total space. Using that answer (a percent), you can subtract from 100 and see the % of space used and the free space %.

Keep in mind that a pds may be "full" with only one member. This is because space is not dynamically reclaimed when an updated version of a member is saved. Compressing the library will "free" the unused space.

Cylindars may calculated by dividing the number of tracks by 15. Keep in mind that different device types have different capacities, so the "same" space allocation will allocate different amounts of physical space - check with your storage management people for which device types your location uses. I'd suggest you look at this prior topic:
http://ibmmainframes.com/viewtopic.php?t=17868

If i misunderstood your question, please ask for more.
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 Apr 26, 2007 1:04 pm    Post subject:
Reply with quote

The other thing to remember is that in a PDS/PDSE the directory will also take up some space.

FOR PDS - The usual rate of consumption for a 3390 is that one track will accomodate 45 directory blocks, with each directory block containing 6 members with stats on or 8, I think, with stats off.

The only anomoly with this is allocation that the first track of directory will only accomodate 44 directory blocks.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am


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