Skip to content

Setting up the AS400 PCML Environment

The AS400 PCML connector allows you to access RPG programs that are available on AS400 (renamed as IBM iSeries). This is done using Program Call Markup Language (PCML).

you need to have access to an IBM iSeries server. If you do not have an on-premise IBM iSeries server, go to public IBM iSeries server, and create a public IBM iSeries server account.

The connector uses the IBM JTOpen library for all its operations. Copy the jt400.jar to <ESB_HOME>/repository/components/lib folder. You can download the IBM JTOpen library from (here)[https://sourceforge.net/projects/jt400/].

Setting up public IBM iSeries server

Follow the steps below to create public IBM iSeries server.

  1. Go to https://pub400.com and click the Sign up button.

    AS400-signup page

  2. Go to https://pub400.com and click the Sign up button.

    AS400-signup details

  3. You will receive an email response with the client credentials to your email account (it will take a few hours).

  4. Navigate in to the IBM i Access - Client Solutions page. IBM i Access Client Solutions consolidates the most commonly used tasks for managing your IBM i into one simplified location.

  5. Download the IBM i Access Client Solutions.

    IBM i Access Client Solutions

  6. Extract the downloaded .zip file and install it.

  7. Start the IBM I access client solution.

    IBM i Access Client Solutions start

  8. Click System Configurations section under Management section.

    IBM i Access system-configuration

  9. The following window appears system configuration parameters. Click the New button.

    IBM i Access add new system

  10. Add the required details. Add the System name and Description under General tab. In this sample we use pub400.com as the System name.

    IBM i Access add new system name

  11. Add the Default username and port number under the Connection tab. In this sample we need to use port number as 23. Click OK.

    IBM i Access add port number

  12. After setting up the configuration we can use the 5250 Emulator. Click the 5250 Emulator link under the General section.

    IBM 5250-emulator

  13. When you click this emulator you need to add the username and password you got in step 3. Then you will see the following window.

    PUB400 server command line view

  14. You need to add the same user name and password you got in the step 3.

  15. Now you can see the following IBM i Main Menu.

    IBM i Main Menu

To configure the AS400 PCML connector, you will be required AS400 public server username and password.