Exercise 2.3: Verifying RPG source in disconnected mode

Before you begin, you must complete Exercise 2.2: Editing local source members in disconnected mode.

While you are disconnected from an iSeries, you can make certain that there are no errors by invoking the Program Verifier. The verifier checks for syntactic and semantic (compile) errors on your workstation so that you can guarantee a clean compile when you are connected to an iSeries. The iSeries Error List window lists the errors that are found and their severity, inserts the error messages directly into the source and helps you to navigate between the errors.

To verify source:

  1. Click the PAYROLLG tab.
  2. Click Source > Verify from the workbench menu. (Similarly, you can also use the Verify tool button Verify Button-- you need the source in the editor and the tab needs to be selected for the button to be enabled.)

    After a moment the verifier will display an iSeries Error List below the Editor window.

  3. Use the Error list to locate the error you created earlier and fix it.
  4. Save the change to the source that you just made.
  5. Verify the source again.

You have verified changed RPG source and now you are ready to begin Exercise 2.4: Compiling a member.