Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to check the log for who deleted the PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to check the log for who deleted the PDS
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Syntax to check the first 4 digits of... kshirabdhi DFSORT/ICETOOL 10 Tue May 03, 2016 12:21 pm
No new posts Check special resource availability w... pinimo JCL & VSAM 8 Fri Apr 15, 2016 8:18 pm
No new posts check nth row from a PS file bachi234 DFSORT/ICETOOL 2 Fri Feb 19, 2016 5:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us