MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Volume has no space.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
jayram99
Beginner


Joined: 16 Aug 2004
Posts: 52
Topics: 21
Location: falls church.va,usa

PostPosted: Wed Sep 21, 2016 10:00 am    Post subject: Volume has no space. Reply with quote

The SAS Job while processing 4141363 records got messages as below.
Code:

ACC20210-E,REDUCES FOR DD=WORK DSN=SYS16264.T234819.RA000.PCWD1231.R1781240 VOL=WRK109,POOL=POOL9 EXT=13
ACC20502-E VOLUME HAS NO FREE SPACE


The job didn't fail but during end of month we will receive 15 million records and there are chances that job will fail.

How to avoid job failure? Do we need to increase work space or involve system engineering team to increase volumes.

JCL is as below.
Code:

//JS20   EXEC SAS,
//           OPTIONS='$DB2DBUG',
//           ENV=&ENV,
//           COND=(4,LT),
//           DB2ENV=&DB2ENV,
//           WORK='100,100'

Appreciate your Help.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Wed Sep 21, 2016 10:24 am    Post subject: Reply with quote

What does your UNIT= parameter look like? Try
Code:
//             UNIT=(DISK,59)

_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
jayram99
Beginner


Joined: 16 Aug 2004
Posts: 52
Topics: 21
Location: falls church.va,usa

PostPosted: Wed Sep 21, 2016 12:22 pm    Post subject: Volume has no free space Reply with quote

The Job is writing to a Dataset as below.

Output File writing to TAPE.

//OFILE1 DD,DSN=&ENV.MIS.PCWD1231.BWI0010S.OFILE1(+1),,
// DISP=(NEW,CATLG,DELETE),
// LABEL=EXPDT=99000,
// DCB=(RECFM=VB,LRECL=8192,BLKSIZE=0,DSORG=PS),
// UNIT=CART
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Wed Sep 21, 2016 12:31 pm    Post subject: Reply with quote

jayram99,

It may be just that when your job ran all the temp sort work dasd pool is full. If you run the same job once again you might not see that message depending on what else is running on the system that uses temp sort work dasd pool.

However if you do get an abend, then your sysprog should be adding volumes to temp sort work dasd pools.

So send a email to the sysprog asking him to look into the messages you received and he/she can add/free up the temp dasd pool.

PS: Terry asked about sortwork allocation and you would see that in your SAS sysout and not in the JCL. SAS is dynamically allocating the sort works for you. You can remove that and code your own JCL sortwk datasets.
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Wed Sep 21, 2016 12:37 pm    Post subject: Reply with quote

In that case, try:
Code:
//             VOL=(,,,n)

where the volume count, n, is the number of expected cartridges required. See JCL Reference Manual.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Wed Sep 21, 2016 4:30 pm    Post subject: Reply with quote

Terry_Heinze,

It is NOT the output file that have an issue. It is the SAS dynamically allocating SORTWK datasets

Code:

 DD=WORK DSN=SYS16264.T234819.RA000.PCWD1231.R1781240


If OP wants to override the volume count, then hee needs to do it via SAS parms inside his program.
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group