• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Create Multiple Directory Levels in One Swell Foop

    December 5, 2007 Hey, Ted

    Maybe I’m getting old, but I seem to remember being able to create several levels of directory structure with one command. I currently have such a need, in an application that creates XML files in the IFS. Yet CL’s MAKE DIRECTORY (MKDIR) command fails with error message CPFA0A9. Am I imaging things, or has something changed?

    –Lynn

    My guess is that you’re remembering MS-DOS’s md command. The following example contains a command that creates from one to five directories as needed.

    C:>md salesreports20071RegionC
    

    CL’s MKDIR command can only create one directory level at a time. However, Qshell’s mkdir command can

    …

    Read more
  • Update Only One of Duplicate Records

    December 5, 2007 Hey, Ted

    We have a file that has no unique key. This means that we sometimes get duplicate records in the file. This does not cause us problems in RPG programs because we can read a record, make changes to it, and update it, whether we’re using native I/O or an SQL cursor. However, having duplicate rows is a problem when we use SQL outside of programs. If two or more records are identical, there is no way to code a WHERE clause that will select only one record. Or is there?

    –David

    It is ugly, but possible, David. Assume table MYDATA,

    …

    Read more
  • Admin Alert: Getting Started with Trial Capacity on Demand, Part 1

    December 5, 2007 Joe Hertvik

    I recently activated a trial Capacity Upgrade on Demand (CoD) processor to increase my processing power on a System i 550 box. If you’re considering activating additional processors on your system, this week and next I’ll trace the steps I took to decide on activating another processor and how I got the process moving. Although there are a few pitfalls to avoid, adding extra processors to your machine isn’t that difficult.

    What is CoD?

    Capacity on Demand (CoD) is IBM‘s way of ensuring that you can quickly add extra capacity to later model System i servers, including models 550,

    …

    Read more

Content archive

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

Recent Posts

  • IBM Unveils Manzan, A New Open Source Event Monitor For IBM i
  • Say Goodbye To Downtime: Update Your Database Without Taking Your Business Offline
  • i-Rays Brings Observability To IBM i Performance Problems
  • Another Non-TR “Technology Refresh” Happens With IBM i TR6
  • IBM i PTF Guide, Volume 27, Number 18
  • Will The Turbulent Economy Downdraft IBM Systems Or Lift It?
  • How IBM Improved The Database With IBM i 7.6
  • Rocket Celebrates 35th Anniversary As Private Equity Owner Ponders Sale
  • 50 Acres And A Humanoid Robot With An AI Avatar
  • IBM i PTF Guide, Volume 27, Number 17

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