MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ADRDSSU Utility problem

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Fri Jul 10, 2009 9:35 am    Post subject: ADRDSSU Utility problem Reply with quote

I am trying to restore a Tape File to VSAM file by using ADRDSSU utility and have tried many times to resolve the problem but I am not getting a clue how to solve.

My code:
Code:

//STEP010  EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
  DEL ABC1.VSAM SCRATCH PURGE
  IF MAXCC < = 8 THEN SET MAXCC = 0
/*
//STEP020  EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//TAPE     DD DSN=ABC1.TAPE,DISP=OLD
//DISK     DD UNIT=SYSDA,DISP=SHR,VOL=SER=VSMP03
//SYSIN    DD *
 RESTORE                                                         -
 DATASET(INCLUDE(ABC1.VSAM))                                     -
 INDDNAME(TAPE)                                                  -
 OUTDDNAME(DISK)                                                 -
 REPLACE
/*
//


I am getting error as below:
Code:

PAGE 0001     5695-DF175  DFSMSDSS V1R09.0 DATA SET SERVICES     2009.191 10:16
 RESTORE                                                         -      00410009
 DATASET(INCLUDE(ABC1.VSAM))                                     -      00410109
 INDDNAME(TAPE)                                                  -      00411009
 OUTDDNAME(DISK)                                                 -      00411111
 REPLACE                                                                00412009
ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN ASSIGNED TO COMMAND 'RESTORE '
ADR109I (R/I)-RI01 (01), 2009.191 10:16:17 INITIAL SCAN OF USER CONTROL STATEMENTS COMPLETED
ADR016I (001)-PRIME(01), RACF LOGGING OPTION IN EFFECT FOR THIS TASK
ADR006I (001)-STEND(01), 2009.191 10:16:17 EXECUTION BEGINS
ADR389E (001)-IORT (01), INVALID INPUT ON DDNAME TAPE, INPUT DATA SET NOT PRODUCED BY DFDSS OR DFSMSDSS
ADR415W (001)-TDDS (02), NO DATA SETS WERE COPIED, DUMPED, OR RESTORED FROM ANY VOLUME
ADR006I (001)-STEND(02), 2009.191 10:16:18 EXECUTION ENDS
ADR013I (001)-CLTSK(01), 2009.191 10:16:18 TASK COMPLETED WITH RETURN CODE 0008
ADR012I (SCH)-DSSU (01), 2009.191 10:16:18 DFSMSDSS PROCESSING COMPLETE. HIGHEST RETURN CODE IS 0008 FROM:
                         TASK    001
Back to top
View user's profile Send private message
CraigG
Intermediate


Joined: 02 May 2007
Posts: 202
Topics: 0
Location: Viginia, USA

PostPosted: Fri Jul 10, 2009 9:42 am    Post subject: Reply with quote

Code:
ADR389E (001)-IORT (01), INVALID INPUT ON DDNAME TAPE, INPUT DATA SET NOT PRODUCED BY DFDSS OR DFSMSDSS



That looks like a clue as to what your problem is, how was the tape produced.
Back to top
View user's profile Send private message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Fri Jul 10, 2009 9:49 am    Post subject: Reply with quote

A Job was run using the utility FDRDSF to backup to a tape
Back to top
View user's profile Send private message
CraigG
Intermediate


Joined: 02 May 2007
Posts: 202
Topics: 0
Location: Viginia, USA

PostPosted: Fri Jul 10, 2009 12:58 pm    Post subject: Reply with quote

yadav2005 wrote:
A Job was run using the utility FDRDSF to backup to a tape


I would look in the documentation for FDR to find out how to restore it.
Back to top
View user's profile Send private message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Fri Jul 10, 2009 1:27 pm    Post subject: Reply with quote

Can you send me link for FDR Manual if you have. Thanks for the help so far.
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Mon Jul 13, 2009 1:53 am    Post subject: Reply with quote

FDR is a vendor product. You have to have a license to use it and probably to download the documentation. Ask somebody in your shop for the documentation.
Back to top
View user's profile Send private message Visit poster's website
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Thu Sep 17, 2009 2:08 am    Post subject: Reply with quote

Well, Craig has asked you a vlaid question. Just to elobrate on his point... in order to copy from tape to disk, you must know how the tape was created. If the tape was created using DF/DSS (ADRDSSU), then you must use ADRDSSU to restore the data set from tape to disk. A PDS copied to tape will be in IEBCOPY unload format (which is a sequential file, usually in variable blocked spanned format). If the tape file is fixed block, then IEBGENER or SORT was used to create a copy of a disk data set. (However, there's a lot of ways to build a tape and you cannot always tell from inspection how the tape was built and how to restore the tape to disk.)

If your site uses a tape management tool such as CA-1, query the volume in the tape management system and you should be able to find out what program was used to create the tape. A tape map program such as on the CBT tape can help identify the tape data format. Otherwise, you may have to dump the first block or two of data from the tape to see if there's enough helpful information to figure it out.

Now you know, tape was created by utility FDRDSF, so go back, search for the manual on "FDRDSF" in your shelf and start from there.
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group