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
 

 

Recover a particular member in a PDS using HRECOVER

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
rrlogu
Warnings : 1

New User


Joined: 13 Sep 2006
Posts: 13

PostPosted: Fri Nov 24, 2006 8:19 pm    Post subject: Recover a particular member in a PDS using HRECOVER
Reply with quote

hi,

HRECOVER is working fine for PS file, could anyone help me how to recover a particular member in a PDS?

Thanks in Advance,
Logu.
Back to top
View user's profile Send private message

cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Fri Nov 24, 2006 8:59 pm    Post subject: Re: Reg. HRECOVER
Reply with quote

This works in our office if the PDS has not been compressed.

Restoring a Deleted Member of a PDS
In 3.4, access the dataset and enter either of the following commands next to it.
PDS / RES XXX FIND(?info inside the lost member?) REPEAT NOPROMPT
PDS / RES XXX FIND(?????) REPEAT NOPROMPT
Members will be restored in the PDS with XXX00001, XXX00002, etc.

Both the above PDS commands are identical. The FIND parameter should indicate something unique within the member you are trying to restore. If the lost member was saved several times before it was deleted (or was overlayed), multiple members (one for each saved) will be displayed. You will need to determine which is the GOOD one.

Good luck
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Fri Nov 24, 2006 9:04 pm    Post subject:
Reply with quote

Restoring a Deleted Member of a PDS
In 3.4, access the dataset and enter the following command next to it.
PDS / RES XXX FIND(?info inside the lost member?) REPEAT NOPROMPT
PDS / RES XXX FIND(?????) REPEAT NOPROMPT
Members will be restored in the PDS with XXX00001, XXX00002, etc.
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Fri Nov 24, 2006 9:08 pm    Post subject:
Reply with quote

When I cut and pasted part of my post, the system replaced my XXX with TTT in the command. If a user uses TTT rather than XXX, the members that are recovered will be TTT00001, TTT00002, etc.

I will assume the "XXX" was replaced because someone may be posting something that would not be appropriate for this forum.
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Fri Nov 24, 2006 9:12 pm    Post subject: Re: Recover a particular member in a PDS using HRECOVER
Reply with quote

It's doing it again (changing eX, eX, eX to TTT). Even my explanation is substituting it incorrectly, although it looks good in the preview panel. Maybe one of our fine moderators can fix this one up.

Thanks...cpuhawg
Back to top
View user's profile Send private message
TizMe

New User


Joined: 05 Jan 2006
Posts: 72

PostPosted: Mon Nov 27, 2006 8:12 am    Post subject: Re: Recover a particular member in a PDS using HRECOVER
Reply with quote

rrlogu wrote:
hi,

HRECOVER is working fine for PS file, could anyone help me how to recover a particular member in a PDS?

Thanks in Advance,
Logu.


To use HRECOVER you will need to recover with the rename option, and then copy the member into the original PDS.
ie:
HRECOVER 'PDS.NAME' NEWNAME('PDS.RESTORED.NAME')
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 4 Wed Jan 11, 2017 6:18 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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