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 retrieve the members in a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to retrieve the members in a PDS
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Jun 16, 2011 12:10 pm    Post subject:
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7234

PostPosted: Thu Jun 16, 2011 12:20 pm    Post subject: Reply to: How to retrieve the members in a PDS
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Jun 16, 2011 12:20 pm    Post subject:
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: 1445
Location: Azeroth

PostPosted: Thu Jun 16, 2011 12:22 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jun 16, 2011 1:59 pm    Post subject:
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: 1445
Location: Azeroth

PostPosted: Thu Jun 16, 2011 2:46 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Jun 16, 2011 2:55 pm    Post subject:
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: 1445
Location: Azeroth

PostPosted: Thu Jun 16, 2011 3:08 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Jun 16, 2011 3:10 pm    Post subject:
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 User


Joined: 31 Dec 2009
Posts: 437
Location: London

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

CEO? I thought it was 'Compulsively Engaged Onanist'
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 Jun 16, 2011 8:00 pm    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7234

PostPosted: Thu Jun 16, 2011 9:07 pm    Post subject: Reply to: How to retrieve the members in a PDS
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Jun 16, 2011 9:22 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Jun 16, 2011 9:38 pm    Post subject: Reply to: How to retrieve the members in a PDS
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    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 Need to retrieve Julian_date Suganya87 DB2 4 Wed Aug 17, 2016 7:27 pm
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm
No new posts Differences between copying members b... E.LAI TSO/ISPF 8 Wed Mar 30, 2016 12:35 pm
No new posts Retrieve current year or month using ... vnktrrd DFSORT/ICETOOL 15 Tue Mar 15, 2016 4:14 pm
No new posts retrieve line commands from the data ... Pedro TSO/ISPF 6 Sat Oct 17, 2015 5:41 am


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