JeL
Execution
Macros
A macro is a pre-defined JCL instruction. IIABORT is an example of a
macro symbol. Macro symbols must start at the first character position
in the line.
An
execution macro cannot
be
the first line
in
a JCL
file.
The
JCL
execution macros are:
IIABORT
Use this macro to exit a JCL procedure (if
an
error is encountered)
and return to the program that initiated the DO command.
Your system returns you to the calling program if your
JCL
processing
logic detects an error. The following message:
Job
aborted
is
displayed when an error
is
encountered.
IIALERT
[(]tone,silence,tone,silence,
...
[)]
Use this macro to produce tones to the operator. IIALERT can
generate up to eight different tones using the sound generator inside
the computer.
You could use this macro to signify the end of a large
JCL
procedure.
It
could also be used during the execution of a procedure to bring
attention to a specific process.
Tone is controlled by a number ranging from
0 -
7,
with 7 producing
the lowest tone and
0 producing the highest tone.
The tone is followed by a period of silence which you select with a
second number ranging from
0 -
7,
with 7 producing the longest
period of silence and
0 producing the shortest period of silence. Tone
and silence must be entered as number pairs (for example,
"1,0").
You can enter as many number pairs as can fit on one line.
You can repeat the tone-silence sequence by enclosing the entire
string in parentheses. The sequence keeps repeating until you press
(ENTER),
which continues execution of the JCL. Pressing
(BREAK)
aborts
the JCL.
Any value entered (for tone or silence) is used
in
its modulo 8 form.
Th.at
is, if you enter the number
8,
a zero value is assumed. For
example, the value
10 produces the tone assigned to
2.
IIDELAY
duration
The IIDELAY macro provides a definite timed pause with execution
automatically continuing at the end of the delay. The actual delay will
be approximately
0.1
second per count. The count ranges from 1 to
256. Thus, a delay of from
0.1
second to 25.6 seconds is possible.
A-6