View previous topic :: View next topic |
Author |
Message |
yadav2005 Intermediate
Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Fri Jul 10, 2009 9:35 am Post subject: ADRDSSU Utility problem |
|
|
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 |
|
|
CraigG Intermediate
Joined: 02 May 2007 Posts: 202 Topics: 0 Location: Viginia, USA
|
Posted: Fri Jul 10, 2009 9:42 am Post subject: |
|
|
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 |
|
|
yadav2005 Intermediate
Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Fri Jul 10, 2009 9:49 am Post subject: |
|
|
A Job was run using the utility FDRDSF to backup to a tape |
|
Back to top |
|
|
CraigG Intermediate
Joined: 02 May 2007 Posts: 202 Topics: 0 Location: Viginia, USA
|
Posted: Fri Jul 10, 2009 12:58 pm Post subject: |
|
|
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 |
|
|
yadav2005 Intermediate
Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Fri Jul 10, 2009 1:27 pm Post subject: |
|
|
Can you send me link for FDR Manual if you have. Thanks for the help so far. |
|
Back to top |
|
|
warp5 Intermediate
Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Mon Jul 13, 2009 1:53 am Post subject: |
|
|
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 |
|
|
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Thu Sep 17, 2009 2:08 am Post subject: |
|
|
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 |
|
|
|
|