returned to the operator. Now, any command can be typed on the
keyboard and then passes to the system.
The number of characters allowed
in
the input line depends on where
the
JCL
execution
is
when the IIINPUT is encountered. For example,
if
the JCL is executing at the TRSDOS Ready level, then you can
enter
up
to 80 characters, the same as for a normal
TRSDOS
command.
If
the IIINPUT
is
encountered after going into BASIC, then
you can enter up to 255 characters.
When you use the IIINPUT macro, you should exercise some caution
to assure that the command typed
in
is valid at the level it will be
executed. For example,
if
you enter a program name incorrectly, the
error message "Program not found"
is
displayed and the
JCL
execution aborts.
IIPAUSE [message
string]
When this macro
is
encountered
in
an executing
JCL
file, it is
displayed on the screen along with a message. You can use the
message to inform the operator why the pause was ordered. Press
(ENTER)
to resume
JCL
execution, or press
(BREAK)
to abort the JCL.
The IIDELAY, IIWAIT, and IISLEEP macros are similar to the
IIPAUSE macro, and are used to give JCL execution a specific delay
period.~
IISLEEP
hh:mm:ss
Use this macro to put the system "to sleep" for the amount of time
you specify.
IISLEEP adds the specified time to the current system time and waits
until that time to begin or resume execution.
Suppose you have two programs that begin execution every morning
at
10 o'clock and each program runs for two hours. You could
execute the first program and have the IISLEEP macro
"halt"
execution of the second program for an hour lunch break. After the
system "sleeps" for the specified hour, the second program is
executed.
IISTOP
Use this macro to halt execution of a
JCL
file and return keyboard
control to the applications program that requests additional keyboard
input.
If you do not use the
IISTOP macro, you automatically return to
TRSDOS Ready or BASIC Ready. You can also use the
IIABORT
and IIEXIT macros to force an end to the JCL execution and return to
TRSDOS Ready or BASIC Ready.
A-8