Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

JCL & VSAM :: stacking files on a tape

$
0
0
Author: Pedro
Subject: stacking files on a tape
Posted: Wed Aug 17, 2016 11:11 pm (GMT 5.5)

I am not a user of tapes.

Someone asked me about how to 'stack files' on a tape, from my tool. I probably need to change the JCL that is created. I hope someone can correct me if I am wrong.

Is it a matter of simply using a series of DD statements like this?
Code:
//OUT1  DD DISP=(,CATLG),DSN=USERID.TEST.WORK1,LABEL=(1,SL), 
//   UNIT=3480,VOL=SER=FORUM                                 
//OUT2  DD DISP=(,CATLG),DSN=USERID.TEST.WORK2,LABEL=(2,SL), 
//   UNIT=3480,VOL=SER=FORUM 
//OUT3  DD DISP=(,CATLG),DSN=USERID.TEST.WORK3,LABEL=(3,SL), 
//   UNIT=3480,VOL=SER=FORUM 

_________________
Pedro Vera


Viewing all articles
Browse latest Browse all 8500

Trending Articles