if you’re new to IBMi/AS400 or don’t currently have a system to use, this section will guide you through setting a test environment using the PUB400.com service.Documentation Index
Fetch the complete documentation index at: https://docs.popsink.com/llms.txt
Use this file to discover all available pages before exploring further.
What is IBMi/AS400 ?
IBMi/AS400 (now commonly referred to as IBMi on Power Systems) is a midrange computer platform developed by IBM. Originally introduced in 1988 as the AS/400 (Application System/400), it was designed for business applications, especially in industries like finance, manufacturing, and retail. The system runs on the IBMi operating system, which is known for its stability, security, and integrated database (DB2). It supports both traditional RPG and COBOL applications as well as modern development using Java, PHP, and SQL. Although the hardware and name have evolved over the years (from AS/400 to iSeries to System i and now IBM Power Systems running IBMi), many organizations still refer to it as AS/400 due to its long legacy. It’s therefore an entirely different platform than traditional PC computers. It’s still used widely to this day in many sectors.What is PUB400 ?
PUB400.com is a public, free IBMi (formerly AS/400) server you can use to learn, experiment, and develop. It’s basically a playground for IBMi: a system running IBMi version 7.5, made accessible to the community so people can try out IBMi tools, write programs (RPG, COBOL, CL, SQL, etc.), use open‑source/modern tooling, and generally build skills.1. PUB400.com sign-up & connection test
Opening a free account is really easy, head to sign-up page and fill up this form :
java -jar ./tn5250j.jar and configure your connection to pub400.com. The logon window looks like this :

DSPLIBL to display the list of libraries/schemas.


${YOUR_USERNAME}1
2. SQL connection
IBMi has an embedded DB2 SQL database tightly coupled with the system. Tables are files and vice versa. That’s why, there’s no need to install a SQL server.Query test
Now, try to connect to our library by using an ordinary JDBC-based SQL client. In this example, connection string is simplyjdbc:as400://pub400.COM;libraries={YOUR_USERNAME}1. Here’s a screenshot of DBeaver
