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
 

 

VSAM file space used - REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
ranandha

New User


Joined: 05 May 2006
Posts: 2

PostPosted: Wed Dec 06, 2006 1:34 pm    Post subject: VSAM file space used - REXX
Reply with quote

Using REXX can I find the VSAM file attributes space allocation and space used?
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Dec 06, 2006 10:23 pm    Post subject: Re: VSAM file space used - REXX
Reply with quote

Are LISTCAT and/or LISTDSI not giving you what you need?
Back to top
View user's profile Send private message
ranandha

New User


Joined: 05 May 2006
Posts: 2

PostPosted: Thu Dec 07, 2006 2:32 pm    Post subject: Re: VSAM file space used - REXX
Reply with quote

LISTCAT and LISTDSI does not give the exact VSAM space used...
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Thu Dec 07, 2006 10:20 pm    Post subject:
Reply with quote

you can get all information from LISTCAT
and then you have to calculate the allocated
tracks, used tracks and percent. here is an
example from my vsam dataset rexx.

ATRK = ARBA/CISZ/CICA*TRKS
UTRK = URBA/CISZ/CICA*TRKS
UPER = UTRK/ATRK*100

ATRK = FORMAT(ATRK,,0)
UTRK = FORMAT(UTRK,,0)
UPER = FORMAT(UPER,,0)

Allocation
Allocated Tracks: 19125
Allocated Extents: 3

Utilization
Used Tracks: 18810
Used Percent: 98
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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