Exercise 3.4: Importing members into your project

Before you begin, you must complete Exercise 3.3: Creating a source file and a source member.

You can also import remote objects into an existing iSeries project. You can use the Import Remote Objects action or the Add to iSeries Project action.

To import remote objects:

  1. Right-click your iSeries Project.
  2. Click Import Remote Objects on the pop-up menu.
    Import Remote Objects
  3. Expand *LIBL.
  4. If you see a logon display, enter your user ID and password.
  5. If you don't see RSELABxx in the library list, you will need to create a library filter.
    1. Expand Work with libraries.
    2. Type RSELABxx for the Library name.
    3. Click OK.

    Newly added library
  6. Expand the library that contains the source files that you want to import. In this case select RSELABxx.
  7. Select the source physical files QDDSSRC and QRPGLESRC to be added to your project. You can use the Shift key to make multiple selections.
  8. Click OK.

    A connection dialog may appear. Here you specify the connection to use for this remote action.
    Specify connection for the remote action

  9. Click OK.

    The selected files are downloaded.
    File download in progress

    The project now shows the copied files and they are ready for you to work with.
    Files copied to your project

You have added existing members to your iSeries Project and now you are ready to begin Exercise 3.5: Selecting the build style.