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
 

 

Need Short Cut to Take Dump of Volumes

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Need Short Cut to Take Dump of Volumes
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Jul 13, 2016 6:00 pm    Post subject: Reply to: Need Short Cut to Take Dump of Volumes
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 13, 2016 6:04 pm    Post subject:
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 User


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

PostPosted: Thu Jul 14, 2016 9:55 pm    Post subject:
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    Post subject: thanks Steve
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    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 DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Reading selected volumes of a multi-v... RickBig JCL & VSAM 6 Wed Jul 13, 2016 7:26 pm
No new posts Regarding a Console Dump Dataset sakthikumarT ABENDS & Debugging 6 Mon Feb 01, 2016 11:12 am
This topic is locked: you cannot edit posts or make replies. Dump interdependencies of ESP Schedul... Sree Hari TSO/ISPF 1 Wed Oct 28, 2015 5:51 pm
No new posts VISION:Builder (MARKIV) - DUMP command kctechpro2 CA Products 0 Thu Sep 10, 2015 11:15 pm


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