The long template segment begins with the segment identifier line, SEGMENT report,
SEGMENT
report;
. This line is used to attach a name to the segment that follows. In templates possessing more than one segment, you can use the name to select a segment for exclusive execution. Next, there is a declaration section. followed by the segment body that consists of execution statements enclosed between theBEGIN
andEND
keywords.