• 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
    Maxava

    Migrate IBM i with Confidence

    Tired of costly and risky migrations? Maxava Migrate Live minimizes disruption with seamless transitions.

    Upgrading to Power10, Power11, or cloud hosted system, Maxava has you covered!

    Book A Consultation Today

    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

  • With Power11, Power Systems “Go To Eleven”
  • With Subscription Price, IBM i P20 And P30 Tiers Get Bigger Bundles
  • Izzi Buys CNX, Eyes Valence Port To System Z
  • IBM i Shops “Attacking” Security Concerns, Study Shows
  • IBM i PTF Guide, Volume 27, Number 26
  • Liam Allan Shares What’s Coming Next With Code For IBM i
  • From Stable To Scalable: Visual LANSA 16 Powers IBM i Growth – Launching July 8
  • VS Code Will Be The Heart Of The Modern IBM i Platform
  • The AS/400: A 37-Year-Old Dog That Loves To Learn New Tricks
  • IBM i PTF Guide, Volume 27, Number 25

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