<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 9 Jan 2020 at 14:48, Dave Shevett <<a href="mailto:shevett@pobox.com">shevett@pobox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So being clever I tried to do this by hand with a del command:<br>
<br>
$ DEL DU0:[1,6]SYSSCAN.TMP<br>
Delete file   DU0:[1,6]SYSSCAN.TMP;1            [Y/N/G/Q]? Y<br>
DEL -- Failed to mark file for delete<br>
DU0:[1,6]SYSSCAN.TMP;1 -- No such file<br>
Delete file   DU0:[1,6]SYSSCAN.TMP;2            [Y/N/G/Q]? Y<br>
DEL -- Failed to mark file for delete<br>
DU0:[1,6]SYSSCAN.TMP;2 -- File ID, sequence number check<br>
<br>
It looks like the PIP command did work (no error at least)<br>
<br>
$ PIP DU0:[1,6]SYSSCAN.TMP;/RM<br>
$<br>
<br>
Why did the DEL command not work?<br>
<br>
Also, how did you know it was in 1,6?  The error message was ???,???<br>
</blockquote><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">The DCL equivalent command for removing the directory entry for this non-existent file is</div><div dir="auto"><br></div><div dir="auto">$ SET FILE/REMOVE DU0:[1,6]SYSSCAN.TMP;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote><div dir="auto"><br></div><div dir="auto">Johnny already gave an explanation for why this file entry is being left behind when the RSX system is not shutdown properly (you should use the RUN $SHUTUP command). If you’re getting this error, then it’s also likely that there could be other errors on the system volume (e.g. other files may not have been closed and there could be disk allocation errors).</div><div dir="auto"><br></div><div dir="auto">You may need to run a disk verify using the VFY program.  See the Volume 3A manual “RSX-11M-PLUS Utilities Manual” for details.</div><div dir="auto"><br></div><div dir="auto">The full manual set for RSX-11M Plus is on bitsavers at <a href="http://www.bitsavers.org/dec/pdp11/rsx11/RSX11Mplus_V4.x">http://www.bitsavers.org/dec/pdp11/rsx11/RSX11Mplus_V4.x</a> ).</div><div dir="auto"><br></div><div dir="auto">Tony</div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Tony Nicholson <<a href="mailto:tony.nicholson@computer.org" target="_blank">tony.nicholson@computer.org</a>></div>