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
 

 

Log for deleted PDS member

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Wed Nov 19, 2008 2:40 pm    Post subject: Log for deleted PDS member
Reply with quote

I've deleted a member from the pds now i want to recover it, i used HLIST coomand but i don't have authority access to use it, and also i dont remeber the member name.
Now is there anything like user actions logs to see my action that i have performed, so i can see the member name.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Nov 19, 2008 3:22 pm    Post subject:
Reply with quote

Almost certainly not. Even SMF data doesn't go down to member level of detail
Back to top
View user's profile Send private message
Bill Dennis

Active Member


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

PostPosted: Wed Nov 19, 2008 11:27 pm    Post subject:
Reply with quote

There is a new subtype 21 for the type 42 that tracks member delete.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Thu Nov 20, 2008 4:22 am    Post subject:
Reply with quote

If it is a PDS and not a PDSE, you can get the member back if you have not compressed the data set. The old PDS utility from the CBT tape, STARTOOLS and maybe others (Fileaid?) can do it.
Back to top
View user's profile Send private message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Thu Nov 20, 2008 10:02 am    Post subject:
Reply with quote

Hi Bill Dennis,
can you please elaborate what you have said because i cant understand anything.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Nov 20, 2008 10:33 am    Post subject:
Reply with quote

Hello Usha,

System activity is recorded in SMF records. Different record types hold different information. The type 42 record has a new 21 subtype that records activity (i.e. delete) of a member.

This might help you identify the name of the deleted member. It would not however recover the member.

Is there a chance that there is a recent backup of the pds? If there is a copy of the pds, you should be able to restore it to some new name and rescue the deleted member.
Back to top
View user's profile Send private message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Thu Nov 20, 2008 12:05 pm    Post subject:
Reply with quote

Thanks dick,
Can you provide me the link to find this SMF records using the program DFSORT in JCL.
Back to top
View user's profile Send private message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Thu Nov 20, 2008 12:39 pm    Post subject:
Reply with quote

Hi,
I have some flat files like userid.ISP****.BACKUP in my DSLIST. what are they?.
Can i able to trace my deleted member in this flat files?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Nov 20, 2008 1:35 pm    Post subject: Reply to: Log for deleted PDS member
Reply with quote

Quote:
I have some flat files like userid.ISP****.BACKUP in my DSLIST. what are they?.


how are we supposed to know? by grace icon_cool.gif
ask Your peers
Back to top
View user's profile Send private message
Bill Dennis

Active Member


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

PostPosted: Thu Nov 20, 2008 8:26 pm    Post subject:
Reply with quote

usharaniA wrote:
I have some flat files like userid.ISP****.BACKUP in my DSLIST. what are they?.
Those are ISPF datasets created when you EDIT with "RECOVERY ON". The changes you make are tracked so that you can "UNDO" them. I dont think you can use these to recreate the member but you might browse them to see the old data for cut and paste.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Nov 21, 2008 12:33 am    Post subject:
Reply with quote

Hello,

Quote:
Can you provide me the link to find this SMF records using the program DFSORT in JCL.
This is the link to the DFSORT "Smart Tricks" one of which is using dfsort to process smf records:
http://www-304.ibm.com/systems/support/storage/software/sort/mvs/tricks/pdf/sorttrck.pdf

This is the link to the SMF manual that contains the info about the various record types (including the 42/21 Bill mentioned):
http://publibz.boulder.ibm.com/epubs/pdf/iea2g281.pdf
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Nov 21, 2008 12:48 am    Post subject: Reply to: Log for deleted PDS member
Reply with quote

Quote:
how are we supposed to know? by grace


must have been having a brain check, icon_sad.gif

but ( lame excuse ) I never work with recovery on...
on the long run I have always had more troubles than benefits
Back to top
View user's profile Send private message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Fri Nov 21, 2008 9:59 am    Post subject:
Reply with quote

Thanks lot for all your replies.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Nov 21, 2008 10:31 am    Post subject: Reply to: Log for deleted PDS member
Reply with quote

You're welcome icon_smile.gif

Hopefully, some progress has been made.

d
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 6 Fri Nov 18, 2016 1:48 pm
No new posts File Stauts 92 with member of PDS sandip_mainframe COBOL Programming 4 Fri Jun 10, 2016 12:06 pm
No new posts how to extract the member name ? jackzhang75 CLIST & REXX 1 Wed Feb 17, 2016 9:21 pm
No new posts Check if a member is present in libra... enrico-sorichetti All Other Mainframe Topics 1 Wed Feb 03, 2016 12:29 pm
No new posts Editing "member generations"... Ricardo Viegas TSO/ISPF 1 Tue Dec 29, 2015 7:27 pm


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