Ardara Media

Specializing in providing audio/video production, social media development, and technology support for individuals and businesses.

  • Facebook
  • Twitter
  • Google+
  • Linkedin
  • Email

Primary menu

Skip to primary content
Skip to secondary content
  • Welcome to Ardara Media
  • News
  • Social Media
  • Tips & Tricks
  • WordPress
  • Commentary

Tag Archives: iSeries

Legacy record formats in DB2/SQL

Posted on December 15, 2011 by Sean

A co-worker pointed out an interesting clause in the DB2 CREATE TABLE and CREATE INDEX statements. If you’re like us and trying to integrate some DB2/SQL with your legacy S/3x applications, you may have run into a case where you need to differentiate between your table name and the record Continue Reading →

Posted in iSeries | Tagged DB2, iSeries, SQL

Finding yourself among many

Posted on December 15, 2011 by Sean

If you work in an environment with many iSeries servers, it might be necessary to embed the system name in an SQL query.  Fortunately, IBM provides a system table called “LOCATIONS”.  If you query this table and limit your search to only return the “local” entry, the system will tell Continue Reading →

Posted in iSeries | Tagged DB2, iSeries, SQL

Casting leading zeroes for a date

Posted on February 16, 2011 by Sean

I can’t take credit for this – I was walking down this road and needed to find a way to handle the leading zeros on the cast so I went online, but it’s a nice way to get a current date in a YYYYMMDD format. select substr(char(year(current date)),1,4)|| case when Continue Reading →

Posted in iSeries, iSeries Tips | Tagged DB2, iSeries, SQL

Recent Posts

  • Welcome to Falmore
  • Northern Ireland Time Warp
  • From Newark to Belfast
  • The Journey Begins
  • Pre-Flight Checklists

Tags

Category cautions DB2 Facebook Favicon FourSquare hosting iSeries just starting Legal MySpace Pinterest reviews Slugs Social Media SQL tips Tumblr Twitter Wiki Wordpress XML Yahoo
Copyright © 2025 Ardara Media All Rights Reserved.
Theme: Catch Evolution by Catch Themes