• 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
    New Generation Software

    “Fixing Your Data Supply Chain”

    FREE Webinar

    You’ve optimized your business processes, products and services, but is there still a logistics gap between your data and your managers and analysts?

    See how NGS-IQ simplifies query, reporting, data visualization, and analytics tasks. Enjoy Microsoft 365 integration, multidimensional modeling, built-in email, and FTP – with IBM i security and performance.

    October 23, 2025, 11am Pacific/2pm Eastern

    RSVP: https://ngsi.news/chain

    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

  • Positive News From The Kyndryl Mainframe Modernization Report
  • NAViGATE, inPower 2025 On Tap for September 2025
  • Guru: WCA4i And Granite – Because You’ve Got Bigger Things To Build
  • As I See It: Digital Coup
  • IBM i PTF Guide, Volume 27, Number 37
  • AI Is Coming for ERP. How Will IBM i Respond?
  • The Power And Storage Price Wiggling Continues – Again
  • LaserVault Adds Multi-Path Support To ViTL
  • As I See It: Spacing Out
  • IBM i PTF Guide, Volume 27, Numbers 34, 35, And 36

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