COBOL Manual for TNS and TNS/R Programs

Environment Division
HP COBOL Manual for TNS and TNS/R Programs522555-006
6-4
SOURCE-COMPUTER Paragraph
SOURCE-COMPUTER Paragraph
The optional SOURCE-COMPUTER paragraph names the computer system on which
the program is compiled and can specify that debugging lines be compiled.
name
is any sequence of ASCII characters except WITH, DEBUGGING, or MODE. It
names the computer system on which the program is compiled.
DEBUGGING MODE
puts any source line that has D or d in its indicator field into the object program,
along with any USE DEBUGGING sections in the Declaratives Portion of the
Procedure Division (see USE DEBUGGING).
The process executes USE DEBUGGING sections only if the PARAM DEBUG ON
command is active in the command interpreter environment. The process executes
debugging lines whether the PARAM DEBUG ON command is active or not.
Note. The 1985 COBOL standard classifies USE DEBUGGING as obsolete, so you are
advised not to use it, even in TNS HP COBOL programs. The NMCOBOL compiler does not
recognize it.
VST016.vsd
.
SOURCE-COMPUTER
name
WITH
DEBUGGING MODE
.