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

How to retrieve the members in a PDS


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

New User


Joined: 01 Sep 2005
Posts: 6
Location: bangalore

PostPosted: Thu Jun 16, 2011 12:07 pm
Reply with quote

Hi,

This is prasad. Today i have copied 5 members from PDS A to PDS B. But being members name as same in both the PDS A and B all the members in B has been replaced by A.

Now i want retrieve back the members from PDS B. Could you please help me in this issues.It rellay helps me to avoid rework.

Thanks & Regards
Prasad.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jun 16, 2011 12:10 pm
Reply with quote

Try a backup of PDS B. But i guess there are no backups?
Back to top
View user's profile Send private message
mvnkprasad

New User


Joined: 01 Sep 2005
Posts: 6
Location: bangalore

PostPosted: Thu Jun 16, 2011 12:12 pm
Reply with quote

I am sorry to say i don't have the backup of PDS B with me. Please help me to restore my PDS B with yesterday's status.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Jun 16, 2011 12:20 pm
Reply with quote

What do you mean you don't have it "with you"? Does a back-up exist? If so, restore appropriate members. If not, proceed as per attempting to recover deleted PDS members (search forum, find a number of untested suggestions, stick head in bucket, and scream, really, really loudly).
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jun 16, 2011 12:20 pm
Reply with quote

Well get your hands on the backup.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Jun 16, 2011 12:22 pm
Reply with quote

Hello,
Will this work?
1) rename PDS B. to something else like PDS B.backup
2) issue TSO HRECOVER 'PDS B'
3) Possibly Your latest system backed up PDS would be restored.

Code:
ARC0778I DATA SET PDS.B WAS RECOVERED FROM A BACKUP MADE AT 15:05:39 
ARC0778I (CONT.) ON 2011/06/15                                                 
ARC1000I PDS.B RECOVER PROCESSING ENDED                               
***       


4) Copy required members.

Edited: Did not see previous posts by Bill & Peter.

For info on recovering older backups issue,
TSO HELP HRECOVER

Uncheck the option "Replace like-named members" and you wont have to worry about members being replaced.
Hope it helps.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Jun 16, 2011 1:59 pm
Reply with quote

vasanthz

You are asuming a lot here, especially that DFSMShsm is installed and active.

If it is, why perform the rename when HSM can recover to a new name.

It really is up to the OP to find out from his storage people which ILM product is installed and if backups exist. Only s/he can do this.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Jun 16, 2011 2:46 pm
Reply with quote

Quote:
DFSMShsm is installed and active.

Oh ok,Thanks for the information. I will have to correct my picture of assuming blatantly that DFSMSHSM was something like ISPF thats comes with Z/OS :S

Its always good to have someone/(many, in case of ibmmainframes.com) around to correct silly mistakes & provide guidance.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jun 16, 2011 2:55 pm
Reply with quote

Quote:

Its always good to have someone/(many, in case of ibmmainframes.com) around to correct silly mistakes & provide guidance.


We expect that from people sitting in CEO's chairs. icon_rolleyes.gif
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Jun 16, 2011 3:08 pm
Reply with quote

To clarify, CEO stands for - Cake Eating Opportunist. (:
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jun 16, 2011 3:10 pm
Reply with quote

vasanthz wrote:
To clarify, CEO stands for - Cake Eating Opportunist. (:


LOL, now i did learn something. icon_lol.gif
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Thu Jun 16, 2011 7:42 pm
Reply with quote

CEO? I thought it was 'Compulsively Engaged Onanist'
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu Jun 16, 2011 8:00 pm
Reply with quote

Hi Bill,

Quote:
What do you mean you don't have it "with you"?
Another of our "language opportunities". If i understand, this typically means the "thing" does not exist.

@krishna prasad
If this is not yet resolved, allow no work to happen in PDS B. Then speak with your storage support people. It may be possible to salvage the members you want from the pds, but you would need to work with the storage management people to do this. There have been multiple topics about doing this in the forum.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Jun 16, 2011 9:07 pm
Reply with quote

Hi Dick,

Could be.

"Quick, where's your coding-pad, I've just had a great idea for PRQ10101!". "Sorry, I don't have it with me". "!!??!#*@!?"

Maybe that sort of conversation just doesn't happen today, so we don't need to find a new phrase for the original usage.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jun 16, 2011 9:22 pm
Reply with quote

Pete Wilson wrote:
CEO? I thought it was 'Compulsively Engaged Onanist'


36_2_35.gif

I first read "organist", but for an onanist you need an organ. icon_rolleyes.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jun 16, 2011 9:38 pm
Reply with quote

I was going to follow on with a scholarly dissertation on engaging, disengaging, release, and related terms in the domain of firearms

and I suddenly realized that I was heading towards murky territory icon_biggrin.gif
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 Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts list pds members name starting with xyz CLIST & REXX 11
No new posts REXX editmacro to compare two members... CLIST & REXX 7
No new posts Easy way to delete selected members f... IBM Tools 12
Search our Forums:

Back to Top