Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us