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

ADRDSSU ...restoring tape data to a flat file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Mar 05, 2010 12:23 pm
Reply with quote

What on earth do you think that you are doing here. Or at least trying to do.

Why do you have the DUMP dataset name as the restore name. You need to use the names of the datasets that were dumped to the tape and not the tape dataset name.

Do you know where they keep the manuals at your shop. If not, please find out quickly and spend the weekend curled up on the sofa with the DFdss manuals.
Back to top
View user's profile Send private message
Aaparna Vipin

New User


Joined: 12 Feb 2010
Posts: 10
Location: India

PostPosted: Fri Mar 05, 2010 12:45 pm
Reply with quote

Yes....let me....I did this before itself that time i got RC 8


ADR380E (001)-FRLBO(23), DATA SET GRT.INPUT.DAT NOT PROCESSED, 18
ADR415W (001)-TDLOG(01), NO DATA SETS WERE COPIED, DUMPED, OR RESTORED FROM ANY VOLUME
ADR480W (001)-TDLOG(01), THE FOLLOWING DATA SETS WERE NOT PROCESSED FROM THE LOGICALLY FORMATTED DUMP TAPE DUE TO ERRORS:
GRT.INPUT.DAT

JCL

000003 //STEP020 EXEC PGM=ADRDSSU
000004 //TAPE1 DD DSN=GRT.TAPE.T1,
000005 // DISP=SHR
000006 //BKP DD DSN=GRT.BACKUP.G007,
000007 // DISP=(NEW,CATLG,CATLG),
000008 // DATACLAS=DSORGPSE,
000009 // DCB=(BLKSIZE=0,LRECL=133,RECFM=FB),
000010 // SPACE=(TRK,(1000,1000),RLSE),
000011 // UNIT=SYSDA
000012 //SYSIN DD *
000013 RESTORE DATASET(INCLUDE (GRT.INPUT.DAT))-
000014 INDDNAME (TAPE1) -
000015 OUTDDNAME (BKP)
000016 /*

Thanks for all your quick and king reply...
Sorry for eating both ur time and brain... icon_sad.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Mar 05, 2010 12:56 pm
Reply with quote

to save everybody' s time why don' t You start looking at the manuals Yourself
and ask Your peers for working samples ???

the whole manual
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2S261/CCONTENTS?SHELF=DGT2BK71&DN=SC26-7402-09&DT=20080128160125
for dfddss :
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2S261/2.0?SHELF=DGT2BK71&DT=20080128160125

and the messages and codes

for the first message of the chain ( ADR380E )
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M181/SPTM000238

and here the manual itself for the ADR messages
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M181/CCONTENTS
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Mar 05, 2010 1:01 pm
Reply with quote

If I were you I would try and see exactly what you do have on the tape by running the code below.
Note the PARM parameter - this job WILL NOT perform an actual restore.
Code:
//RESTORE  EXEC PGM=ADRDSSU,PARM='TYPRUN=NORUN'
//SYSOUT   DD SYSOUT=*                         
//SYSPRINT DD SYSOUT=*                         
//BACKUP   DD DSN=                             
//SYSIN    DD *                               
  RESTORE  INDD(BACKUP)             -         
           DATASET(INCLUDE(**))               
/*                                             
//
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 save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
Search our Forums:

Back to Top