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
 

 

Restore a tape files to DASD file using ADRDSSU

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

New User


Joined: 22 May 2008
Posts: 27
Location: Bangaluru

PostPosted: Tue Sep 28, 2010 10:47 am    Post subject: Restore a tape files to DASD file using ADRDSSU
Reply with quote

Hi All,

When i try to restore a TAPE file into DASD VSAM file it is showing me some error. The Backup was taken earlier from the same VSAM file.

PLease find my JCL

//BDL997VW EXEC PGM=ADRDSSU
//*
//TDAACLM DD DSN=BDLK.NONX.TDAACLM.BKUP.G0032V00,DISP=(OLD,KEEP),
// VOL=SER=B53481
//*
//SYSIN DD *
RESTORE INDD(TDAACLM) -
DS(INCL(BDLT.ABCD.TDAACLM)) -
REPLACE
/*
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//*

Error:

TASKID 001 HAS BEEN ASSIGNED TO COMMAND 'RESTORE '
2010.270 21:55:24 INITIAL SCAN OF USER CONTROL STATEMENTS COMPLETED
RACF LOGGING OPTION IN EFFECT FOR THIS TASK
2010.270 21:55:24 EXECUTION BEGINS
THE INPUT DUMP DATA SET BEING PROCESSED IS IN LOGICAL DATA SET FORMAT AN
1 RELEASE 10 MODIFICATION LEVEL 0 ON 2010.269 22:21:15
NO DATA SETS WERE COPIED, DUMPED, OR RESTORED FROM ANY VOLUME
DATA SET BDLT.ABCD.TDAACLM NOT ON LOGICALLY FORMATTED DUMP TAPE
2010.270 21:55:25 EXECUTION ENDS
2010.270 21:55:25 TASK COMPLETED WITH RETURN CODE 0004
2010.270 21:55:25 DFSMSDSS PROCESSING COMPLETE. HIGHEST RETURN CODE IS 0
TASK 001

Can anyone help me on this.
Thanks
Gilesh.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Tue Sep 28, 2010 10:54 am    Post subject: Reply to: Restore a tape files to DASD file using ADRDSSU
Reply with quote

NO!
Quote:
DATA SET BDLT.ABCD.TDAACLM NOT ON LOGICALLY FORMATTED DUMP TAPE


nothing we can do about the message, verify that the tape being used is a tape produced by adrdssu with the proper parameters

for this type of issues the fastest replies are those You will get by asking Your storage support

what process did You use to take the backup?
Back to top
View user's profile Send private message
gileshpg

New User


Joined: 22 May 2008
Posts: 27
Location: Bangaluru

PostPosted: Tue Sep 28, 2010 11:01 am    Post subject:
Reply with quote

DUMP OUTDD(TDAACLM) -
DS(INCL(BDLT.ABCD.TDAACLM)) -
TOL(ENQF) -
SHARE

We used this to take the back up...
If I give any other additional parameters will it work?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 28, 2010 1:45 pm    Post subject:
Reply with quote

I suggest that you look at the output from the dump job and verify that it did in fact work correctly.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Sep 28, 2010 9:51 pm    Post subject:
Reply with quote

Hello,

[Lecture ON]If a file has been created by adrdssu (or any other copy/backup tool) and it the process has not been verified by reloading the "backup" to ensure everything is as intended, the file is not a backup.

It is merely some media with questionable content. . .
[Lecture OFF]

I have been several places that have been running "the backups" for years and when there eventually is a crisis, it is compounded by the backups being incomplete or corrupt. . . Some ran backups that had errors every run that were simply ignored. . . icon_rolleyes.gif
Back to top
View user's profile Send private message
gileshpg

New User


Joined: 22 May 2008
Posts: 27
Location: Bangaluru

PostPosted: Wed Sep 29, 2010 2:52 pm    Post subject:
Reply with quote

It was not worked because the back up was created from someother dataset and try to resore into some other file(of same size and same attributes). It doen't allowed me to do so even though the atributes are same.

On we need to give
RESTORE INDD(TDAACLM) -
DS(INCL(BDLT.ABCD.TDAACLM)) -
RENUNC(BDLT.ABCD.TDAACLM -
BDLT.ABCD.TDAACLM3) -
REPUNC

So changed to create the back up from BDLT.ABCD.TDAACLM3 and then used the same
RESTORE INDD(TDAACLM) -
DS(INCL(BDLT.ABCD.TDAACLM)) -
REPLACE


Now it is working...

Thank you everyone....

Gilesh
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Sep 29, 2010 7:32 pm    Post subject: Reply to: Restore a tape files to DASD file using ADRDSSU
Reply with quote

Good to hear it is working - thank you for letting us know icon_smile.gif

d
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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