DEBUG DeBUG Use the DEBUG command to enter the debug environment from the CMS environment. In the debug environment you can use a variety of DEBUG subcommands that allow you to test and debug your programs. The DEBUG subcommands are described in "Section 4. DEBUG Subcommands.
u
For
tutorial information, including examples, see the The format of the DEBUG command is:
r --------------------------------------------------------------, I I L- ____ __
1 The debug environment is also entered
interruption or the result of a
encountered during program execution.
as a result of an external
breakpoint (address stop)
2. Once you are in the debug environment, you can enter only DEBUG subcommands and CP commands via the ICP function.
3. To return to the eMS environment, enter the DEBUG subcommand DMSDBG728I DEBUG ENTERED
This message indicates that you are in the debug environment. Section 2. CMS Commands 57
DISK DISK Use the DISK command to: Punch CMS disk files to the virtual spooled card punch in a special
format which allows the punched deck to be restored to disk in the
form of the original disk file. Restore punched decks created by the DISK DUMP command to a disk
file.
The format of the DISK command is: r -----------------------, , DISK , {
DUMP
LOAD fn ft [fm]
} I , L
________________ . _________ -J DUMP fn ft fm
punches the specified file (fn ft fm). The file may have
either fixed-or variable-length records. After all data is
punched, an end-of-file card is created with an N in column 5.
This card contains directory information and must remain in
the deck. The original disk file is retained. LOAD loads a file or files from the spooled card reader and writes
them as files on your A-disk. The filename and filetype are obtained from the card stream. If a file exists with the
same filename and filetype as one of those in the card stream,
it is replaced.
Note: DISK LOAD file identifiers are those of the specified fIle issued by the DISK DUMP command.
1. To read files with the DISK LOAD command, they must have been
created bv the DISK DUMP command. To load spooled reader files
created in any other manner, you should use the READ:ARD command.
2. To load reader files created by DISK DUMP, you must issue the DISK LOAD command for each spool file. For example, if you enter:
disk dump sourcel assemble
disk dump source2 assemble
the virtual machine that receives the files must issue the DISK LOAD command twice to read the files onto disk. If you use the CP SPOOL command to spool continuous, for example:
cp spool punch cont
disk dump sourcel assemble
disk dump source2 assemble
cp spool punch nocont close
then you only need to issue the DISK LOAD command once to read both
files.
58 IBM VM/370 eMS Command and Macro Reference
Previous Page Next Page