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

Question about DISP=MOD


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

New User


Joined: 08 Sep 2014
Posts: 1
Location: India

PostPosted: Tue Jun 16, 2015 9:14 am
Reply with quote

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
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 870
Location: The Universe

PostPosted: Tue Jun 16, 2015 10:56 am
Reply with quote

//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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1100
Location: Dublin, Ireland

PostPosted: Tue Jun 16, 2015 12:59 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Tue Jun 16, 2015 2:41 pm
Reply with quote

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
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 Question for Cobol Report Writer COBOL Programming 3
No new posts Infoprint AOPPRINT question All Other Mainframe Topics 0
No new posts CICS Web Services configuration question CICS 36
No new posts User question - dbzTHEdinosaur General Talk & Fun Stuff 2
No new posts Blksize question JCL & VSAM 12
Search our Forums:

Back to Top