Exercise 3.2: Creating an iSeries Project

Before you begin, you must complete Exercise 3.1: Creating a scratch library.

iSeries Projects are projects that are dedicated for holding iSeries source members destined to be pushed and compiled on an iSeries machine. They follow the Workbench paradigm in that they have a special perspective, the iSeries Projects Perspective, which is dedicated to showing and working with these projects. When a new iSeries project is created three properties need to be associated with it. These are an iSeries Connection, an Associated Library, and a Build Style.

To create an iSeries project:

  1. Click File > New > iSeries Project on the workbench menu.
    creating a new iSeries Project

    The iSeries Project page opens.

  2. In the Project name field, type MyProject.
    Project name
  3. Click Next.
  4. Select your connection from the Connection list, for example, s400a.

    The property iSeries connection allows for remote access to the iSeries host machine, and handles various aspects, including user ID and password authentication to the remote host. It also provides the initial environment for builds, including the base library list.

  5. In the Associated library field, type PROJXX
    Associated library

    The associated library is the library on the iSeries system that your iSeries project maps to.

  6. Click Next.
  7. Under Active build style, select CL Program.
    Build Style

    The property build style determines how a given iSeries Project is built. It determines how source physical files and members are pushed to the remote host, and how these members are compiled there.

  8. Click Finish.

    This will create an empty iSeries project that you have to populate. This is useful when you are creating new iSeries members from scratch and you don't have them already on a host.
    New project created

You have created an empty iSeries Project and now you are ready to begin Exercise 3.3: Creating a source file and a source member.