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

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

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

    Sponsored by
    Raz-Lee Security

    The MFA Mobile App provides a secure and user-friendly way to add strong authentication without complicating access. It enables users to approve login requests or generate one-time passwords directly from their mobile device, ensuring that access is granted only after a second, trusted factor is verified.

    Learn More

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Reader Feedback and Insights: Binder Language Properly Sorting Numeric Arrays

    Leave a ReplyCancel 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

    • Inside The Encryption Key Management Changes In IBM i 7.6
    • FalconStor Moved To The Blue Lagoon, And Is Poised For Growth Because Of It
    • Guru: Claude’s SQL Tip
    • Astera Makes Extracting Legacy Report Data an AI Specialty
    • IBM i PTF Guide, Volume 28, Number 27
    • Welcoming The New IBM i Chief Architect And Other New Top Brass
    • A Deep Dive Into That Power S1112 Entry Power11 Server
    • Guru: Beyond Three-Part Naming – Running SQL Across Remote IBM i Systems
    • How IBM Bolstered IBM i Resilience In The Summer Tech Refreshes
    • IBM i PTF Guide, Volume 28, Number 26

    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