COBOL Manual for TNS and TNS/R Programs
Procedure Division
HP COBOL Manual for TNS and TNS/R Programs—522555-006
8-13
Sections
Sections
A section groups related sentences and paragraphs together and identifies them by
one name. Using the name, GO TO, PERFORM, SORT and MERGE statements can
transfer control to the section.
section-name
is either a COBOL word consisting of up to 30 alphanumeric characters or an
integer of up to 30 digits.
segment-number
is a numeric literal of 1 or 2 digits.
sentence
is described in Sentences.
paragraph
is described in Paragraphs.
Usage Considerations:
•
Section Format
°
Beginning
After the period separator that precedes the first paragraph of a section, do not
put anything on the same text line except space characters or a USE
statement.
°
End
A section ends at the next section header, at the physical end of the Procedure
Division, or at the keywords END DECLARATIVES.
section-name
sentence paragraph
SECTION
segment-number
.
VST116.vsd