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

How to take backup of a dataset present on tapE


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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: 677
Location: NJ

PostPosted: Thu Nov 24, 2005 2:55 pm
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
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: 677
Location: NJ

PostPosted: Wed Oct 31, 2007 5:19 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Deleting a Tape file JCL & VSAM 14
Search our Forums:

Back to Top