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
 
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 sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

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