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
 

 

Tape volume insufficient problem

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Tape volume insufficient problem
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: 8593
Location: Back in jolly old England

PostPosted: Mon Aug 06, 2007 5:53 pm    Post subject:
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

Site Director


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

PostPosted: Mon Aug 06, 2007 9:32 pm    Post subject:
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    Post subject: Reply to: Tape volume insufficient problem
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

Site Director


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

PostPosted: Mon Aug 20, 2007 6:28 pm    Post subject:
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    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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm


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