View previous topic :: View next topic |
Author |
Message |
jimmy_augustine Beginner
Joined: 23 Jun 2004 Posts: 32 Topics: 13
|
Posted: Thu Sep 16, 2004 3:59 am Post subject: any ways toReduce unused allocated primary storage on VSAM |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Sep 16, 2004 5:37 am Post subject: |
|
|
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 |
|
 |
vara prasad Beginner
Joined: 01 May 2003 Posts: 2 Topics: 0
|
Posted: Thu Sep 16, 2004 7:10 am Post subject: |
|
|
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 |
|
 |
|
|