IBM i connections need support for "system naming" mode.

  • Thread starter Thread starter WarrenT
  • Start date Start date
Status
Not open for further replies.
W

WarrenT

Guest
When connecting to DB2 for i, which indicates an IBM i platform (formerly known as AS/400 or iSeries), it is important to support the traditional "system naming" mode, and not just the "SQL naming" mode. The implications of this go far beyond the syntax of whether to use '.' or '/' as the separator when qualifying names (prior to 2012 ), such as affecting the authorities attached to new objects. See System vs SQL Naming - Part 1 and especially Part 2 . The most critical of these implications is that under system naming the system can use the "library list" to search multiple schemas when an object name is unqualified. A library list is analogous to a search path in a Windows or Unix-type OS. This is standard practice in most IBM i shops, and enables us to run code in multiple environments (ex. development, QA, training, production) without changing any code, merely by controlling the job's library list. Using a current schema is entirely different, and would only allow a single schema to be searched for objects with unqualified names, and would be unacceptable in many IBM i shops. This feature should be included in any product connecting to an IBM i system, even if (incorrectly) referred to as an AS/400, iSeries, or otherwise. (Terminology notes: DB2 comes in three co-equal platform editions -- DB2 for i, DB2 LUW (Linux/Unix/Windows), and DB2 for z/OS. They all used to be marketed as DB2 UDB (Universal Database), and support the same set of core features, but each has features not (yet) included in the others. Perhaps because of IBM's internal divisions, the IBM i version is often overlooked by the rest of IBM. Yet IBM sells more Power Systems than any other, and more of those systems ship with IBM i than any other OS. DB2 is an integral and inseparable component of IBM i. In IBM i terms, a "library" is a schema. It is common for many to incorrectly refer to a Power System, running IBM i, as an AS/400 or iSeries which are long discontinued brand names. IBM has not built an AS/400 since 2000.)

Continue reading...
 
Status
Not open for further replies.
Back
Top