EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 314

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...
IIWAIT
hh:mm:ss
The IIWAIT macro
is
similar
to
IIDELAY, except that the length of the
delay depends
on
the setting of the system clock.
The
IIWAIT macro puts the entire system
in
a "sleep" state until the
system clock matches the time
you
specified.
You
can set the system clock with the TIME library command.
You
can also set the time from a JCL file
by
using a direct execution of
the TIME library command, or with the IIINPUT macro. Set the clock
in
the format hh:mm:ss.
Examples
The easiest JCL file
to
understand
is
one containing only commands.
Use the BUILD command
to
create the following JCL file named
START/JCL:
DEl.!
I
CE
FREE
If
you issue a
DO
= START command (see the
DO
library
command), your computer displays the device table, lists free space
information about all enabled drives, and returns to TRSDOS Ready.
Because
an
execution macro cannot
be
the first line
in
a JCL file,
you could use
an
execution comment to display
an
informative
message
as
the JCL file begins
to
execute.
An
execution
comment begins with a period, which must
be
in
the first
character position of the line.
You
could label START/JCL
as
follows:
This
pro~raM
executes
the
DEVICE
and
FREE
c o
fTllll
an d
s.
DEl,JI
CE
FREE
IIE)<IT
This comment describing the file's purpose
is
displayed when the JCL
executes.
It
shows the file's purpose. Notice that
we
added the
termination macro
IIEXIT.
You can use the IIPAUSE macro
in
START/JCL as follows:
This
pro~raM
executes
the
DEVICE
and
FREE
librarY
COMMands.
IIPAUSE
Be
sure
the
correct
disK
is
in
Drive
0
1
DEl,!
I
CE
FREE
IIE)<IT
A-9

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals