Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums 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: 228
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: 8723
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: 470
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 VSAM Space allocated and used space ... upendrasri JCL & VSAM 5 Tue Sep 04, 2018 4:29 pm
No new posts DFSMShsm dump tape migration to new t... pietras65 IBM Tools 1 Mon Aug 13, 2018 8:43 pm
No new posts How to manage VSAM file update confli... ocjohnh JCL & VSAM 2 Sat Jul 21, 2018 6:04 am
No new posts KSDS file fields update by passing va... Anil Kumar Prajapati TSO/ISPF 5 Wed Jul 11, 2018 5:59 am
No new posts Question about dataset sequence numbe... harisukumaran JCL & VSAM 23 Tue May 29, 2018 9:31 am

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