Before you compile any code on the AS/400, you can verify that there are no errors within the CODE Editor. You use the Program Verifier to check for errors in the current source, including any copy files or external descriptions it references.
The Program Verifier
checks for errors on your workstation. The AS/400 is only called to resolve external
references or to retrieve copy files existing in the source.
Follow these steps:
A Progress Indicator window appears, letting you know the status of the verification.
Since errors are detected, the Error List window appears.
If the Error List
window does not appear, select Windows > Error list from the menu bar.
If no messages appear, select Options > Include and make sure all
message types are selected.
A quick way to
access the Program Verifier without using the menu is to press Ctrl+Shift+V.
In addition, you can get a listing similar to the one created by the host compile command
by selecting Verify program and then Prompt. Select the Output
listing check box in the window that comes up.
If you are working on a local file and a host server is required, Program Verifier will use the first active server. This server becomes your default server for any local file operations that require a host server for the current session. (To change the default server, shut it down.)