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

Increasing space of already allocated datasets?


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

New User


Joined: 13 Mar 2006
Posts: 59
Location: UK

PostPosted: Thu Nov 29, 2007 9:07 am
Reply with quote

Hi,
Can anyone tell me how to add a volume at an existing dataset? Please let me know if it is possible at all or we have to redefine the dataset allover again.
It is a sequential dataset. While trying to repro into it the job is abending with SB37(dataset full). So is there any way to add a volume to this dataset. (The o/p dataset is already created ).

Thanks,
Arnab
Back to top
View user's profile Send private message
Agni

New User


Joined: 22 Nov 2007
Posts: 83
Location: Chennai

PostPosted: Thu Nov 29, 2007 9:30 am
Reply with quote

Arnab,

I don't think there is a way to add volumes to the existing dataset. You need to create another dataset with more space. Anyone please correct me, if i am wrong.

Thanks
Agni.
Back to top
View user's profile Send private message
arnab

New User


Joined: 13 Mar 2006
Posts: 59
Location: UK

PostPosted: Thu Nov 29, 2007 9:47 am
Reply with quote

Thanks..!

Murali,

I searched the forum for Sb37.. I didnot find answer to my question.. I need to know whether it is possible to add a volume to an existing (cataloged) dataset? If so then do I specify VOL=() along with the DSN name. The dataset is being used as DISP=SHR.

Thanks again..

regards,
Arnab
Back to top
View user's profile Send private message
Agni

New User


Joined: 22 Nov 2007
Posts: 83
Location: Chennai

PostPosted: Thu Nov 29, 2007 9:52 am
Reply with quote

Arnab,

Please refer the following links.

ibmmainframes.com/viewtopic.php?t=25639&highlight=modify+dataset
www.ibmmainframes.com/viewtopic.php?t=2110&highlight=increase
www.ibmmainframes.com/viewtopic.php?t=24106&highlight=increase

Hope it helps.

Thanks
Agni.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Nov 29, 2007 10:01 am
Reply with quote

Arnab,

FIRST LINK provide by Agni is helpful to you.
Back to top
View user's profile Send private message
arnab

New User


Joined: 13 Mar 2006
Posts: 59
Location: UK

PostPosted: Thu Nov 29, 2007 10:43 am
Reply with quote

Thanks a ton Agni and Murali. I got my answer...
"override the secondary space parameter of a dataset by addiing the space parameter to an already existing dataset. "

regards,
Arnab
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Nov 29, 2007 10:49 am
Reply with quote

Arnab,

Good. icon_biggrin.gif

Try to use 'search facility' to max before you post antyhing in the forum.
Back to top
View user's profile Send private message
arnab

New User


Joined: 13 Mar 2006
Posts: 59
Location: UK

PostPosted: Thu Nov 29, 2007 11:10 am
Reply with quote

I just tried that.. I gave the SPACE parameter with more size but its still abending wit Sb37-04..
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Nov 29, 2007 11:16 am
Reply with quote

Arnab,

Reason for SB37-04

Quote:
04 During end-of-volume processing, one of the following occurred:

1. For an output data set, all space was used on the current
volume and no more volumes were specified.

2. The system had to demount a volume in order to mount the
next volume of the data set. It was unable to demount the
volume for one of the following reasons:

a. The volume was permanently resident
b. The volume was reserved
c. Another job had data sets allocated on the volume
d. There were open data sets on the volume for the failing
task.


I guess Multi-Vol is required.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Nov 29, 2007 11:55 pm
Reply with quote

IDCAMS ADDVOL
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts Allocated cylinders of a dataset DB2 12
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
No new posts PL/I, VB Datasets and the RDW PL/I & Assembler 4
Search our Forums:

Back to Top