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

Recover a particular member in a PDS using HRECOVER


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Library member auto insert option TSO/ISPF 3
No new posts DataSet member creation failed with B... Java & MQSeries 15
Search our Forums:

Back to Top