HP System Dictionary/XL COBOL Definition Extractor (32257-90001)
2- 16
COBEDIT run terminated. Resuming SDCDE
Old copy library opened
>
COMMENT Command
The COMMENT command allows you to enter description text into the command stream. It allows the use
of text to document what is happening in the job stream or SDIN file without having any effect on the
operation of the utility. You can use the COMMENT command whenever the command prompt (>) is
present.
The command is a very simple one. It consists of the command word COMMENT followed by a blank and
then zero or more characters. The program ignores all characters on the line and simply writes them to
the log file for documentation. The program then prompts for the next command. Note that the
COMMENT command does not need to end in a period and so the command must be contained on a single
line. You can specify multi-line comments by prefacing each line with the COMMENT command.
Syntax
COMMENT [.]
Example
The following example adds five lines of comments to the command stream and log file.
>COMMENT
>COMMENT This command file creates a copy
>COMMENT library from the System Dictionary
>COMMENT for the payroll system.
>COMMENT
>
COPYLIB Command
The COPYLIB command opens the COBOL copy library into which the COBOL source is generated.
Through this command you can name an old copy library or create a new one. When specifying a new copy
library, you must include the KEY-FILE parameter.
Syntax
COPYLIB [;NAME =
file-name
]
[;KEY-FILE =
kfile-name
]
[;UPDATE-DICT =
update-option
]
[;OPEN-MODE =
open-mode
]
{.}
Parameters
file-name Name of the copy library KSAM file. If the named KSAM file does not exist, SDCDE as-
sumes that the file is new, and uses the KEY-FILE parameter value to create a new file.
There is no default for this parameter.
kfile-name Name of the key file of a new copy library. If the named copy library already exists, the
value of this parameter is ignored. There is no default for this parameter.