MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

any ways toReduce unused allocated primary storage on VSAM

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
jimmy_augustine
Beginner


Joined: 23 Jun 2004
Posts: 32
Topics: 13

PostPosted: Thu Sep 16, 2004 3:59 am    Post subject: any ways toReduce unused allocated primary storage on VSAM Reply with quote

Hi
Is there an online facility in FileAid to reduce unused allocated primary storage on VSAM files or is it a matter of repro-ing the file to FLAT file and reallocating based on a new primary allocation?

Thanks
JIMMY
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Sep 16, 2004 5:37 am    Post subject: Reply with quote

jimmy_augustine,

As far as I know there is no Online Facility to reduce the primary quantity.The following JCl is used to release any unused space

Code:

//STEP0100 EXEC PGM=IEBGENER                         
//SYSPRINT DD  SYSOUT=*                             
//SYSUT1   DD  DUMMY,                               
//             DCB=(LRECL=nnn,RECFM=F,BLKSIZE=0)     
//SYSUT2   DD  DSN=YOUR VSAM FILE,
//             DISP=(MOD,KEEP,KEEP),                 
//             SPACE=(TRK,(1,1),RLSE)               
//SYSIN    DD  DUMMY                                 
//*                             



Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vara prasad
Beginner


Joined: 01 May 2003
Posts: 2
Topics: 0

PostPosted: Thu Sep 16, 2004 7:10 am    Post subject: Reply with quote

A proper way could be,
to calculate the amount of space required and doing the space allocation accordingly.

In your case, you may have to re organise the VSAM file.

Regards,
Vara.
_________________
Thanks & Regards,
Vara Prasad.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group