EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 317

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...
JCL
Compiling
The lines following the III could contain other command options or
an
IIABORT macro
to
abort the JCL. One possible option could
be
to
let
the operator type
in
his own command.
Consider the following rewrite of START/JCL that uses the IIINPUT
macro
to
let the operator type
in
his own command:
START/JCL
Pr09ra~
1
is
FREE
:0
Pr09ra~
2
is
FREE
Pr09ra~
3
is
DEVICE
IIKEYIN
Select
pr09ra~1
1 - 3
III
FREE
:0
IIE>(IT
112
FREE
IIE:<IT
113
DEI,)
I
CE
IIE:<IT
III
IIINPUT
Enter
your
own
choice
of
co~~and.
IIE:<IT
Now,
if
you press a key other than
1,
2,
or 3 for the IIKEYIN, the
~-~
IIINPUT line
is
displayed.
You
can also enter information directly into the system
at
the JCL
level. For example, the IIWAIT macro description mentions that you
can set the time for the system clock
in
the middle of a JCL file.
The following example prompts
you
to
enter the TIME library
command
to
set the system clock. After
you
input the time, the IIWAIT
macro pauses execution of the JCL file until the clock matches
02:15:00 and then continues execution.
This
pr09ra~
runs
at
2:15
a.m.
IIINPUT
Enter
the
TIME
command
usin9
HH:MM:SS
for~at.
IIWAIT
02:15:00
DEI,)
I
CE
FREE
IIE:<IT
The previous section explained how
to
create
and
use execute JCL
files. This section describes some basic functions of the JCL compiler
and shows practical examples of JCL files.
A-12

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals