Before you begin, you must complete Exercise 7.13: Switching between designing and editing the screen.
Now you will compile the source on the iSeries just as you did in the
Remote Systems LPEX Editor and then close the Designer.
To compile your source:
- Click File > Save from the Designer menu to save your source to
the iSeries.
- Click Tools > Compile from the Designer menu and then
click No prompt (or click the compile
button on the CODE Designer toolbar).
- A message indicates when the compile is complete. Click
OK in the Message dialog. If you re-compile and run the
payroll program, you will see the 4 digit year change you made to the opening
screen of the program.
To close the Designer:
- Click File > Exit from the Designer menu.
Now you are ready to review your knowledge of this module by taking the
quiz. You can also apply what you have learned in this module by
completing the practice tasks detailed in More practice.
Quiz
- There is a graphical design tool that let's you design your screens
and reports visually and then generate the DDS source for you. This
tool is named:
- Page Designer
- CODE Designer
- Screen Design Aid
- None of the above
- Match the item with its correct description.
- Utility notebook
- Design page
- Properties notebook
- Group
- Contains several different tabbed pages
- For visually designing screens
- A collection of one or more DDS records that make up a single screen or
report
- Access properties of a field, record, or entire file
- The Utility notebook contains:
- Selected DDS page
- Error List page
- Web Settings page
- Comments page
- All of the above
- On the Design page, you can easily:
- Create DDS objects
- Edit DDS objects
- Resize DDS objects
- Move DDS objects
- Create records
- Create fields
- Create constants
- All of the above
- Grouping records together allows you to work on one record while still
seeing the related records in the background. (T, F)
- The Properties notebook is modeless. When you change an
object's properties, the selected object changes immediately. (T,
F)
- The DDS source is checked using the same verifier that the LPEX Editor or
CODE Editor uses. (T, F)
- You can switch between design mode and edit mode in CODE Designer.
(T F)
- You can compile source on the iSeries just as you do in the LPEX
Editor. (T, F)
More practice
Given your experience in using the CODE Designer from the Remote Systems
view, try creating a printer report. You can use the physical file
specification REFMST in member QDDSSRC in library RSELABXX. Take time
to explore the fields and information for this physical file. You may
want to refer back to the exercises in this module as you create your
report. When you are familiar with the file REFMST, you can create your
printer file. Use the product online help to assist you in this
task.
Module recap
You have completed Module 7. Designing screens. You have learned how to:
- Open a DDS member for edit with CODE Designer
- Show file-level keywords and record-level keywords
- View the details of records, record-level keywords and field-level
keywords
- View the design of the payroll application main menu
- Create a group from an existing record format
- Create a new group and add a subfile record and a subfile control record
- Add columns to the subfile record
- Add fields to the subfile control record
- Copy existing fields
- Set indicators to handle field errors
- View and update record and field properties
- View keywords and the properties of a keyword
- Insert a keyword
- View help for a keyword
- Check there are no semantic errors in the DDS source
- View help for an error
- Launch the editor in read mode from the error list
- Launch the editor in write mode to fix the error
- Find a keyword in the source
- Save source changes
- Compile your source changes
- Close the Designer
You have learned about various aspects of the CODE Designer while modifying
a display file and now can learn more about the product and how it is
packaged. This is an optional module. Continue to Module 8. Introducing the product and Remote System Explorer (optional).
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.