These statements define the structure of the template. There are four statements that define the structure of your template:
● TEMPLATE statement—First statement of the template.
● SEGMENT statement—Starts a new segment section.
● PROCEDURE statement—Starts a new procedure section.
● BEGIN/END statement—Marks the boundaries of a template section.In addition, Comment statements can be used to indicate program comments.
Next is a more detailed discussion of each structure statement.