Before you begin, you must complete Exercise 7.11: Adding new keywords.
You have just added a new record and some new fields to your DDS source. Everything that the CODE Designer adds to your DDS source is certain to have the correct syntax. Now you need to make sure that there are no semantic errors. You just introduced one in the last exercise by creating two INDTXT keywords describing the same indicator.
To verify your source:
The DDS source is checked using the same verifier that the CODE Editor or LPEX Editor uses. A message appears on the status line at the bottom of the Designer stating that the verify process completed with errors.
The file icon has a red x, as does the SELECT record, the EMPAPL field and finally the second INDTXT keyword.
The EMPAPL field is highlighted in red.
This page shows you the listing generated by the most recent program verify. A warning message is buried somewhere in the listing but it's not easy to find.
The Source page appears and the cursor is placed exactly where the error is
in the source. The Source page is a tokenized read-only view of the
current state of the DDS source. Read-only? Wouldn't it be great
if you could just clear the error right here. There are some things
that are just plain faster in the editor and many others that are faster in
the visual environment. It would be great to switch between the two
modes at the push of a button. Well, let's just do that.
You have verified your DDS source and have identified an error in the source and you are ready to begin Exercise 7.13: Switching between designing and editing the screen.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.