• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • IFSPOP–Another (And A Better) IFS Interface

    August 7, 2013 Hey, Ted

    Note: The code accompanying this article is available for download here.

    I read your article, Another IFS Interface, and I agree with you that IBM‘s green-screen solutions leave a lot to be desired. I got so fed up with WRKLNK, and the even more obtuse WRKFLR, that I wrote my own solution. It’s nothing fancy, but it is a lot better than what exists. It’s a green-screen solution written in RPG.

    I modeled it after POP, one of my favorite tools, from the System/36 days. The idea, like POP of old, is that if there is something you want to do with an IFS object, you could write your own code to be included in IFSPOP. I have found it to be useful in that I don’t have to flip over to System i Navigator in order to poke around in the IFS.

    The main program, IFSPOPR, is a simple load-all subfile that can handle up to 9999 entries. (I should update it, but work keeps getting in the way. I wrote IFSPOP on a budget of zero dollars in my spare time.)

    Since it is extendable, I ask anyone who develops an additional option to IFSPOP to send it to you to for “re-distribution.” That could help make it more popular and usable.

    Most of the options I wrote for IFSPOP just do the basics and are good as examples on how to write extension programs. Since I am not very good at dealing with the IFS, I’m sure someone else can improve on these programs. The printing function is the one program that really shows what can be done with IFSPOP.

    Attached is a save file for version 6.1. The source is also included in the library. To run, add library IPSPOP to the library list and enter the command IFSPOP.

    –Mark Keck

    I remember POP. It was a big help to me on the S/36, and what’s more, it was cheap. It had to be, because I was working for a small private college in those days and we didn’t have any money.

    Here’s an example of the IFSPOP screen:

    Figure 1

    (Click graphic to enlarge.)

    I have enjoyed using IFSPOP in my shop. I was intrigued that I could add my own user options. I’ll use option OD (hexadecimal dump) to illustrate how that’s done.

    Write a program called IFSPOPSOD to run the OD function.

    H DEBUG OPTION(*SRCSTMT:*NODEBUGIO) DFTACTGRP(*YES)
     *__________________________________________________
     *
    D FILENAME        S            376
    D CMD             S            512
    D CMDLEN          S             15P 5
     *_________________________________________________
     *
    C     *ENTRY        PLIST
    C                   PARM                    FILENAME
     *
    C                   EVAL      CMD = 'QSH CMD(''od -t
     cx ''''' +
    C                             %trim(filename) +
    C                             ''''' | Rfile -w /
    qsys.lib/qsysprt.file'')'
    C                   EVAL      CMDLEN = %len(%trim(CMD))
    C                   CALL(E)   'QCMDEXC'
    C                   PARM                    CMD
    C                   PARM                    CMDLEN
     *
    C                   EVAL      *INLR = *ON
    

    Add option OD, with a description of Hex dump, to database table (physical file) IFSPOPRO. IFSPOP reads this file to build the legend of options.

    Many thanks to Mark Keck for the IFSPOP utility.

    RELATED STORY

    Another IFS Interface



                         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
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    Maxava:  FREE Webinar: Test your DR without Downtime. September 12
    System i Developer:  Upgrade your skills at the RPG & DB2 Summit in Minneapolis, Oct 15-17.
    Linoma Software:  GoAnywhere Secure File Transfer. Simplify. Automate. Encrypt.

    More IT Jungle Resources:

    System i PTF Guide: Weekly PTF Updates
    IBM i Events Calendar: National Conferences, Local Events, and Webinars
    Breaking News: News Hot Off The Press
    TPM @ The Reg: More News From ITJ EIC Timothy Prickett Morgan

    Fall COMMON Conference Just One Month Away IBM Forms OpenPower Consortium, Breathes New Life Into Power

    Leave a Reply Cancel reply

Volume 13, Number 15 -- August 7, 2013
THIS ISSUE SPONSORED BY:

PowerTech
WorksRight Software
Profound Logic Software

Table of Contents

  • IFSPOP–Another (And A Better) IFS Interface
  • SQL and Invalid Decimal Data
  • Admin Alert: Budgeting For Your Next Power Systems Upgrade

Content archive

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

Recent Posts

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

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