as400toaws
Database Decoupling

Zero-Loss DB2 to AWS Migration

Transforming Legacy IBM i Data to Amazon Aurora

Stop letting flat, non-relational DDS architectures dictate your integration capabilities. Our automated IBM i database migration pipeline securely translates legacy DB2/400 physical and logical files into highly scalable, fully relational Amazon Aurora PostgreSQL schemas — with zero manual rewriting.

The Challenge — Breaking Free from Legacy DB2 Constraints

In a traditional AS/400 environment, the database is tightly coupled to the operating system and applications. Our WMSPOCv3 case study highlighted the core bottlenecks:

Non-Relational Structures

Classic DDS Physical Files (PF) often lack enforced foreign keys or referential integrity at the database level.

Legacy Data Types

Date columns are frequently stored as packed DECIMAL(8,0) fields rather than standard SQL DATE or TIMESTAMP formats.

Proprietary Concepts

The IBM i "Multi-Member file" concept has no direct equivalent in standard RDBMS systems.

Cryptic Naming

10-character field limits (e.g., ITITMCD, ITQOH) inherited from rigid RPG conventions limit data readability and BI tooling.

The Solution — Automated Schema Conversion

Using the AWS Blu Age (Gapwalk) toolchain, we automatically generate fully PostgreSQL-compatible DDL from your original DDS source files.

How We Map Your AS/400 Data to AWS

Physical Files (PF)

Converted to CREATE TABLE with native PostgreSQL partitioning.

Packed DECIMAL Dates

Preserved as DECIMAL(8,0) PLUS automatic _LASTUPDATE_TIMESTAMP and _CREATION_DATE audit columns added to every table.

Multi-Member Files

Converted to PostgreSQL PARTITION BY RANGE — preserving the IBM i concept in a cloud-native way.

DDS Logical File Access Paths

Converted to explicit PostgreSQL Composite Indexes (CREATE INDEX) — every access pattern preserved.

No FK Constraints? Fixed.

Full referential integrity (FOREIGN KEY constraints) added automatically — something the original IBM i schema never had.

WMSPOCv3 — Real Case Study Results

3 core business tables were fully migrated with zero business logic changes. 15+ JICS runtime tables (IBM i CICS equivalent) also auto-migrated — with full referential integrity added.

DB2 Table Business Purpose Key Fields
WMSITEMPF Item Master Item Code, UOM, Bin Location, Qty On Hand, Qty Allocated
WMSWHSTPF Warehouse Master Warehouse ID, Address, Zones, Aisles, Bays, Capacity (cu ft)
WMSLEDGPF Transaction Ledger Tran#, Type, Status, Created By, Date

The Target — Amazon Aurora PostgreSQL

1

Fully Managed

No DB2/400 DBA overhead — AWS handles patching, backups, and failover automatically.

2

Auto-Scaling Storage

Up to 128 TB without any manual DBA intervention.

3

Multi-AZ Replication

Built-in high availability — 6-way replication across 3 Availability Zones.

4

5x Throughput

5x the throughput of standard PostgreSQL at comparable cost.

5

Serverless Option

Aurora Serverless v2 — pay-per-use for dev/test environments.

6

Native REST Ready

Java Spring Boot services connect directly via JDBC/JPA — no middleware layer required.

See How Your DB2 Schema Maps to Aurora

Get a free automated schema assessment for your DB2 environment.