System Operation
DBUGS: Subroutine; created by DBUGHOOK.
WITH DEBUGGING
option in COBOL--along with
calls to subroutine DBUGS--to capture and report on the
internal system usage statistics of a COBOL program. A
revised version of the source file is constructed with the
"hooks" for system information, executed within the utility,
and the statistics gathered and summarized.
Source programs for use with DBUGHOOK should meet several requirements:
SOURCE-COMPUTER
statement in the
CONFIGURATION SECTION
, and
this statement must lie immediately below the
CONFIGURATION SECTION
header in the program. (DBUGHOOK
will add WITH DEBUGGING MODE
to the statement.)
COPY
statements within
the source program will be ignored, generating a correction
GETPARM for the location of the file. For this reason, it
is best to remove COPY
statements and substitute the
related source lines.
COPY
statements are retained, the copy libraries must be
located on the system volume.