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

    Disaster Recovery Strategy Guide for IBM i

    Practical tools to implement disaster recovery in your IBM i environment. Fully optimized to include cloud recovery, replication and monitoring options.

    Download NOW!

    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

  • IBM Unveils Manzan, A New Open Source Event Monitor For IBM i
  • Say Goodbye To Downtime: Update Your Database Without Taking Your Business Offline
  • i-Rays Brings Observability To IBM i Performance Problems
  • Another Non-TR “Technology Refresh” Happens With IBM i TR6
  • IBM i PTF Guide, Volume 27, Number 18
  • Will The Turbulent Economy Downdraft IBM Systems Or Lift It?
  • How IBM Improved The Database With IBM i 7.6
  • Rocket Celebrates 35th Anniversary As Private Equity Owner Ponders Sale
  • 50 Acres And A Humanoid Robot With An AI Avatar
  • IBM i PTF Guide, Volume 27, Number 17

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