View previous topic :: View next topic
|
Author |
Message |
harifsheik
New User
Joined: 08 Sep 2014 Posts: 1 Location: India
|
|
|
|
Hi, I am a mainframe operator,
I have received a same error "Space not specified for allocation of dataset", but in DD statement it has mentioned DISP=MOD. the dataset is already created and 80% of the space has been used. The data has to be append in the dataset.
do I need to mentioned the Space parameter again?
"Note: the JCL is in production" |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
//xxx DD DISP=MOD,DSN=...
If the data set exists, you usually do not need a SPACE parameter, at least in JCL. You may get an Sx37 ABEND adding data to the data set, but JCL should be happy.
Now the next question. Is the data set cataloged? If it is not cataloged, then, yes, you would probably require a SPACE parameter. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
First, you should NOT re-open old threads with a new question. This thread was last used 8 years ago! You should open a new thread.
As Steve said, if the dataset isn't cataloged you would probably need a space parameter. You would also require VOL=SER=?????? so the system knows where to place the dataset. If the dataset already exists and is not catalogued, then the VOLSER in JCL must reference the disk where it exists - otherwise it will be considered to be a new dataset.
Garry |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Is the DISP=MOD (not exactly that) being used in an IEFBR14 step to delete a dataset if it is there and if it is not, first create it then delete it?
A subsequent step would have the DISP=NEW (not exactly that) also with the SPACE.
Perhaps you could show the full JCL of the step with the DISP=MOD? |
|
Back to top |
|
|
|