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

Stacking multiple DASD volumes on to tape


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
T.O.

New User


Joined: 27 Apr 2006
Posts: 23

PostPosted: Wed Oct 18, 2006 10:57 pm
Reply with quote

I want to stack multiple DASD volumes on to tape. I created a job with retain and referbacks like this.

//STEP010.TAPEA DD LABEL=(2,SL),
// VOL=(,RETAIN,,REF=*.PROC010.STEP010.TAPEA)


//PROC030 EXEC MASHBKS1,VOL=STRB92
//STEP010.TAPEA DD LABEL=(3,SL),
// VOL=(,RETAIN,,REF=*.PROC010.STEP010.TAPEA)

etc

The trouble is when the previous step goes into a second volume it fails. How do I avoid this ?
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Oct 20, 2006 6:42 am
Reply with quote

Hi T.O.

Try coding the # of vols in the VOL param. Ive seen 999 used when the # required is unknown.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
No new posts Multiple INSPECTS on a big size file COBOL Programming 6
Search our Forums:


Back to Top