EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 77

Radio Shack TRS-80 Model 4
418 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DO
Command
DO
[control character]
filespec
[(parameters)] [;]
Compiles and executes a
DO
file.
You can use
DO
to
run
a file of commands each time TRSDOS starts
up.
A DO file is a user created Job Control Language (JCL) file that
contains one or more library commands. TRSDOS executes the
commands as if
you
had typed them
in
from the keyboard.
In
addition to executing TRSDOS commands, you can load and
execute user programs from a
DO
file.
You can create a
DO
file with the BUILD command. Command lines
in
this file can include library commands or filespecs. See the Job
Control Language section for more information
on
DO files.
The
control characters are:
$ compiles your
DO
file without actually executing the
commands.
= executes your
DO
file without compiling
it.
* reruns the last
DO
command that was compiled.
When you specify a control character, you must leave a space
between DO and the character or TRSDOS ignores the character.
The
parameters are:
@Iabe/lets
you
create JCL files with multiple entry points
(an
entry point
is
the place where processing begins). A label
consists of the
@ symbol followed
by
one
to
eight alphanumeric
characters.
parm[
= value] lets you pass value to filespec during execution.
When you specify the
@Iabe/ parameter, filespec does not execute
until the label is reached. Execution continues until it reaches the next
label or the end of the JCL file.
The
@Iabel parameter, by building many different functions into one
file, reduces the number of individual files
on
the disk (conserving
space
in
the directory).
Use the semicolon
(;)
parameter when you need to specify a
command line longer than 79 characters.
When a
DO
command line exceeds 79 characters:
1.
Enclose
as
many parameters
as
will fit
on
one line
in
parentheses.
Close the parentheses, insert a
(;),
and press
(ENTER).
1-72

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals