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

Tape volume insufficient problem


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

New User


Joined: 17 Sep 2006
Posts: 24

PostPosted: Mon Aug 06, 2007 9:02 am
Reply with quote

have a output file which has about 40000000 Records. I gave the output to write to TAPE

//OUTPUT1 DD DSN=JIPS.UTYU.MNS135NS.MNS13502.OUT,
// UNIT=CART,DISP=(NEW,CATLG),VOL=(,RETAIN),
// RECFM=VB,LRECL=7498,BLKSIZE=32760,BUFNO=45


This is giving space abend. So how to increase the space still. Because if we are writing to DASD , we can increase the drives from UNTI=PRODDA to UNIT=(PRODDA,10) to use 10 drives. But i have a doubt on how to increase the tape number.
Please help me in this.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Aug 06, 2007 5:53 pm
Reply with quote

Could you please show the output from your space abend when writing to tape ?

Or do you mean that the system default for the number of tape volumes has been exceeded and you have received an abend ?

Try this
UNIT=(CART,1),VOL=(,,,99)

Why you would want to specify ,RETAIN for a multi volume output is a bit strange to me.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 06, 2007 9:32 pm
Reply with quote

'Cause we always do it that way. . .

As Expat mentions, you don't want to use 99 UNITs, but you will want more VOLumes.

How long are the records being written to this "cart"?

What model of cart are you using (different types of carts have different capacity)?

You might ask your storage management people, they may have a suggestion about a different UNIT specification.
Back to top
View user's profile Send private message
krishna_Murty
Warnings : 2

New User


Joined: 17 Sep 2006
Posts: 24

PostPosted: Mon Aug 20, 2007 3:59 pm
Reply with quote

I am so sorry for dealy, i got this working if i code
UNIT=CART,DISP=(NEW,CATLG),VOL=(,RETAIN,,10),

here previously i had VOL=(,RETAIN), so once when i got the space abend
i used VOL=(,RETAIN,,10),

It worked for me.

I feel its bcoz we are using 10 Volumes of tape.
Am i right?,
if anyone can explain more i would be so much glad for the information.


Regards
KRISHNA
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 20, 2007 6:28 pm
Reply with quote

Hello,

Using "10" and having the job run successful means that your data fit on 10 or less volumes. To know the number of volumes actually used, you can look at your tape management information or the system catalog. If you have the output from the job that created the output, it will show how many volumes were used.

If you actually used 8 or 9 volumes, i'd suggest you change your jcl to 15 and periodically check how many actual volumes were used.

You might also talk with your tape management and see if your system uses (and your dataset qualifies to use) a higher volume type of cart.
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 Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Deleting a Tape file JCL & VSAM 14
No new posts Insufficient Storage ABENDS & Debugging 7
No new posts Volume chain using DFSORT DFSORT/ICETOOL 17
No new posts z/vm installation problem All Other Mainframe Topics 0
Search our Forums:

Back to Top