COBOL Manual for TNS and TNS/R Programs

Source Program Organization and Format
HP COBOL Manual for TNS and TNS/R Programs522555-006
2-7
Restrictions
Period Separators
Do not put anything other than spaces after the period separator that follows one of
these reserved word sequences:
DIVISION
DECLARATIVES
END DECLARATIVES
Do not put anything other than spaces or a USE statement after the period separator
that follow the reserved word SECTION.
Embedded SQL/MP or SQL/MX Statements
When COBOL statements and embedded SQL/MP or SQL/MX statements appear on
the same line, these restrictions apply:
The COBOL statements cannot be COPY or REPLACE statements.
The COBOL statements must follow the embedded SQL/MP or SQL/MX statement
terminator.
Comment-Entry
The restrictions on the comment-entry are:
Following a comment-entry, the first keyword in the ensuing text (such as
ENVIRONMENT DIVISION or another comment-entry) must begin on a program
text line that has a space in the indicator area. This keyword must start in area A,
and only space characters can precede the keyword.
You cannot continue a comment-entry with the hyphen convention; however, you
can implicitly continue it onto additional program text lines, provided that area A in
such lines contains only space characters.