being executed from within the EXEC, you do not receive the CMS ready
message at the completion of each command.You could also enter EXEC control statements or assignment
statements. To terminate theEXEC and return to the CMS environment,
you must enter theEXEC control statement &EXIT from the terminal:
&exitDISPLAYING DATA AT A TERMINAL You can use the &TYPE and &BEGTYPE control statements from your EXEC at the terminal. In addition, you can
command to display the contents ofCMS files.
to display lines
use theCMS TYPE When you use the &TYPE control statement, you can display variable symbols as well as data. Variable symbols on an &TYPE control statement
are substituted before they are displayed. For example, the lines:&NAME = ARCHER &TYPE &NAME result in the display:
ARCHERYou can use the &TYPE statement to display prompting messages, error
or information messages, or lines of data.
In anEXEC file with fixed-length records, only the first 72
characters of each line are processed by theEXEC interpreter.
Therefore, if you want to use the&TYPE control statement to display a
line longer than 72 characters, you must convert the file into
variable-length records.
All of the words in an&TYPE control statement are scanned into
a-character tokens. If you need to display a word that hasmore than a characters, you must use the &BEGTYPE control statement. The &BEGTYPE control statement precedes one or more data lines that you want to
display; for example:&BEGTYPE THIS EXEC PERFORMS THE FOLLOWING FUNCTIONS: 1. IT ACCESSES DISKS 193, 194, and 195 AS B, C, AND D EXTENSIONS OF THE A-DISK. 2. IT DEFINES, FORMATS, AND ACCESSES A TEMPORARY 195 DISK (E).
&END
The &END statement must be used to terminate a series of lines
introduced with the&BEGTYPE statement. "&END" must begin in column 1 of
theEXEC file.
The lines following an&BEGTYPE statement, up to the &END statement,
are not scanned by theEXEC interpreter. Therefore, no substitution is
performed on the variable symbols on these data lines. If you need to
display asymbol, you must use the &TYPE control statement. To display a
286IBM VM/370 eMS User's Guide
message at the completion of each command.
statements. To terminate the
you must enter the
&exit
command to display the contents of
to display lines
use the
are substituted before they are displayed. For example, the lines:
ARCHER
or information messages, or lines of data.
In an
characters of each line are processed by the
Therefore, if you want to use the
line longer than 72 characters, you must convert the file into
variable-length records.
All of the words in an
a-character tokens. If you need to display a word that has
display; for example:
&END
The &END statement must be used to terminate a series of lines
introduced with the
the
The lines following an
are not scanned by the
performed on the variable symbols on these data lines. If you need to
display a
286