• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Stuff I Neglected to Mention on February 16, 2011

    April 20, 2011 Ted Holt

    No matter how hard I try, it seems that I often neglect to mention something important in an article. On February 16, Four Hundred Guru included two of my articles–one about commands, the other about output queues and print devices. In each one, I omitted a salient piece of information. Fortunately, readers of this august publication were quick to bring my shortcomings to my attention. Here are some representative comments.


    Hey, Ted:

    Another fan of commands here. I think you missed one of the best advantages of using commands instead of CALL–namely, that of managing change–in your article Commands: Underused and Unappreciated.

    When you add another parameter to a program, you have to go and find every call to that program, and possibly amend all of those calls. On the other hand, if you’ve gone via a command, then you can pass a default in, and all the callers can be blissfully unaware that the command-processing program (CPP) has changed.

    By changing a command default, you can also easily change many programs without having to open an editor.

    For the IBM APIs that I tend to use often, I frequently create a command with the parameter definitions and then specify the API as the CPP. Now I can prompt the parameters from command entry or SEU without referring to the manual. These commands take only a minute or three to knock together, and can easily save that in a day.

    –Ben

    Ben, you can add optional parameters to programs without using a command interface. But I do think the command method that you advocate is cleaner. I’ve also written commands over APIs, and you’re exactly right: it works well. Your second idea–changing a default–scares me. But that’s because I’m a conservative person in the same way that Wal-Mart is a discount retailer.

    –Ted


    Hey, Ted:

    One point missing in the article OUTQ vs. PRTDEV.

    The only practical reason I have for specifying a print device is in Query/400. If you want to send your spool file to a specific output queue in a query, you must use a printer name. This is true even if you just want the report to go to an outq that does not print. Subsequently, whenever we create remote outq’s, we set up a dummy printer device to go along with it.

    –Doug

    RELATED STORIES

    Commands: Underused and Unappreciated

    OUTQ vs. PRTDEV



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Midrange Dynamics North America

    Git up to speed with MDChange!

    Git can be lightning-fast when dealing with just a few hundred items in a repository. But when dealing with tens of thousands of items, transaction wait times can take minutes.

    MDChange offers an elegant solution that enables you to work efficiently any size Git repository while making your Git experience seamless and highly responsive.

    Learn more.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    SEQUEL Software:  FREE Webinar: Track Key Business Metrics at a Glance. April 27
    JAMS Job Scheduler:  Enterprise job scheduling for System i, Windows, Linux, and UNIX
    COMMON:  Join us at the 2011 Conference & Expo, May 1 - 4 in Minneapolis, MN

    IT Jungle Store Top Book Picks

    BACK IN STOCK: Easy Steps to Internet Programming for System i: List Price, $49.95

    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The iSeries Pocket Database Guide: List Price, $59
    The iSeries Pocket SQL Guide: List Price, $59
    The iSeries Pocket WebFacing Primer: List Price, $39
    Migrating to WebSphere Express for iSeries: List Price, $49
    Getting Started with WebSphere Express for iSeries: List Price, $49
    The All-Everything Operating System: List Price, $35
    The Best Joomla! Tutorial Ever!: List Price, $19.95

    Customer Service Initiative Launched by Quadrant That Faster Power 750 Motor Is Made for IBM i Shops

    Leave a Reply Cancel reply

Volume 11, Number 13 -- April 20, 2011
THIS ISSUE SPONSORED BY:

Botz & Associates, Inc.
Vision Solutions
WorksRight Software

Table of Contents

  • Installing a PHP/MySQL Open Source Application on i
  • Stuff I Neglected to Mention on February 16, 2011
  • Best Options for Post-i 6.1.1 Upgrade Backups

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