• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Delete Badly-Named OS/400 IFS Files, Take Two

    July 10, 2002 Timothy Prickett Morgan

    Dear Readers:

    In the May 15, 2002 issue of the Midrange Guru, I explained how to use an FTP client to delete an IFS file with an improper name . Recently, it occurred to me that there’s an easier way. In fact, there are two easier ways and I’d like to share them with you.

    To recap the problem, sometimes client programs create IFS files with names that make OS/400 choke when you try to delete, rename, or otherwise access such files.

    However, you may still be able to access these files with wildcards. You can use the question mark (?) to replace a single character and an asterisk (*) to replace zero or more characters.

    So, let’s return to the original problem–how to delete a file named ‘lotusdominodata.

    From an OS/400 command line, use the Work with Object Links (WRKLNK) command to find the file. Substitute wildcards as necessary:

    wrklnk '?lot*'
    

    In this example, WRKLNK is to display file names that begin with any character followed by the letters l, o, and t, followed by zero or more characters.

    If the display shows files that you do not wish to delete, refine the file name in the WRKLNK command as necessary.

    When the system shows only one file, you’re in luck. Press the F9 key to retrieve the WRKLNK command. Replace WRK with RMV and press Enter to run the Remove Link (RMVLNK) command:

    rmvlnk '?lot*'
    

    The second method is similar. Use the ls and rm commands under Qshell:

    ls ?lotus* 
    rm ?lotus* 
    

    — Ted

    Sponsored By
    TRAMENCO

    Introducing a New Source for Training and Mentoring. Follow this link to a vital new source for how-to technical information: www.tramenco.com.

    Unlike companies that offer training as an afterthought, The Training and Mentoring Company (Tramenco) is dedicated to just one thing: Advancing your career by giving you the skills you need to solve real-world business problems.

    You get the best information from the world’s leading experts–Howard Arner, Kelly Conklin, Don Denoncourt, Susan Gantner, Skip Marchesani, Glen Marchesani, Shannon O’Donnell, Craig Pelke, and Richard Shaler.

    Choose from a menu of training options to fit your needs: onsite seminars, public seminars, mentoring, consulting, books, CBTs, and Web-based training.

    And make plans to attend the 2002 iSeries Connection Conference, the multi-day, multi-track conference that was the only sold-out iSeries training event this year, co-sponsored by the Education Connection and Tramenco.

    For more information about Tramenco’s career enhancing opportunities, call (800) 421-8031 or go to www.tramenco.com.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: mgo_rc, Volume 2, Number 51 -- July 10, 2002

    Sponsored by
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Distinct File and Record Names with SQL Reader Feedback and Insights: Service Program Catch-22 Simplified

    Leave a Reply Cancel reply

MGO Volume: 2 Issue: 51

This Issue Sponsored By

    Table of Contents

    • Reader Feedback and Insights: Avoiding Object Locks
    • Use Query/400 to Find IFS Files in BRMS
    • Delete Badly-Named OS/400 IFS Files, Take Two

    Content archive

    • The Four Hundred
    • Four Hundred Stuff
    • Four Hundred Guru

    Recent Posts

    • Public Preview For Watson Code Assistant for i Available Soon
    • COMMON Youth Movement Continues at POWERUp 2025
    • IBM Preserves Memory Investments Across Power10 And Power11
    • Eradani Uses AI For New EDI And API Service
    • Picking Apart IBM’s $150 Billion In US Manufacturing And R&D
    • FAX/400 And CICS For i Are Dead. What Will IBM Kill Next?
    • Fresche Overhauls X-Analysis With Web UI, AI Smarts
    • Is It Time To Add The Rust Programming Language To IBM i?
    • Is IBM Going To Raise Prices On Power10 Expert Care?
    • IBM i PTF Guide, Volume 27, Number 20

    Subscribe

    To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

    Pages

    • About Us
    • Contact
    • Contributors
    • Four Hundred Monitor
    • IBM i PTF Guide
    • Media Kit
    • Subscribe

    Search

    Copyright © 2025 IT Jungle