Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
VSAM KSDS backup in TAPE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
joy_dey81

New User


Joined: 20 Jan 2007
Posts: 4
Location: India

PostPosted: Fri Oct 05, 2018 1:31 pm    Post subject: VSAM KSDS backup in TAPE
Reply with quote

Can we backup VSAM KSDS data on Tape Drive? If so how?
Back to top
View user's profile Send private message

Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 327
Location: Denmark

PostPosted: Fri Oct 05, 2018 2:29 pm    Post subject:
Reply with quote

Sure, a tape dataset is just a sequential datasets, check the JCL manual for details, or better, ask a colleague as the device type differs from site to site. If your question is about which utility to use, then IDCAMS REPRO or the ADRDSSU DUMP command. Check the manuals 'DFSMS Access Method Services for Catalogs' or 'DFSMSdss Storage Administration' respectively.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Oct 05, 2018 2:47 pm    Post subject:
Reply with quote

Or even issue a HBACKUP command for HSM to do it for you ..... or whatever data management tool your lot use

Maybe, if you speak to your storage management bods, it may already be backed up on a regular basis.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 471
Location: London

PostPosted: Mon Oct 08, 2018 11:35 pm    Post subject:
Reply with quote

don't forget SORT, FAVER or FDRABR and FDRDSF too. There's probably others but you need to know what your site has and prefer you to use.

Using Tape also means you need to be aware of the tape management system's use of expiry dates and retention period which may have to be coded in the JCL. Some of this is site dependent.

With HBACKUP it depends on the MGMTCLAS setting so may not allow it. It also goes to ML1 disk first so may be an issue if too large.

DFDSS (ADRDSSU) is good but the data has to be on disk otherwise it won't pick it up. An advantage with DFDSS is it restores the file as a complete VSAM file, but you'd have to either restore replace over the top of an existing one of the same name if it exists, rename the existing one first, or rename the backup version as it is restored.

Also, why the use of tape, is there a good reason for that? And what would the tape backup actually be used for? Remember too that tape files can only be accessed by one program at a time.
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 Rexx to create VSAM define statements Dinesh Mani CLIST & REXX 9 Fri Nov 29, 2019 9:26 pm
No new posts REXX VSAM Harold Barnes CLIST & REXX 3 Sat Oct 05, 2019 2:38 pm
No new posts KSDS direct READ clause after READ NEXT sophia.lee JCL & VSAM 0 Tue Oct 01, 2019 10:10 am
No new posts CICS VSAM file max volumes socker_dad JCL & VSAM 4 Tue Aug 20, 2019 1:28 am
No new posts Unable to delete dataset - VSAM datas... netcrawler JCL & VSAM 20 Fri Jul 26, 2019 2:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us