Release space by volume or catalog ?



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

Release space by volume or catalog ?

Postby samb01 » Fri Aug 24, 2018 3:07 pm

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.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Release space by volume or catalog ?

Postby enrico-sorichetti » Fri Aug 24, 2018 3:21 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Release space by volume or catalog ?

Postby samb01 » Fri Sep 07, 2018 6:23 pm

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..
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Release space by volume or catalog ?

Postby Robert Sample » Mon Sep 10, 2018 7:20 pm

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.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Release space by volume or catalog ?

Postby samb01 » Mon Sep 10, 2018 7:35 pm

Hello Robert Sample. I thought about it but i was not sure. So thank's for your answer. I am quiet now ;)
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post