Posted: Wed Feb 04, 2004 11:35 am Post subject: Can someone share a utility to stack files to tape?
Hello ,
We have lot of sequential files with the naming convention starting with LAV.BUP.*.MAT and we want to backkup these files to tape to reclaim some space. We have no tool to generate the JCL such that the datasets will be stacked on Tapes.
Is there any method for doing this and be able to stack datasets?
Can anybody help me on this..THis has to be done soon
Yes, Kolosu, I want to copy the files to tape and stack it to a volume, which is the second example you gave. I could (and may well have to) manually do that if I didn't to do it for over 200 datasets.
I am interested in a utility that can generate the JCL as you have showed it including especially the Labe= and Vol= parameters.
Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
Posted: Wed Feb 04, 2004 3:39 pm Post subject:
Another alternative would be to utilise one of the backup utilities such as DFSDSS. This has the advantage of not requireing labels, seperate steps, perhaps speed, and ease of use.
This example will backup all datasets that are named DPRD#G.TSC.MIT?TABS (where ? can be any character) and all datasets that are named DPRD#G.TSC.ISP?LIB (again where ? represents any character) and finally the dataset DPRD#G.TSC.LOADLIB).
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Wed Feb 04, 2004 3:41 pm Post subject:
Okonita,
The following JCl will give you the desired results. I am assuming that all your output tape files will have the following naming convention.
Code:
TAPE.LAV.BUP.*.MAT
A brief explanation of the job.
Step0100 creates the listcat info for the datasets matching the pattern LAV.BUP.*.MAT
Step0200 takes in the listcat info and creates a dynamic jcl steps for all the file names.
Step0300 just creates a job which will submitted via INTRDR to copy all the datasets stacking them on to a single volume.
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