View previous topic :: View next topic
|
Author |
Message |
Sangameshwar N
New User
Joined: 18 Nov 2005 Posts: 14 Location: Mumbai
|
|
|
|
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 |
|
|
C.Vijayasekhar
New User
Joined: 24 Nov 2005 Posts: 1
|
|
|
|
Using IEBGENER Utility |
|
Back to top |
|
|
Sangameshwar N
New User
Joined: 18 Nov 2005 Posts: 14 Location: Mumbai
|
|
|
|
Hi Vijayasekhar
I am not aware of using IEBGENER.Can u pls explain in detail.
Regards
Sangameshwar N |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
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 |
|
|
Sangameshwar N
New User
Joined: 18 Nov 2005 Posts: 14 Location: Mumbai
|
|
|
|
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 |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi Sangameshwar N ,
You are welcome ... |
|
Back to top |
|
|
|