Guild Companies, Inc.  
 
Midrange Guru - Tech Tips
OS/400 Edition
Volume 2, Number 37 - May 15, 2002

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

Sponsored By
TRAMENCO

Learn what's over the horizon for the iSeries and AS/400, and how it will impact your career, by attending the premier training event of 2002. It's the iSeries and AS/400 Connection Conference June 16 – 19, 2002 in Naples Florida. Join 19 of the industries greatest minds including Dr. Frank Soltis, Skip Marchesani, Wayne O. Evans, Susan Gantner, Jon Paris, Marie Finnegan-Cronin, and Howard Arner, Jr. as they deliver AS/400 training and education to prepare you for the challenges of tomorrow. A full agenda of 96 sessions (including 10 hands-on labs) provide practical instruction in a full range of topics, including:

  • Understanding Websphere Development Studio

  • Accessing DB2/400 data from Linux

  • Learning how JavaBeans are used

  • Make the most of RPG IV's built in functions

  • SQL Tricks and Techniques

  • ABCs of System Management

  • And much more!
Whether you are an old pro, or just getting your feet wet, there is something for everyone during this intensive four-day conference. Best of all, your classroom is the Registry Resort and Spa, Naples Florida's premier 5-star resort. To register, or for more information, call 1 800 897.5923, or go to the web at www.tramenco.com. But hurry, you must register before May 15, 2002 to save $200 off the standard registration and be eligible for special hotel rates.
THIS ISSUE
SPONSORED BY:
WorksRight Software
TRAMENCO
BACK ISSUES
TABLE OF CONTENTS
Client Access and Windows Compatibility
Delete Badly-Named OS/400 IFS Files
Reader Feedback and Insights: Converting OV/400 Documents to Microsoft Word
  Newsletters | Subscribe | Advertise | About Us | Contact | Search | Home  
  Last Updated: 5/15/02
Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.