• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Unix Calls from OCL

    July 12, 2006 Hey, Ted

    Our shop runs a System/36 emulation environment on an RS/6000 AIX machine. We want to move this environment to an i5. In our current situation, we issue a ton of Unix calls within our OCL procedures. We have over 5,500 of these calls. We’re trying to wrap our arms around understanding the impact/feasibility of the move to the i5. If we can’t continue the Unix calls “as is,” going to the i5 probably will not happen.

    We plan to keep the RS/6000 along with the i5. So, in a nutshell, is there a way to issue the Unix calls from the i5 in a way that they are executed on the RS/6000? Do we define the RS/6000 so that it’s “seen” through the IFS? Is Qshell a part of the solution? Any help or suggestions would be greatly appreciated.

    –Bob

    This question was so out of the ordinary from the correspondence I usually get, I couldn’t help but address it in Four Hundred Guru. It also struck me as strange that IBM announced end of support for the S/36 compilers about the same time I got Bob’s email. (IBM has since then changed its collective mind.)

    I would think it is probably possible to use remote command support to run commands on the Unix machine from an OCL procedure that runs on an i5, but it’s not something I’ve ever done, have any need to do, or have time to look into. If anybody out there has made this happen, I’d like to hear from you.

    I did find a way to run Unix commands on the i5, but I don’t know what to make of it.

    Since the sample code Bob sent me used a Unix command to execute the AIX commands, the first thing I did was to create a one-line OCL procedure called UNIX.

    QSH CMD('?1?')
    

    Then I put a Unix command in a test OCL procedure.

    // UNIX 'ls /home/tholt/backup >/home/tholt/dir.txt'
    

    Here are a few observations.

    1. I am proud that IBM has gone to such great lengths to help System i software continue to run in spite of changes in technology.
    2. It worked, but I don’t know what performance will be like. I would think it would be much slower than on Bob’s present AIX system.
    3. I suspect Bob’s best bet is to remain with the AIX system. Maybe the i5 is not the best host for S/36 applications.

    –Ted

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Midrange Dynamics North America

    With MDRapid, you can drastically reduce application downtime from hours to minutes. Deploying database changes quickly, even for multi-million and multi-billion record files, MDRapid is easy to integrate into day-to-day operations, allowing change and innovation to be continuous while reducing major business risks.

    Learn more.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    COMMON:  Join us at the Fall 2006 conference, September 17-21, in Miami Beach, Florida
    PowerTech:  Your security expert for the iSeries and AS/400
    New Generation Software:  Leading provider of iSeries BI and financial management software

    Centerfield Technology, Innovatum Team on Database Tuning, Compliance Sundry Summer Announcements for the System i5

    Leave a Reply Cancel reply

Volume 6, Number 26 -- July 12, 2006
THIS ISSUE SPONSORED BY:

WorksRight Software
ProData Computer Services
COMMON

Table of Contents

  • Unix Calls from OCL
  • Admin Alert: Moving a Subsystem into its Own Shared Pool
  • Recursive Queries on the iSeries and System i

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