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

Job to recover the dataset.


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

New User


Joined: 25 Feb 2006
Posts: 31

PostPosted: Tue Nov 14, 2006 7:36 pm
Reply with quote

HI,
Can any one please give me a JCL to recover the dataset.
Back to top
View user's profile Send private message
MFRASHEED

Active User


Joined: 14 Jun 2005
Posts: 186
Location: USA

PostPosted: Tue Nov 14, 2006 8:57 pm
Reply with quote

I guess you can recover( Recall or Unarchive) dataset it was backed up. This can be done by typing HRECALL by the DSN or use Job

Code:

//STEP01   EXEC PGM=IKJEFT01,DYNAMNBR=20   
//SYSTSPRT DD SYSOUT=*                     
//SYSPRINT DD SYSOUT=*                     
//SYSUDUMP DD SYSOUT=*                     
//SYSOUT   DD SYSOUT=*                     
//SYSTSIN  DD *                           
  HRECALL ('DATASET.TOBE.RECALLED')       
/*                                         
//SYSIN    DD DUMMY               
       
Back to top
View user's profile Send private message
nileshp

New User


Joined: 25 Feb 2006
Posts: 31

PostPosted: Tue Nov 14, 2006 9:41 pm
Reply with quote

Thanks its working.


MFRASHEED wrote:
I guess you can recover( Recall or Unarchive) dataset it was backed up. This can be done by typing HRECALL by the DSN or use Job

Code:

//STEP01   EXEC PGM=IKJEFT01,DYNAMNBR=20   
//SYSTSPRT DD SYSOUT=*                     
//SYSPRINT DD SYSOUT=*                     
//SYSUDUMP DD SYSOUT=*                     
//SYSOUT   DD SYSOUT=*                     
//SYSTSIN  DD *                           
  HRECALL ('DATASET.TOBE.RECALLED')       
/*                                         
//SYSIN    DD DUMMY               
       
Back to top
View user's profile Send private message
naveensrimf

New User


Joined: 04 Oct 2005
Posts: 34

PostPosted: Sat Nov 25, 2006 8:07 pm
Reply with quote

Other wise to use Hrecover Command in tso 6 th option
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Free space of a mulitvolume PS datase... TSO/ISPF 7
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts Identify Number of Multivolume Dataset All Other Mainframe Topics 5
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
Search our Forums:


Back to Top