COBOL/400 Language Help
- Description
- The SOURCE-COMPUTER paragraph describes the computer on which the source
program is to be compiled.
Except for the WITH DEBUGGING MODE clause, the SOURCE-COMPUTER paragraph is
syntax-checked only and has no effect on the execution of the program.
->->---SOURCE-COMPUTER.--*----------------------------------> 1
*-computer-name--------------------> 2
1 ->-----------------------------------------*-------------><-
2 ->---------*-------------------------*-.---*
**------*-DEBUGGING MODE--*
*-WITH-*
Computer-name represents a system-name. For
example: IBM-AS400.
- The WITH DEBUGGING MODE clause activates a compile-time switch for
debugging lines written in the source program.
- A debugging line is a statement compiled only when the compile-time switch
is activated.
- To specify a debugging line in your program, code a 'D' in
column 7 (the indicator area). You can include successive debugging
lines, but each must have a 'D' in column 7. Do not break
character strings across lines.
- You must write all your debugging lines so that the program is
syntactically correct, whether the debugging lines are compiled or treated as
comments.
- The presence or absence of the WITH DEBUGGING MODE clause is logically
determined after all COPY statements have been processed.
- You can code debugging lines in the Environment (after the OBJECT-COMPUTER
paragraph), Data, or Procedure Divisions.
- If a debugging line contains only spaces in Area A and Area B, it is
treated the same as a blank line.
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.