[comp.os.vms] data recovery

EVERHART%ARISIA@rca.COM ("GLENN EVERHART, 609 486 6328") (07/23/87)

I wasn't going to say this, but having just read a wrong reply...

If you do DIR/SIZE=ALL and see 0/2344 on a file, chances are some
of those 2344 blocks have data in them (depends on how it got
into this state).
One way, if you have VAX/RSX, to recover is to just say

MCR PIP file.type/EOF

which will result in the directory reading 2344/2344.
The record structure may not be as you like and somewhere at the
end of the file will be junk, but at least you'll be able to
get what was recorded to disk. I'm sure there are some native
mode hacks that do the same, but having this one around, I don't
bother with others. (Actually, if there aren't, it's another reasonb
to go out and get vax/rsx!)

	I suggest that anyone knowing the appropriate native mode
recovery hack chime in and let the net know...
	Glenn Everhart
Everhart%Arisia@rca.com

SLOANE@UKANVAX.BITNET (Bob Sloane) (07/24/87)

Thanks to all of you for your help in solving my data recovery problem.
I have been using VMS for about a year now, and I never noticed the SET
FILE/END command. It worked just fine to fix the problem.

                      Bob Sloane
                      University of Kansas
                      Computer Center
                      (913) 864-4291
                      SLOANE@UKANVAX on BITNET