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

Finding the space utilised and space remaining on the DASD


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
new2cobol

New User


Joined: 04 Jan 2006
Posts: 77
Location: Bangalore

PostPosted: Fri Jun 02, 2006 9:29 pm
Reply with quote

The space utilised and the space remaining on the
DASD ?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Jun 28, 2006 1:22 pm
Reply with quote

TASID will do the job.

O.
Back to top
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Thu Jun 29, 2006 12:13 pm
Reply with quote

The simple option is ,

Go to 3.4 option and then place your dataset ,use the option 'S' against the dataset.

Then the below kind of screen will apper.
Code:

                              Data Set Information                         
 Command ===>                                                               
                                                                           
 Data Set Name . . . . : XXX.YYY.KKK.JCL                               
                                                                           
 General Data                           Current Allocation                 
  Management class . . : XXXXX          Allocated tracks  . : 185         
  Storage class  . . . : XXXXX          Allocated extents . : 15           
   Volume serial . . . : XXXX                                             
   Device type . . . . : 3390                                               
  Data class . . . . . : DCNULL         Current Utilization                 
   Organization  . . . : PO              Used tracks . . . . : 176         
   Record format . . . : FB              Used extents  . . . : 15           
   Record length . . . : 80                                                 
   Block size  . . . . : 3120                                               
   1st extent tracks . : 3                                                 
   Secondary tracks  . : 13                                                 
   Data set name type  : PDS                                               
                                                                           
   Creation date . . . : 1998/01/08      Referenced date . . : 2006/06/29   
   Expiration date . . : ***None***                                         
                                                                           


You can get all the information about the dataset.

Thank you
Krishy
Back to top
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Tue Sep 19, 2006 4:09 am
Reply with quote

Its simple...

Go to 3.4 put the HLQ and enter...when you see the list of datasets...press function key PF10 and PF11 to see the informations...

Correct me If I am worng...

Thanks.
Back to top
View user's profile Send private message
vikram

New User


Joined: 08 Mar 2005
Posts: 8

PostPosted: Thu Sep 21, 2006 3:39 am
Reply with quote

Hi,

Go to 3.4 option and give the Volume name and then give V on command prompt.
Back to top
View user's profile Send private message
vicky1373

New User


Joined: 21 Jan 2006
Posts: 7

PostPosted: Tue May 22, 2007 10:58 pm
Reply with quote

how can we determine the space if its a VSAM file
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue May 22, 2007 11:50 pm
Reply with quote

Hello,

Have the above replies answered your question?
Quote:
The space utilised and the space remaining on the DASD ?


Do you want to know how full a file is or how full a dasd device is? They are completely different questions.
Back to top
View user's profile Send private message
vicky1373

New User


Joined: 21 Jan 2006
Posts: 7

PostPosted: Thu May 24, 2007 3:48 am
Reply with quote

I wanted to check how full the file is... Whats the current utilization of the file... When I just do the ListCat on the file I see the number of extents and primary space but not the actual size of the VSAM. It will be great if you could answer it...
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu May 24, 2007 5:08 am
Reply with quote

Hello,

Please try this link http://ibmmainframes.com/viewtopic.php?t=21126&highlight=vsam+space

It looks like this question was answered yesterday.

If that does not get what you want, please let us know.
Back to top
View user's profile Send private message
vicky1373

New User


Joined: 21 Jan 2006
Posts: 7

PostPosted: Thu May 24, 2007 10:16 pm
Reply with quote

does that mean if high used RBA and high alloc RBA are equal, the file is 100% full and it cannot take anymore records in it.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu May 24, 2007 10:27 pm
Reply with quote

No, it means that the current allocation of extents is used. If secondary extents have been allocated, or even additional DASD volumes, then the file will continue to grow.

Obviously if the file has reached 123 extents then unless another volume has been defined it will not accept more records.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu May 24, 2007 10:28 pm
Reply with quote

the only starting point to analyze dasd utilization is the DCOLLECT output
augmented by the storage administrator samples from dfsort

for DCOLLECT look at the AMS refernece manual

for the storage administrator dfsort samples look at
http://www-304.ibm.com/jct01004c/systems/support/storage/software/sort/mvs/srtmpkg.html

regards
Back to top
View user's profile Send private message
vicky1373

New User


Joined: 21 Jan 2006
Posts: 7

PostPosted: Fri May 25, 2007 7:42 pm
Reply with quote

How can we determine how many CYL, TRKS, BLKS used for a given VSAM on knowing the high used RBA and high alloc RBA
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri May 25, 2007 9:48 pm
Reply with quote

About six posts below this one is this one

http://www.ibmmainframes.com/viewtopic.php?t=21126

Which if you had searched, you may have found yourself.
Back to top
View user's profile Send private message
vicky1373

New User


Joined: 21 Jan 2006
Posts: 7

PostPosted: Fri May 25, 2007 10:49 pm
Reply with quote

Thanks for the answers - But the above link gives me the percentage... Does the High used RBA and high alloc RBA gives me the physical space in CYLS. When I do Listcat I get the Extents and Tracks. Is that the physical space used by the file?

Thanks
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts Finding faulty logic Subscript out of... COBOL Programming 5
No new posts DASD - non SMS - volser change - VSAM... JCL & VSAM 2
Search our Forums:

Back to Top