• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Put Users On the Fast Track

    September 13, 2002 Timothy Prickett Morgan

    Hey, Ted:

    We are a very user-oriented shop, that is, users do virtually everything on their own. Since the days when we ran a System/34, users have been menu oriented, but they also understood the command line.

    In the S/34 and S/36 days, users ran OCL procedures. Unlike CL programs, which are initiated with the CALL command, OCL procedures are run by simply typing the procedures’ names. Users learned the names of frequently used procedures and became accustomed to running procedures from the command line rather than from menus.

    When the AS/400 came along, users wanted to continue to use fast-path names to run their programs from a command line. Typing CALL AR2004C was not friendly enough for them. They wanted to type DAILYSALES instead.

    We solved this problem by creating commands to run programs. However, that created another problem. We were creating a lot of one-line source members. Here’s how we solved that problem.

    First, create the following two-line source member called @DFTCMDSRC in QGPL/QCMDSRC:

    /* Default command source */
    CMD
    

    Next, use the following syntax whenever you want to create a command that does nothing more that call the command-processing program:

    CRTCMD CMD(lib/cmd_name) +
       PGM(lib/pgm_name) +
       SRCFILE(QGPL/QCMDSRC) +
       SRCMBR(@DFTCMDSRC)
       ..other keywords as needed..
    

    — Chris

    Sponsored By
    ADVANCED SYSTEMS CONCEPTS

    SEQUEL meets all your iSeries and AS/400 data access needs in a single, integrated solution:

    • Windows, Web or host user interfaces

    • Convert AS/400 data into PC file formats

    • E-mail or FTP query results, reports and spool files
    • Run-time prompted queries and reports for end users

    • IF-THEN-ELSE logic in queries and reports

    • Report, form and label formatting second to none

    • Easily convert date fields, character-to-numeric, numeric-to-character and other data manipulation

    • SORT or JOIN using a calculated field

    • Quick summarization of data with Tabling function

    • Run multiple SEQUEL requests as one with the SEQUEL Scripting function

    • OLAP Business Intelligence at a fraction of the cost of comparable solutions

    Take 6 minutes to view a SEQUEL ViewPoint ScreenCam movie to see how simple Windows-based AS/400 and iSeries data access can be! In just a few short minutes, you can find out ways to make your job easier and improve data access throughout your organization. Download the ViewPoint movie here .

    For more information or a FREE trial of SEQUEL, call 847/605-1311 or visit Advanced Systems Concepts.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: mgo_rc, Volume 2, Number 70 -- September 13, 2002

    Sponsored by
    Mason Associates, Inc.

    Your Trusted Partner in All Things IBM i

    As an IBM Business Partner, Mason Associates, Inc. assists with hardware and software renewals, system upgrades, expansion, AI readiness, and cloud migration & hosting to keep your technology up to date.

    • Infrastructure, Managed Services & Cloud Hosting
    • Development & Integration
    • Engineering & Technology
    • Consulting & Management
    • AI Readiness & Use Case Assessments

    Learn More

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Reader Feedback and Insights: Binder Language Properly Sorting Numeric Arrays

    Leave a Reply Cancel reply

MGO Volume: 2 Issue: 70

This Issue Sponsored By

    Table of Contents

    • Reader Feedback and Insights: Binder Language
    • Put Users On the Fast Track
    • Properly Sorting Numeric Arrays

    Content archive

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

    Recent Posts

    • Spring IBM i Tech Refreshes Will Come A Bit Later This Year
    • You Are Much More Than Power Systems, And So Are We
    • Startup Seeks The “Golden Path” for IBM i Modernization
    • What Can IBM Do To Make The Future Power S1112 Mini System Compelling?
    • IBM i PTF Guide, Volume 28, Number 15
    • Bob 1.0 Users Bugged By Lack Of One Feature
    • Here Come The AI-Based Code Modernization Offerings
    • Guru: Cohesion First – What A Procedure Should Be Responsible For
    • IBM Offers Trade-Ins On Storage To Grease The Upgrade Skids
    • IBM i PTF Guide, Volume 28, Number 14

    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