AWS Transform Custom · Demo

Transform Your Codebase

Run AWS-managed and custom transformations on your code using the ATX CLI. This demo walks through analyzing the CardDemo mainframe application with the comprehensive codebase analysis transformation.

Before You Begin

Ensure your environment meets these requirements before installing the AWS Transform CLI.

Supported Platforms

  • Linux — All distributions
  • macOS — Full support
  • Windows (WSL) — Via Windows Subsystem for Linux only

⚠️ Native Windows is not supported.

Required Software

  • Node.js 20+ — nodejs.org/download
  • Git — Working directory must be a valid Git repo
  • AWS Credentials — With transform-custom:* permissions

Supported Regions

us-east-1 (N. Virginia) eu-central-1 (Frankfurt)

Install the ATX CLI

One-line install script to get the AWS Transform CLI up and running.

bashStep 1 — Install
curl -fsSL https://transform-cli.awsstatic.com/install.sh | bash
bashStep 2 — Verify
atx --version
# AWS Transform CLI v1.x.x

Configure Authentication

bashEnvironment Variables
export AWS_REGION=us-east-1
export AWS_PROFILE=your_profile_name

# Or set credentials directly
export AWS_ACCESS_KEY_ID=your_access_key
export AWS_SECRET_ACCESS_KEY=your_secret_key
export AWS_SESSION_TOKEN=your_session_token

CardDemo Application

A mainframe credit card management system — the target codebase for this demo transformation.

bashClone the sample codebase
git clone https://github.com/aws-samples/aws-mainframe-modernization-carddemo.git
cd aws-mainframe-modernization-carddemo
📄
44 COBOL Programs
30K+ lines of code
📋
62 Copybooks
Shared data definitions
🖥️
24 CICS Transactions
Online processing
⚙️
46 JCL Jobs
Batch processing

What It Does

  • User authentication & role-based access
  • Account & credit card management
  • Transaction processing & bill payments
  • Batch posting, interest calc, statements

Technology Stack

COBOL-85 CICS TS VSAM KSDS JCL

Getting Started with ATX

Key commands to explore available transformations and check your setup.

bashCheck ATX version
atx --version
bashList available transformation definitions
atx custom def list
bashLaunch interactive mode
atx
# Opens the interactive agent — describe what you want to transform

Run the Transformation

Execute the comprehensive codebase analysis on the CardDemo application.

1 Interactive Mode

Start the ATX agent and tell it what to do:

bashStart ATX interactive agent
atx

2 Execute the Transformation

In the interactive prompt, enter:

promptATX Agent Prompt
Execute the AWS/early-access-comprehensive-codebase-analysis transformation on the codebase at ./aws-mainframe-modernization-carddemo

3 Review Results

After the transformation completes, review the changes with Git:

bashReview transformation output
git status
git log
git diff <original-commit-id>