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

How to check the log for who deleted the PDS


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

New User


Joined: 08 May 2005
Posts: 1
Location: Mumbai

PostPosted: Tue Aug 01, 2006 10:12 am
Reply with quote

Hi guys,
Yesterday by mistake somebody has deleted one PDS which was very important and we really forgot to take a backup of it...
Anybody knows how to check the log for it like who deleted and how to restore it............?
Please let me know we r in immense situation.
Back to top
View user's profile Send private message
pbgunasekar

New User


Joined: 28 May 2005
Posts: 26
Location: Chennai

PostPosted: Thu Aug 03, 2006 8:39 am
Reply with quote

hi,
try this in the Command 6

***************************************************************
* To retrieved deleted files:-------- *
***************************************************************
* *
*Step 1: *
* *
*HLIST LEV('TEST.CTSH.NREPINV.SIM.ST.JOUT(SNR00M70)') BCDS *
* *
*This will show all the back-up versions for retriving. *
* *
*Step 2: *
* *
*HRECOVER 'TEST.CTSH.SIMB.SN.D003Z' GENERATION(0) *
* *
*This will retrieve the file with the specified generation. *
* *
* *
* *
* *
***************************************************************
* Sending mainframe messages:------------------ *
***************************************************************
* *
* se 'HI CUTE MAN' u(NVGXM2) *
* *
***************************************************************
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Thu Aug 03, 2006 6:04 pm
Reply with quote

hi pbgunasekar

Could you explain what does the above commands signify.

<b> 'TEST.CTSH.NREPINV.SIM.ST.JOUT(SNR00M70)' <b>

Is this the system dataset or the dataset to be searched ..

I am not clear with your commands.

Could you elaborate more about the dataset you have given.

Thanks,
Diwakar.D

-----------------------------------------------
<b> Nobody is perfect. I am Nobody </b>
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 Using Multiple IFTHEN and WHEN condit... SYNCSORT 12
No new posts Check if CICS is online in JCL CICS 10
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts How to check whether who renamed the ... JCL & VSAM 3
Search our Forums:


Back to Top