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
 

 

How to take backup of a dataset present on tapE

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

New User


Joined: 18 Nov 2005
Posts: 14
Location: Mumbai

PostPosted: Thu Nov 24, 2005 12:33 pm    Post subject: How to take backup of a dataset present on tapE
Reply with quote

Hi
If a dataset is present on tape ,how to take back up of it.Or move it on to DASD.

Regards
Sangameshwar N
Back to top
View user's profile Send private message

C.Vijayasekhar

New User


Joined: 24 Nov 2005
Posts: 1

PostPosted: Thu Nov 24, 2005 12:40 pm    Post subject: Re: How to take backup of a dataset present on tapE
Reply with quote

Using IEBGENER Utility
Back to top
View user's profile Send private message
Sangameshwar N

New User


Joined: 18 Nov 2005
Posts: 14
Location: Mumbai

PostPosted: Thu Nov 24, 2005 12:51 pm    Post subject:
Reply with quote

Hi Vijayasekhar
I am not aware of using IEBGENER.Can u pls explain in detail.

Regards
Sangameshwar N
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Thu Nov 24, 2005 2:55 pm    Post subject: IEBGENER
Reply with quote

Hi frnd,
In general, IEBGENER is used for the following purpose.

>>copies sequential data sets from one device to another
>>create a PDS from a seq DS
>>expand or add member to a PDS
>>produce an edited dataset
>>Reblock or change logical record length of a dataset.

so consider this code
just to copy from tape to a DASD

Code:
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1    DD DSN=DSNNAME,DISP=SHR,UNIT=TAPE
//SYSUT2    DD DSN=DSNNAME,DISP=SHR,UNIT=SYSDA
//SYSIN      DD DUMMY
//


Hope works. let me know if any.
Back to top
View user's profile Send private message
Sangameshwar N

New User


Joined: 18 Nov 2005
Posts: 14
Location: Mumbai

PostPosted: Thu Nov 24, 2005 4:24 pm    Post subject:
Reply with quote

Hi khamarutheen

First of all i would like to thank you for the detailed explanation.
And the code provided by you helped me in solving the problem.

Regards
Sangameshwar N
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Wed Oct 31, 2007 5:19 pm    Post subject:
Reply with quote

Hi Sangameshwar N ,

You are welcome ...
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 Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm


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