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

Need Short Cut to Take Dump of Volumes


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

New User


Joined: 12 Jul 2016
Posts: 5
Location: India

PostPosted: Wed Jul 13, 2016 5:54 pm
Reply with quote

Code:
//TPBKPJCL JOB ,'XXXX',MSGLEVEL=(1,1),TIME=(5,0),REGION=4096K,       
//      MSGCLASS=H,CLASS=A                                           
//STEPT01  EXEC PGM=ADRDSSU                                         
//SYSPRINT DD SYSOUT=*                                               
//INDD     DD UNIT=3390,VOL=SER=S1RES1,DISP=OLD                     
//OUTDD    DD UNIT=591,VOL=(PRIVAT,SER=TP52SY),DISP=(NEW,CATLG),     
//            DSN=TBK01.S1RES1,LABEL=(1,SL)                         
//SYSIN    DD *                                                     
 DUMP FULL INDDNAME(INDD) OUTDDNAME(OUTDD) -                         
       ALLEXCP                                                       
/*                                                                   
//STEPT02  EXEC PGM=ADRDSSU                                         
//SYSPRINT DD SYSOUT=*                                               
//INDD     DD UNIT=3390,VOL=SER=S1RES2,DISP=OLD                     
//OUTDD    DD UNIT=591,VOL=(PRIVAT,SER=TP52SY),DISP=(NEW,CATLG),     
//            DSN=TBK02.S1RES2,LABEL=(2,SL)                         
//SYSIN    DD *                                                     
 DUMP FULL INDDNAME(INDD) OUTDDNAME(OUTDD) -                         
       ALLEXCP                                                       
/*                               


Suppose i have 80 VOLS to be backed up - what is the best solution - Referback Operands - How to code the same - Need some hint
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jul 13, 2016 6:00 pm
Reply with quote

Dumping 80 volumes to ONE tape volume is the dumbest thing You could ever do.

it will certainly go multivolume
it will prevent parallel dump
it will prevent parallel recovery
it will make recovery a hell
it will ...
it will ...
it will ...
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Jul 13, 2016 6:04 pm
Reply with quote

Well I certainly WOULD NOT use the refer back method as it means that you are only able to process one volume at a time.

I would guess that your shop has VTS installed so you can process the volumes concurrently without too much, if any, tape wastage. Only the availability of VOLSERs may, or may not, be impacted.

Does you shop have FLASHCOPY / SNAPSHOT (depending on hardware) to make instant copies if there is an essential restore point to maintain ?

Again, like your previous post, you do not explain things very well. Unless you start to do that, you may find that you get no help from the forums.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Thu Jul 14, 2016 9:55 pm
Reply with quote

Been there, done that.
  1. Do not try to “stack” multiple multiple disk volumes on one tape volume. First, as Mr. Sorichetti states, unless you have extremely high capacity tape media and tape drives, just one disk volume will almost certainly extend to more than one tape volume, which pretty much negates the advantage of “stacking” the volumes on one tape volume or volume set. Second, as Mr. Sorichetti states, you lose the advantage of dumping volumes in parallel using separate jobs or multiple tasks in ADRDSSU.
  2. I disagree with expat about dumping the disk to virtual tape. With virtual tape you're doing what amounts to an inefficient disk to disk copy; the virtual tape supervisor will then create physical tapes from the data on its disk.
Personally, I think – but cannot prove – that tape “wastage” for full volume disk dumps is a non-issue. You get tape “wastage” when you have a small data set on a single tape volume. Virtual tape attempts to fight this by “stacking” these itty bitty data sets onto a single real tape volume. Disk dumps, on the other hand tend to be multi-gigabyte data sets. You may well have hundreds, perhaps thousands of itty bitty disk data sets in one disk volume image on the tape volume, but there's no real tape "wastage."
Back to top
View user's profile Send private message
newsysprg

New User


Joined: 12 Jul 2016
Posts: 5
Location: India

PostPosted: Thu Jul 14, 2016 10:21 pm
Reply with quote

Am currently doing Backup with DUMP FULL _ALL EXCP.
Works fine - Supervisor was not happy with my coding skill.
Otherwise with little bit of corrections on parameters and positional adjustments I was able to take VOLS back up to Tape.
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 Getting OUTREC - SHORT REC error for ... DFSORT/ICETOOL 12
No new posts Is there any way to get on Dcollect o... IBM Tools 7
No new posts Printing a dataset in DUMP format wit... ABENDS & Debugging 2
No new posts Sorry - Trying again: How can we impr... ABENDS & Debugging 2
No new posts compare two volumes All Other Mainframe Topics 4
Search our Forums:

Back to Top