You can include the following
items in a Maintain Data procedure:
- Maintain Data language commands. All
Maintain Data commands must be located within a Maintain Data function,
except for the MAINTAIN, MODULE, DESCRIBE, CASE, and END commands,
as well as global DECLARE commands, all of which must be located
outside of a function. In the Maintain Data Editor, commands are displayed
in blue by default. For more information, see Command Reference.
- Comments. In
the Maintain Data Editor, comments are displayed in green by default.
For more information, see Adding Comments.
- Blank lines. Add
blank lines to separate functions and other logic so that the procedure
is easier to read.
If a Maintain Data procedure is a starting procedure (sometimes
known as a root procedure), and it is not called by any other Maintain
Data procedures, it can also contain Dialogue Manager commands preceding
the MAINTAIN command. Dialogue Manager commands are described in
the Developing Reporting Applications manual.