Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
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
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3264
Location: Charlotte,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: 126

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1