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

Restore a tape files to DASD file using ADRDSSU


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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Sep 28, 2010 10:54 am
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Sep 28, 2010 1:45 pm
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

Moderator Emeritus


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

PostPosted: Tue Sep 28, 2010 9:51 pm
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
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

Moderator Emeritus


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

PostPosted: Wed Sep 29, 2010 7:32 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top