View previous topic :: View next topic
|
Author |
Message |
rrlogu Warnings : 1 New User
Joined: 13 Sep 2006 Posts: 13
|
|
|
|
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 |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
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 |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
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 |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
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 |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
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 |
|
|
TizMe
New User
Joined: 05 Jan 2006 Posts: 72
|
|
|
|
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 |
|
|
|