IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Volume not available for a dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
faizm

New User


Joined: 13 Apr 2012
Posts: 59
Location: India

PostPosted: Fri Jul 06, 2012 4:20 pm
Reply with quote

Hi,

I am trying to delete a dataset (this was originally a VSAM dataset and had huge amount of records) but it throws "volume not available". I am not able to use any other option (like I, R etc) as well on this dataset. I have to delete this dataset and need to define it again. Can anybody help me on this.

Thanks
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Jul 06, 2012 4:29 pm
Reply with quote

Do you get any other info too?

When you get the error, please press F1 (possibly two times for more complete info).
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 06, 2012 4:55 pm
Reply with quote

Your best option is to contract your site support group and work with them. They can find out why the message is showing up and will know what to do about it.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Jul 06, 2012 8:32 pm
Reply with quote

Quote:
but it throws "volume not available".
When does this error come? When you locate the DS using ISPF 3.4 and issue "Delete"?

A very vague suggestion, try LISTCAT and see what it offers and before you throw yourslef in to a towel with my suggestion, contact your Site Support Group as Robert has said.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jul 06, 2012 8:44 pm
Reply with quote

hae you tried ispf option 3.2.v?
Back to top
View user's profile Send private message
faizm

New User


Joined: 13 Apr 2012
Posts: 59
Location: India

PostPosted: Tue Jul 10, 2012 12:33 pm
Reply with quote

I am trying deleteing the multivolume VSAM file and it throws the below error

Code:
VSAM CATALOG RETURN CODE IS 60 - REASON CODE IS IGG0CLFM-4
.

While doing a syntax scan in JCl it throws the below information:

Code:
NO "3390" UNITS ARE AVAILABLE FOR "####XX"
VOLUME "####XX" - VOLUME IS NOT MOUNTED


what should be the approach in order delete this multivolume vsam file.
Thanks
Back to top
View user's profile Send private message
faizm

New User


Joined: 13 Apr 2012
Posts: 59
Location: India

PostPosted: Tue Jul 10, 2012 1:27 pm
Reply with quote

Hi All,

Issue is resolved and I am able to delete the file now. I simply used the below IDCAMS DELETE command.
Code:
//STEP01   EXEC PGM=IDCAMS     
//SYSPRINT DD  SYSOUT=*       
//SYSIN    DD *                   
   DELETE (AAA.BBB.CCC.FILE) -
          NONVSAM NOSCRATCH       
/*                               


Thank you.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top