compress by batch
Posted: Wed Mar 24, 2010 2:20 pm
Hello,
i compress a pds whith the jcl :
//S15 EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSUT3 DD UNIT=SYSDA,SPACE=(CYL,(4,2))
//SYSUT4 DD UNIT=SYSDA,SPACE=(CYL,(4,2))
//PDS DD DISP=SHR,DSN=VTW.AW.TR
//SYSIN DD *
C INDD=PDS,OUTDD=PDS
But sometimes the PDS : VTW.AW.TR is still open even if the batch is ended...
And i don't know why...
Do you know this problem ?
Do you know an other way to compress a PDS ?.
Or may be, i have to add a step ( at the end of JCL) to free teh PDS ?
Thanks for you Help.
i compress a pds whith the jcl :
//S15 EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSUT3 DD UNIT=SYSDA,SPACE=(CYL,(4,2))
//SYSUT4 DD UNIT=SYSDA,SPACE=(CYL,(4,2))
//PDS DD DISP=SHR,DSN=VTW.AW.TR
//SYSIN DD *
C INDD=PDS,OUTDD=PDS
But sometimes the PDS : VTW.AW.TR is still open even if the batch is ended...
And i don't know why...
Do you know this problem ?
Do you know an other way to compress a PDS ?.
Or may be, i have to add a step ( at the end of JCL) to free teh PDS ?
Thanks for you Help.