Radio Shack TRS-80 Model 4 Owner's Manual page 315

Hide thumbs Also See for TRS-80 Model 4:
Table of Contents

Advertisement

This example suspends the JCL before DEVICE executes, so you can
be sure that the correct disk is in Drive 0. Press (ENTER) to continue
the JCL.
You can use the IIDELAY macro if you want to display an informative
message to the operator. For example:
• BE SURE THAT THE PRINTER IS TURNED
ONI
IIDELAY 50
DEI,) ICE (P)
FREE (P)
I I
D( IT
This example displays the above informative message and delays
execution for approximately 5 seconds. After the delay, it executes
DEVICE and FREE.
If you want your system to execute START/JCL at a certain time of
the day, use the IIWAIT macro as follows:
• This program runs at 2:15 a.m.
IIWAIT 02:15:00
DEI) I CE
FREE
I I
D( IT
This example displays the comment and then waits until the system
.~
clock matches the time of 02:15:00 specified in the IIWAIT macro. It
would then execute DEVICE and FREE, and return to TRSDOS
Ready.
• This program runs after a two-hour pause.
IISLEEP 02:00:00
DEI) I CE
FREE
IIEi(IT
This example displays the comment and then "sleeps" for two hours.
It then executes DEVICE and FREE, and returns to TRSDOS Ready.
To use the IIFLASH macro, modify START/JCL as follows:
• This program executes the DEVICE and FREE
COlllfllands.
DEl,)
I
CE
IIFLASH 10 Starting execution of FREE
FREE
I IEi( IT
After DEVICE executes, the IIFLASH line is displayed. It flashes on
and off 10 times, as specified by the duration count. You can press
(ENTER) to stop the flash and proceed to the next line. Pressing (BREAK)
while the message is flashing aborts the JCL and displays the
message "Job Aborted".
A-10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Trs-80 model 4p

Table of Contents