|
Delete Badly-Named OS/400 IFS Files
Hey, Ted:
I have a question/problem with OS/400 IFS. If I run
the Work with Object Links (WRKLNK) command, I can see
stream files for objects that do not actually exist. These
are objects that I had tried to FTP to the AS400, but
apparently I did something wrong. If I try to delete this
object, I get an error saying the object does not exist. Is
there a way to get rid of these? I have included a screen
shot for you to see. [Tom's screen shot showed a file
whose name began with these characters: lotus\domino\data.
It also showed this message: Object not found--which is the
text of the message CPFA0A9, at the bottom of the
display.]
-- Tom
The problem is that the file name contains backslashes.
FTP is a wonderful tool, but it lets you create files with
names that OS/400 doesn’t like.
You can use an FTP client to delete the file. I don't
know if this works with all FTP clients or not, but I
tested it with the Windows FTP client on my PC and with the
OS/400 client and this technique worked with both of
them.
To delete the file, change to name format 1, which tells
FTP that you're using a directory naming convention. If
you're using the OS/400 client, use this command:
namefmt 1
If you're using a PC client, use this command
quote site namefmt 1
If you like, change the current directory to the one
containing the file:
cd /home/jsmith
Use the del command to delete the file:
del 'lotus\domino\data
-- Ted
|