• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • DB2 For i? This Is SQL Server Calling

    June 4, 2012 Dan Burger

    Separate from the issue of RPG programmers doing Web development, application modernization, and DB2 for i modernization is the fact that many IBM midrange shops have Windows application development taking place, too. Often, the Microsoft platform has taken the lead in Web development. When that happens, eventually the business managers decide information residing in DB2 for i is going to be needed for .NET applications. And this can make you wonder whether the i in IBM i really stands for integration.

    Two words that come to mind in any discussion about cross-platform database development are complexity and performance. Ideally, we want very little of the first and lots of the second. In reality, there seems to be just the opposite. This can be mitigated to a degree depending upon the amount of SQL work that has been done to a DB2 for i database, but there’s not been a lot of that going on. Much improvement has been made in the past five years, but it is still a slow slog when it comes to database modernization. A generous estimate might be that 10 percent of IBM i shops have undertaken such projects.

    For its part, IBM seems embarrassingly inept at integrating SQL Server with DB2 for i. Product development is behind other DB2 environments. Finding documentation is not as easy as it should be. Some of what you will find is outdated (the newest Redbook was published in 2005) and customers doing research on DB2 for i can get tangled up with resources for platforms other than IBM i. Finding individuals (actual human beings with the knowledge and field experience) who you can talk with is a game of hide and seek. If you want customer support, you’ll really have to dig for it. At the end of this article, I’ll include links to several resources that can take you into the gnarly details of database interfacing. Those who are searching for answers should find these useful in planning a project, getting the DB2 and SQL Server teams on the same page, and a point of reference when seeking support from IBM.

    In the trenches, seldom do you find IT staff that understands both sides of the equation. It’s like the right side and the left side of the brain with a little bit of the Hatfields versus the McCoys thrown into the fray. Get the communication lines open between your two database teams before you start looking for outsiders to blame for the difficulties. Knowing a little bit of theory and calculation can save a lot of misdirection and mistakes.

    Over on the Microsoft side, .NET Entity Framework is getting a lot of attention. It’s relatively new (available since 2010), so only the progressive .NET shops have learned the ropes. But it is established that the combination of Entity Framework and SQL Server packs higher performance for that environment. And the .NET developers would like to see similar performance when knocking on the DB2 for i door. However, when opportunity knocks, it’s disappointment that answers.

    Two things to consider: one is that IBM has figured out a better way to connect SQL Server and Entity Framework with DB2 for Linux, Unix, and Windows (LUW), but has not taken the same steps with DB2 for i; and don’t think that DB2 for i is the only database that doesn’t play well with SQL Server. Practically any database that’s been around for more than five years doesn’t sing in perfect harmony and the older the database, the more it sings off key. Still, the IBM i database could use the capabilities that other DB2 databases enjoy if we are to take seriously the “i is for integration” boast.

    Technically, the integration is there, but it varies from maddeningly awkward and slow to moderately unrefined and lethargic. And you don’t need Entity Framework. There are various ways to reach the same goal of getting data from the database. You can do it with an ODBC driver (although that’s not used much any more). A JDBC driver is another option–there is no other option if you develop in Java), and there are ADO drivers and .NET providers that are most often used by Windows developers to access DB2 for i data. All of these have made integration possible, which is maybe a victory in itself, but satisfaction scores are typically below average when matched up against expectations.

    Before you start studying and investigating what you can do to make or improve the connection between your DB2 and SQL databases, take into account a third factor–the quality of data in your database.

    One of the problems with trying to approach the IBM i database with SQL Server tools is that many of the legacy IBM i databases were built before standardization practices were recognized as valuable. They evolved independently from what was going on in other IBM midrange shops with the same DB2 and different flavors of DB2. They included all kinds of workarounds. As time went on, some of these database modeling processes improved and some didn’t. Those that didn’t continued to use familiar crutches and workarounds that plague interoperability efforts today. So it could be your fault, too, basically.

    Before you give IBM too much lip about what it needs to do to better support its customers, it might help to line up your own support from companies that are also interested in a better way to connect .NET apps with DB2 for i data. There is a profit motive that drives development work at IBM, just as there is at your company and for you as an individual. You can pretty much count on supply following demand as well as the squeaky wheel getting the grease.

    If IBM doesn’t do a better job of making database connectivity easier and deliver better performance along with it, there will be independent software vendors that will likely step in to fill this gap. However, even if it is up to the ISVs, they still have to get the cooperation of the IBM i team to make it happen.

    As promised, here are some sources of information that deserve your attention: Provider support for Microsoft Entity Framework, DB2 Connect website, and .Net Framework 4.0 features for connecting to DB2.

    RELATED STORIES

    A Little .NET Can Go A Long Way

    Business Strategy Bumps Into Database Deficiency

    ASNA’s Newest RPG to .NET Option Now Available

    Get Database Skills for Career ROI

    .NET in the Midrange: Not Migration So Much As Integration

    Microsoft Technologies Gaining Ground in the IBM Midrange

    .NET App Modernization Tool Unveiled by looksoftware

    LANSA Helps i OS and .NET Apps Meet at Database Level

    Database Modernization Still Unknown Territory



                         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

    As I See It: Pocket Litter BCS Group Ramps Up Quick-EDD/HA Software Business

    Leave a Reply Cancel reply

Volume 21, Number 21 -- June 4, 2012
THIS ISSUE SPONSORED BY:

Profound Logic Software
T.L. Ashford
Abacus Solutions
Computer Keyes
RJS Software Systems

Table of Contents

  • IBM Puffs Up New Public, Private SmartCloud Releases
  • Power Systems Power Through Server Downturn
  • DB2 For i? This Is SQL Server Calling
  • Mad Dog 21/21: Outer Burroughs
  • RDP 8.5 Brings New RPG Views, Hooks To Team Concert
  • Reader Feedback On Pocket Litter, On Spooky Action, and On A House of Many Windows
  • CEOs Say Get Connected Or Get Left Behind
  • BCD Adds New Partners In The United Kingdom and Ireland
  • Jack Henry Sees Steady Improvement In Fiscal Q3
  • The Magic Continues In The First Quarter For Magic Software

Content archive

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

Recent Posts

  • Power Systems Grows Nicely In Q3, Looks To Grow For All 2025, Too
  • Beta Of MCP Server Opens Up IBM i For Agentic AI
  • Sundry IBM i And Power Stack Announcements For Your Consideration
  • Please Take The IBM i Marketplace Survey
  • IBM i PTF Guide, Volume 27, Number 43
  • IBM Pulls The Curtain Back A Smidge On Project Bob
  • IBM Just Killed Merlin. Here’s Why
  • Guru: Playing Sounds From An RPG Program
  • A Bit More Insight Into IBM’s “Spyre” AI Accelerator For Power
  • IBM i PTF Guide, Volume 27, Number 42

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