MVSFORUMS.com A Community of and for MVS Professionals
View previous topic :: View next topic
Author
Message
s_shivaraj Beginner Joined: 21 Sep 2004 Posts: 140 Topics: 14 Location: Chennai, India
Posted: Fri Dec 24, 2004 1:13 am Post subject: Optimized Copy
Hi FUNDUS,
How to copy a dataset (which is allocated with Lot of Cylinders but holding only a % of it _________________ Cheers
Sivaraj S
'Technical Skill is the Master of complexity, while Creativity is the Master of Simplicity'
Back to top
kolusu Site Admin Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Fri Dec 24, 2004 8:49 am Post subject:
s_shivaraj ,
After copying you can add the following step to release all the unused space.
Code:
//STEP0100 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DUMMY,
// DCB=(LRECL=nnn,RECFM=AA,BLKSIZE=0)
//SYSUT2 DD DSN=YOUR SEQ FILE,
// DISP=(MOD,KEEP,KEEP),
// SPACE=(TRK,(1,0),RLSE)
//SYSIN DD DUMMY
//*
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu
Back to top
s_shivaraj Beginner Joined: 21 Sep 2004 Posts: 140 Topics: 14 Location: Chennai, India
Posted: Tue Dec 28, 2004 6:02 am Post subject:
Thanks Kolusu.
Can i have the same for VSAM too. _________________ Cheers
Sivaraj S
'Technical Skill is the Master of complexity, while Creativity is the Master of Simplicity'
Back to top
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