• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • RJS Adopts OAR to Simplify Remote Database Access

    November 2, 2010 Alex Woodie

    RJS Software Systems last week unveiled a free extension to its RPG2SQL Integrator software that uses the new Rational Open Access: RPG Edition (OAR) technology to connect RPG applications running on IBM i to remote databases. According to RJS, the OAR handler conceals some of the complexity of using RPG2SQL Integrator, and makes it easier for programmers to bring outside databases into the IBM i frame.

    RPG2SQL Integrator is an established product that allows IBM i programs to read and write to other databases such as Microsoft‘s SQL Server and Access, Oracle‘s 11g database and MySQL, and even Excel spreadsheets. By creating a real-time connection between IBM i apps (COBOL and CL programs are also supported) and outside data sources, the Windows-based software eliminates the need to adopt other processes to move data, such as file transfers, database replication, and manual re-keying.

    According to RJS software architect Vernon Hamberg, there was a bit of a learning curve for programmers to adopt RPG2SQL Integrator and correctly integrate its APIs and procedures into business applications. “The code is more complex than standard I/O. It’s on a par with embedded SQL, perhaps, or ODBC processing in Visual Basic,” he writes in an e-mail. “Although this is no problem for experienced ILE developers, it adds a level of complexity.”

    When IBM unveiled OAR as a component of IBM i 7.1 earlier this year, Hamberg immediately thought it could be a good fit for an RJS product. While most ISVs who have adopted OAR use it for driving Web-based GUIs from RPG, Hamberg foresaw its use for simplifying remote database access with RPG2SQL Integrator. “We pride ourselves on staying ahead of the curve,” he says.

    More Like IBM i

    Before OAR, setting up the RPG2SQL software involved a number of steps that might be unfamiliar to the average IBM i programmer who’s proficient with the standard OPEN, READ, and CLOSE I/O opcodes, but is out of his comfort zone when dealing with lower-level programming on other platforms.

    Pre-OAR, the setup process for RPG2SQL Integrator included using GetFld* functions to extract column values from the remote database. Then the programmer needed to use RJS’ binding directory and implement error handling on the PC server before getting to the work of connecting IBM i applications to remote databases.

    With the new OAR handler, the setup process will be more familiar to IBM i programmers of all skill levels. As Hamberg explains, the process includes setting up a typical F-spec that incorporates the new OAR I/O handler, which features a template for the optional parameter that’s passed to the handler. Then the programmer sets just two values: the IP address of the PC running the RPG2SQL Integrator middleware, and the connection string for the remote database (as entered in the optional parameter). “It’s very similar to reading a local physical file,” Hamberg says.

    After the setup process is complete, the RPG2SQL Integrator user can get down to business specifying which tables to access and what to do with the data. Once again, with the OAR handler doing the dirty work, this process is more familiar to the typical IBM i programmer.

    Remote database OPENS, READS, and CLOSES work as IBM i programmers would expect when working with RPG opcodes, and aren’t as lengthy and convoluted as they were before. “In the words of one who has seen a demonstration, the OAR handler conceals the complexity of retrieving data from remote databases,” Hamberg says.

    At this point, the OAR I/O handler supports the OPEN, READ, and CLOSE opcodes. Hamberg says it should be fairly easy to add CHAIN, keyed DELETE, and others. Opcodes such as SETLL and READE (with varying numbers of keys) will take more time. The decision to add more advanced features will depend on customer interest, he says.

    The new OAR extension is a free download for existing RPG2SQL Integrator users. For more information and trial downloads, see the company’s website at www.rjssoftware.com.

    RELATED STORIES

    IBM Officially Announces i/OS 7.1

    RPG Writes to PC Databases with RJS’s RPG2SQL Integrator



                         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
    Midrange Dynamics North America

    Git up to speed with MDChange!

    Git can be lightning-fast when dealing with just a few hundred items in a repository. But when dealing with tens of thousands of items, transaction wait times can take minutes.

    MDChange offers an elegant solution that enables you to work efficiently any size Git repository while making your Git experience seamless and highly responsive.

    Learn more.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    Bytware:  FREE Webinar! Scan your IBM i, AIX, and Linux Directories for Viruses. Nov. 17, 9 am PT
    iSeries DevCon2010:  Get 3 days of IBM i training and 365 DAYS OF VALUE, Nov 15-17, Las Vegas
    neuObjects:  Introducing NEUEDIT, a unique and powerful GUI database editor. FREE 60-day download

    IT Jungle Store Top Book Picks

    BACK IN STOCK: Easy Steps to Internet Programming for System i: List Price, $49.95

    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The iSeries Pocket Database Guide: List Price, $59
    The iSeries Pocket SQL Guide: List Price, $59
    The iSeries Pocket WebFacing Primer: List Price, $39
    Migrating to WebSphere Express for iSeries: List Price, $49
    Getting Started with WebSphere Express for iSeries: List Price, $49
    The All-Everything Operating System: List Price, $35
    The Best Joomla! Tutorial Ever!: List Price, $19.95

    CIO Priorities: Increase Cash Flow, Process Efficiencies, IT Awareness An Introduction to Python on IBM i, Part 2

    Leave a Reply Cancel reply

Volume 10, Number 39 -- November 2, 2010
THIS ISSUE SPONSORED BY:

Profound Logic Software
Bytware
DRV Technologies
Shield Advanced Solutions
Connectria Hosting

Table of Contents

  • Top ERP Apps Run on IBM i 7.1 After All, IBM Says
  • RJS Adopts OAR to Simplify Remote Database Access
  • Jaspersoft Drives BI Success with Open Source
  • IBM Goes Social and Mobile with Cognos 10
  • CYBRA Unveils New Printing Solutions for Apparel Industry
  • Halcyon Software Unveils Authority Swapper, iPhone Interface
  • IBM Launches Cloud Computing Lab
  • Agilysys Signs New Vegas Casino to IBM i Software Deal
  • Missouri Distributor Sees the Benefits of ERP Upgrade
  • SoftLanding Announces Sale on New IBM i Package

Content archive

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

Recent Posts

  • Public Preview For Watson Code Assistant for i Available Soon
  • COMMON Youth Movement Continues at POWERUp 2025
  • IBM Preserves Memory Investments Across Power10 And Power11
  • Eradani Uses AI For New EDI And API Service
  • Picking Apart IBM’s $150 Billion In US Manufacturing And R&D
  • FAX/400 And CICS For i Are Dead. What Will IBM Kill Next?
  • Fresche Overhauls X-Analysis With Web UI, AI Smarts
  • Is It Time To Add The Rust Programming Language To IBM i?
  • Is IBM Going To Raise Prices On Power10 Expert Care?
  • IBM i PTF Guide, Volume 27, Number 20

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