Exercise 3.3: Creating a source file and a source member

Before you begin, you must complete Exercise 3.2: Creating an iSeries Project.

You can create a source physical file and a source member for your project.

To create a source physical file:

  1. Right-click your iSeries Project.
  2. Click New then click iSeries Source Physical File on the workbench menu.
    iSeries Source Physical File

    The iSeries Source Physical File page opens.
    iSeries Source Physical File

  3. Enter a name for your file in the File name field.
  4. Click Finish.

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

  5. Click OK.

    The file is added to your project.
    File added to the iSeries Project

    Next add a member to the file that you just created.

  6. Right-click your iSeries source physical file.
  7. Click New then click iSeries Source Member on the pop-up menu.
    iSeries Source Member

    The iSeries Member page opens.
    iSeries Source Member

  8. Enter the name of the member in the Member name field, for example, RPGSRC.
  9. Enter the source type in the Source type field, for example, RPGLE.
  10. Click Finish.

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

  11. Click OK.

    The member is added to your project.
    Member added to the iSeries Project

    You can now double-click the member to open it in the editor.

You have populated the iSeries Project with a source physical file and a source member and now you are ready to begin Exercise 3.4: Importing members into your project.