• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • bsearch: Partial Key Searches and More

    February 22, 2012 Jon Paris

    Note: The code accompanying this article is available for download here.

    In bsearch: A Better %LOOKUP, I mentioned that bsearch permits us to do a partial key lookup (i.e., a lookup that is based on just a portion of the search field). Since bsearch performs a binary search, it will not necessarily return the first matching element in the array. If we need to handle all matching elements then we have to be able to locate the first match in the array, and then process subsequent matching elements.

    Before we jump into the mechanics of how to do

    …

    Read more
  • Prompt Control Controls Parsimonious Command Prompting

    February 22, 2012 Ted Holt

    Note: The code accompanying this article is available for download here.

    I like everything to be as simple as possible. Call me parsimonious, but I agree with my friend Cletus the Codeslinger, who says, “When something’s complicated, somebody’s trying to get your money.” One way to simplify CL command prompting is to show relevant parameters only. Here’s how that’s done.

    By default, prompting a CL command shows all parameters, even though some of them may not be applicable to what the user is trying to accomplish. The Prompt Control Definition (PMTCTL) keyword allows you to prompt for a parameter

    …

    Read more
  • Why Can’t I Access My Remote System’s AS/400 IFS?

    February 22, 2012 Hey, Joe

    I’m trying to create a QFileSvr.400 link between two of my IBM i machines. I created the link on my local machine just like I’m supposed to. But when I open the link to access AS/400 Integrated File System (AS/400 IFS) objects on my remote machine, it gives me a Not Authorized To Object error. What’s going on here?

    –Wil

    Background on QFileSvr.400

    Before I answer Wil’s question, here’s some background information on the QFileSvr.400 file system. If you’re already familiar with QFileSvr.400, skip ahead to the answers section.

    The QFileSvr.400 file system is a unique IBM i machine construct.

    …

    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