Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Question about DISP=MOD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Reply to: IGD17045I SPACE NOT SPECIFIED for allocation of dataset
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 User


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

PostPosted: Tue Jun 16, 2015 10:56 am    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Jun 16, 2015 12:59 pm    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7234

PostPosted: Tue Jun 16, 2015 2:41 pm    Post subject: Reply to: Question about DISP=MOD
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts SQL Order By related question Joseph K Thomas DB2 8 Fri Mar 18, 2016 12:53 pm
No new posts DFSort Question krrp DFSORT/ICETOOL 9 Mon Mar 07, 2016 7:11 pm
No new posts DISP=(SHR,PASS) performance opinion steve-myers JCL & VSAM 1 Wed Dec 02, 2015 11:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us