EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 324

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...
You
can
improve the readability of a JCL file
by
using upper case for
macros and lower case for executable lines, such as TRSDOS
commands, or vice versa.
Using
IIASSIGN
JCL provides the IIASSIGN macro
to
set a token's logical value true,
and to assign a character string value to a token.
The syntax for the
IIASSIGN macro
is:
IIASSIGN
token=character
strin5
character string can consist of
up
to 32 characters. Any character
on
the keyboard
is
allowed except a double-quotation mark ( "
).
Error Conditions
Any time you use IIASSIGN, there must
be
at least one character
assigned as a value or the compiling aborts.
Examples
In
any of the previous examples that used the IISET macro, the
IIASSIGN macro could have been substituted. The character string
value assigned to the token has
no
effect
on
the JCL logic.
In
the following example, if the token A is true, the tokens
P1,
KI,
and
PR
are all set to true. This example assigns character string values to
the tokens.
TEST/JCL
IIIF
A
IIASSIGN
Pl=PROGRAM/BAS
IIASSIGN
KI=ALL
IIASSIGN PR=80
IIEND
Using
II.
Comment
and
IIQUIT
Compilation comments
(//.
Comment) are not written to the
SYSTEM/JCL file. They are displayed
on
the screen as they are
encountered during compilation. Thus, they act
as
a visual status log
of the compile.
The
IIQUIT macro aborts the compilation stage if the JCL detects
an
invalid condition. This macro lets you make sure all needed tokens
are entered before any execution takes place.
A-19

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals