Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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

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


Active Member

Joined: 30 Nov 2013
Posts: 859
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

Senior Member

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

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.

Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator

Joined: 09 Mar 2011
Posts: 7312

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 Question for Cobol Report Writer jackzhang75 COBOL Programming 3 Wed May 27, 2020 4:35 am
No new posts Infoprint AOPPRINT question ecsk All Other Mainframe Topics 0 Fri May 15, 2020 12:35 pm
No new posts CICS Web Services configuration question SickPup404 CICS 36 Mon Nov 04, 2019 9:56 pm
No new posts User question - dbzTHEdinosaur SickPup404 General Talk & Fun Stuff 2 Mon Nov 04, 2019 9:47 pm
No new posts Blksize question darioits JCL & VSAM 12 Tue Sep 10, 2019 8:32 pm

Back to Top
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us