• 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
    Computer Keyes

    Create Full Color Overlays, Interactive PDFs

    KeyesOverlay rapidly converts standard *SCS printer files into eye-catching PDF documents. Create graphical overlays in full color (or black and white if preferred) then easily map your spooled file text with different fonts, sizes and colors!

    KeyesOverlay can also create Interactive Forms for your customers to fill out and email or submit back to you.

    www.computerkeyes.com

    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

  • Power10 Boosts NVM-Express Flash Performance
  • Fortra Completes Postmortem Of GoAnywhere Vulnerability
  • Guru: Binding Directory Entries
  • How Does Your Infrastructure Spending Stack Up To The World?
  • IBM i PTF Guide, Volume 25, Number 22
  • Fortra Issues 20th State of IBM i Security Report
  • FNTS Launches Managed Services for Power Servers in IBM Cloud
  • Total LTO Shipped Capacity Up Slightly in 2022
  • Four Hundred Monitor, May 24
  • Update On Critical Security Vulnerability In PowerVM

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 © 2023 IT Jungle