$ directory
Directory $1$DGA100:[USER]
TEST.TXT;1
Total of 1 file.
7.
Verify the content of the data file:
Example
$ type test.txt
this is a line of text for the test file test.txt
8.
Delete the data file:
Example
$ delete test.txt;
$ directory
%DIRECT-W-NOFILES, no files found
$ type test.txt
%TYPE-W-SEARCHFAIL,error searching for
$1$DGA100:[USER]TEST.TXT; -RMS-E-FNF,
file not found
The delete command removes the test.txt file. The directory command verifies that
the test.txt file is removed, and the type command verifies that the test.txt file is no
longer in the system.
9.
Delete the test user directory by entering this command:
Example
$ delete $1$dga100:[000000]user.dir;
$ show default $1$DGA100:[USER]
%DCL-I-INVDEF, $1$DGA100:[USER] does not exist
The delete command removes the USER directory from the disk volume. The show default
command verifies that the user directory is removed.
10. Restore the default login directory by entering this command:
set default sys$login:
60
OpenVMS