Page 1 of 1

Release space by volume or catalog ?

PostPosted: Fri Aug 24, 2018 3:07 pm
by samb01
Heelo,

i would like to release space of many datasets, but about you and your experience, wiche is the bset solution.
:

Releasing by catalog with this syntax :

//SYSIN    DD   *
 RELEASE INCLUDE(**)    -
  INCAT(CATALOGA) ONLYINCAT /* ONLY FROM CATALOG */
/*
 


or Releasing by volume, i don't have the syntaxe. I don't know if ADRDSSU can do it.

Re: Release space by volume or catalog ?

PostPosted: Fri Aug 24, 2018 3:21 pm
by enrico-sorichetti
I don't know if ADRDSSU can do it.

after more than 250 posts You should know how to look at the manual
You were already given the links, they might not work now because IBM f***ed up things

here is AGAIN the top link to the IBM manuals
https://www-01.ibm.com/servers/resource ... enDocument

PS
a forum is not the best place for free continued consultancy
after a while You get tagged and people will be less than willing to spend their time helping

Re: Release space by volume or catalog ?

PostPosted: Fri Sep 07, 2018 6:23 pm
by samb01
I tried to release a volume by excludind PDS and VSAM with this JCL :


//STEP3 EXEC  PGM=ADRDSSU                        
//SYSPRINT DD    SYSOUT=*                        
//SYSIN    DD    *                                
 RELEASE INCLUDE(**)  -                          
         EXCLUDE(SYS1.*.**,CATALOG.*.**) -        
   BY(DSORG,NE,(PDS,VSAM)) -                      
   DYNAM(CFDRSQ) -                                
   MINTRKS(5) -                                  
   WAIT(0,0)                                      
/*                                                

 


but i still those message in the sysout :


MIM1038I XDERELA JOB03322 A=0065 T=BF8588 contention with USER101 A=0481 T=AFF6
MIM1039I XDERELA JOB03322 A=0065 T=BF8588 needs EXCL SYSDSN USET27.FREDM.JCL
MIM1038I XDERELA JOB03322 A=0065 T=BF8588 contention with TPODSER1 A=01BC T=AF8
MIM1039I XDERELA JOB03322 A=0065 T=BF8588 needs EXCL SYSDSN T.XLVP.MODLIB.ODNS


i can't anderstand why there are thse messages because i used the option :


 BY(DSORG,NE,(PDS,VSAM)) -
 


and USET27.FREDM.JCL, T.XLVP.MODLIB.ODNS are PDS..

Re: Release space by volume or catalog ?

PostPosted: Mon Sep 10, 2018 7:20 pm
by Robert Sample
The manual states that the system gets the (exclusive) access to the data set BEFORE looking to see if it is a PDS (ie, applying the BY criteria). Hence what you see is normal and expected behavior.

Re: Release space by volume or catalog ?

PostPosted: Mon Sep 10, 2018 7:35 pm
by samb01
Hello Robert Sample. I thought about it but i was not sure. So thank's for your answer. I am quiet now ;)