EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 325

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...
Examples
START/JCL
set
*ff
to
forms/flt
filter
*pr
*ff
forms
Ilines=G01
IIIF
KI
setf\i
I
rate=51
IIELSE
II.
RATE
was
not
set
l
II
OU
IT
IIEND
I
IE>:
IT
If this JCL file is compiled without the token
KI
being entered on the
DO command line, the screen display shows:
II.
RATE
was
not
set
l
IIOUIT
No actual lines are executed from the SYSTEM/JCL file, because the
compile phase was aborted before completion. The compilation
comment tells the operator why the abort took place.
If you substitute IIABORT for IIOUIT
in
the previous example and then
compile the JCL file without the token
KI,
the following lines result:
II.
RATE
was
not
set
l
START/JCL
set
*ff
to
forms/flt
filter
*pr
*ff
fOrtTIS
(lines=G01
Job
aborted
The comment line is displayed as the file is being compiled. However,
since IIABORT is an execution macro, the SYSTEM/JCL file finishes
compiling and then executes until
it
reaches the IIABORT line! The
IIOUIT macro should be
used
in
such a case rather than the
IIABORT.
Substitution
Fields
One of the most powerful features of the JCL is its ability to substitute
and concatenate (add together) character strings to create executable
lines.
A substitution field is created by placing pound signs (
# ) around a
token. When the file is compiled, this substitution token is replaced
with its current value, either assigned on the DO command line or
with the IIASSIGN macro.
A-20

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals