EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 329

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...
Error Conditions
An
IIINCLUDE macro CANNOT
be
the last line
in
a JCL file.
If
it
is,
an "End of File Encountered" error occurs, and the JCL aborts.
Examples
This example shows two JCL files and the results of the compile
phase. The two JCL files are:
TEST1/JCL
COfTlfTlent
line
1
IIINCLUDE
TE5T2
COfTlfTlent
line
2
IID(
IT
TEST2/JCL
This
comment
is
included
If
you issue the command
DO
TEST 1
(ENTER)
the following SYSTEM/JCL file
is
produced:
TEST 11 JCL
COfTlfTlent
line
TE5T2/JCL
This
comment
is
included
COfTlfTlent
line
2
IIE)<IT
The compiling starts with the file named
in
the DO command line. As
soon as the IIINCLUDE
is
reached, all lines
in
the second JCL file are
processed, and then the compiling returns
to
the rest of the original
file.
There
is
no limit to the number of non-nested IIINCLUDE macros you
can use, other than having enough disk space for the resulting
SYSTEM/JCL file.
Using
JCL
Labels
The LABEL feature of JCL allows you to permanently merge together
many small JCL procedures into one large file, and then access those
procedures individually. This saves disk space and directory entry
slots.
Examples
TEST/JCL
label
example
@FIRST
this
is
the
first
procedure
Ilexit
@SECOND
this
is
the
next
procedure
@THIRD
this
is
the
last
procedure
A-24

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals