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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top