CMS commands allow you to read cards from a virtual card reader, punch cards to a virtual card punch, and print records on a virtual
printer. Many commands are provided to help you manipulate your disks and files. The CMS commands are described in "Section 2. CKS Commands."
A special set of CMS commands becomes available to you when you issue
the command:
set aos on
These called CMS/DOS commands, simulate various functions of
the Pisk Operating System (DOS) in your eMS virtual machine. When the CMS/DOS environment is active, the CMS/DOS commands are an integral part
of the CMS command language; they are listed alphabetically among the
other commands in "Section 2. CMS Commands."
The EDIT command places your virtual machine in the EDIT subcommand
environment. In this environment you can use the editor to create
and modify files. In the EDIT subcommand environnent, you can place
your virtual machine in either of two modes, edit moda or input mode.
Edit mode lets you modify a file; input mode lets you create or add to a
file. The subcommands available to you in the EDIT subcommand
environment are described in "Section 3. EDIT Subcomlllands and Macros." The DEBUG command places your virtual machine in the DEBUG subcommand
environment. In this environment you can issue commands to display
registers and storage, specify breakpoints (address instruction stops), display the contents of control words, and so on. The DEBUG subcommands
are described in "Section 4. DEBUG Subcommands." The EXEC command executes CMS command procedures, called EXEC files. You can create EXEC files consisting of CMS and CP commands and EXEC control statements. The EXEC facility also has a symbolic capability; by
manipulating variable symbols within an EXEC file, you can control the execution of the procedure. These procedures are usually created in the
edit environment. The EXEC control statements, variable symbols, and
built-in functions are described in "Section 5. EXEC Control Statements. " You can use the CMS assembler language macros when you write
assembler language programs to execute in the CMS environment.
Descriptions of these macros are contained in "Section 6. CMS Macro Instructions."
Entering CMS Commands
A eMS command consists of a command name, usually followed by one or
more positional operands and, in many cases, by an option list. CMS commands and EDIT and DEBUG subcommands described in this publication
are shown in the format:
r I command name L- [operands ••• ] [(options ••• [)]]
1 I --' You must use one or more blanks to separate each entry in the command
line unless otherwise indicated. For an explanation of the special
symbols used to describe the command syntax, see "Notational
Conventions."
2 IBM I!M/370 eMS 11...",..._" •• 0. ......... V Reference
command name is an alphameric symbol of one to eight characters. In
general, the names are based on verbs that describe the function you
want the system to perform. For example, you may want to find out
information concerning your eMS filesa In this case, you would use the
LISTFILE command.
The command operands are keywords and/or positional operands of one to
eight, and in a few cases, one to seven alphameric characters each. The
operands specify the information on which the system operates when it
performs the command function. You must write the operands in the order in which they appear in the command formats in "section 2. CMS Commands," unless otherwise
specified. When you are using eMS, blanks may optionally be used to
separate the last operand from the option list. CMS recognizes a left
parenthesis" (" as the beginning of an option list; it does not have to
be preceded by a blank.
The command options are keywords used to control the execution of the
command. The command formats in "Section 2. Commands" show all the
options for each command.
The option list must be preceded by a left parenthesis; the closing
parenthesis is not necessary.
For most commands, if conflicting or duplicate options are entered,
the last option entered is the option in effect for the command.
Exceptions to this rule are noted where applicable.
If ,ou want to write comments with commands, you enter them
following the closing parenthesis of the option list. The only
exception to this rule is the ERASE command, for which comments are not
allowed. You can also enter comments on your console by using the CP *
command.
Character Set Usage eMS commands may be entered using a combination of characters from six
different character sets. The contents of each of the character sets is shown in Figure 1.
Section 1. Introduction and General concepts 3
Previous Page Next Page