PUB400 is a public IBM i server. It’s a great place to start if you’re a beginner, but it’s also perfect for more experienced developers who want to create personal projects.

Today, I’m going to show you how to start using PUB400 on TN5250J - an open source terminal emulator for the IBM i.

Step 1: Request a user profile on PUB400

Head over to the PUB400 website and follow the instructions provided there.

After that you should receive an email which will enable you to confirm your email address.

After you do that, you will receive another message with your initial PUB400 password.

Step 2: Get TN5250J

Visit the TN5250J website and download the software.

Step 3: Create a connection in TN5250J

Open the terminal emulator. After that click on the “Add” button in the “Connections” tab:

Adding a connection

Enter a name in the “System Name” field:

Setting a connection name

In the “TCP/IP” tab, enter “pub400.com” as the Host IP/DNS:

Entering the address

Next, go to the “Options” tab, select the 27*132 screen dimensions and click “Add”:

Selecting the screen dimensions

Step 4: Log into PUB400

Select the newly created connection and hit “Connect”:

Connecting to PUB400

You will see a welcome screen. Enter your user name and initial password:

PUB400 welcome screen

Once logged in, you will be prompted to set a new password.

Step 5: Enjoy :)

Congratulations! You have succesfully connected to PUB400.

PUB400 after signon