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

Find the recently deleted 25 PDS


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

New User


Joined: 15 Apr 2008
Posts: 39
Location: India

PostPosted: Tue Apr 15, 2008 7:06 pm
Reply with quote

My requirement is, I want to find the recently deleted 25 PDS or PS files.
Also i want to know how to recover a deleted PDS.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Apr 15, 2008 7:56 pm
Reply with quote

It depends on how your system is set up. Ask your storage mangement people if there are backups of the data or volumes. And tell your boss you will be more careful the next time (if there is a next time).
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Apr 15, 2008 10:13 pm
Reply with quote

I track this using SMF data, looking at when the catalog entry "delete" activity for the files.
Back to top
View user's profile Send private message
rajesh_m

New User


Joined: 15 Apr 2008
Posts: 39
Location: India

PostPosted: Wed Apr 16, 2008 7:55 am
Reply with quote

Thanks for your help Bill,
Can you describe this in detail manner. (I track this using SMF data, looking at when the catalog entry "delete" activity for the files.)
Thanks in advance.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Apr 16, 2008 10:51 am
Reply with quote

a very good tool to analyze smf record is the free:
DAF dataset Audit Facility, by Mke Cleary
File # 094 DAF from Mike Cleary - Dataset Audit Facility NEW
http://www.cbttape.org/ftp/cbt/CBT094.zip
but better search for the latest release
Back to top
View user's profile Send private message
KMV

New User


Joined: 15 May 2007
Posts: 22
Location: Coimbatore

PostPosted: Wed Apr 16, 2008 4:48 pm
Reply with quote

Could anyone please tell me how to recover the deleted PDS?

I had tried using HRECOVER also. but i m not able to recover it.



Thanx,
KMV
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Wed Apr 16, 2008 4:52 pm
Reply with quote

HRECOVER is to recover a data set from a backup version or restore a data set from a dump copy ...
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Apr 16, 2008 4:56 pm
Reply with quote

You can use HRECOVER if

a) HSM is installed and active
b) HSM has a valid backup version to recover from

As suggested earlier, talk to your storage people as there may be backups / dumps of the volumes that you do not know about
Back to top
View user's profile Send private message
KMV

New User


Joined: 15 May 2007
Posts: 22
Location: Coimbatore

PostPosted: Wed Apr 16, 2008 4:57 pm
Reply with quote

Gnanas,
Thanx for the immediate reply.
IS there any other way to recover deleted dataset?


Thanx
Back to top
View user's profile Send private message
KMV

New User


Joined: 15 May 2007
Posts: 22
Location: Coimbatore

PostPosted: Wed Apr 16, 2008 5:09 pm
Reply with quote

Expat,
I had sent a mail to storage people.
Could you please let me know what is HSM? and how to check whether its activated or not?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Apr 16, 2008 5:50 pm
Reply with quote

KMV wrote:
Expat,
I had sent a mail to storage people.
Could you please let me know what is HSM? and how to check whether its activated or not?

Do a 3.4 on your datasets, and if any of them show as MIGRAT or MIGRAT2 type HRECALL on the line of one of those datasets.

If HSM is installed it will recall the dataset, else it will give an error message
Back to top
View user's profile Send private message
KMV

New User


Joined: 15 May 2007
Posts: 22
Location: Coimbatore

PostPosted: Wed Apr 16, 2008 6:13 pm
Reply with quote

Thank you so much for ur reply
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Apr 17, 2008 2:58 am
Reply with quote

KMV wrote:
Could you please let me know what is HSM?

Hierarchical Storage Management (HSM) is a data storage technique which automatically moves data between high-cost and low-cost storage media. HSM systems exist because high-speed storage devices, such as hard disk drive arrays, are more expensive (per byte stored) than slower devices, such as optical discs and magnetic tape drives. While it would be ideal to have all data available on high-speed devices all the time, this is prohibitively expensive for many organizations. Instead, HSM systems store the bulk of the enterprise's data on slower devices, and then copy data to faster disk drives when needed (this is when one issue HRECALL, however at some sites you might have this command mapped to some other smaller line command; at my shop I use 'HR').

If HSM is installed, Data files which are frequently used (and) are stored on disk drives, but were not used for a certain period of time (which would vary site to site) are eventually migrated to tape.
Back to top
View user's profile Send private message
ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Thu Apr 17, 2008 11:26 am
Reply with quote

Hi Guys,
As I was interested in this topic, I searched related topics in this forum and links and came to know about the utility IFASMFDP. I tried it on my platform but it's not working. I could not find any file starting with sys1.man*
Is the name of file platform dependent? How do I get to know it ?

--Parag
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Apr 17, 2008 11:41 am
Reply with quote

Quote:
I could not find any file starting with sys1.man*

Whoa back ..... these are usually the SMF recording datasets, but may vary in name from site to site. Please do not attempt to use these datasets.

IFASMFDP will dump the inactive SMF datasets and if you vary the expected output names, you will cause gaps in the SMF data, which as it is used for things like catalog recoveries, billing, performance and capacity planning does not seem like a good idea to me.

Have a word with your storage people / sysprogs / capacity planners as to the names of the DUMPED SMF data and play with that data as input into IFASMFDP. You can use it to read dumped data and select only the record types that you are interested in, but there again you can do that and more using DFSORT.
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 To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
No new posts Find a record count/numeric is multip... COBOL Programming 1
No new posts Need to find a specific STRING COBOL Programming 11
Search our Forums:

Back to Top