OTRONA ATTACHE Series Manual page 26

Valet
Table of Contents

Advertisement

Alarms
Commands may be chained together in the command and immediate command
alarm types so that more than one program will execute when the alarm
sounds.
This is done with the CP/M utility program SUBMIT.
SUBMIT is a command that retrieves a given file from the disk. The file
that is retrieved contains a series of commands that are then executed in
sequence.
This file may be built using either WordStar-Plus or the
ED.COM facility of CP/M.
The file must have the extension .SUB in order
to be recognized by SUBMIT (such as XYZ.SUB).
To chain commands for execution by an alarm,
the command "SUBMIT
filename" is keyed as the command line in the alarm. The name of the file
to be retrieved is substituted for "filename" (such as SUBMIT XYZ). Note
that
the .SUB extension is assumed and is not required in the command •
The file being retrieved must reside on the diskette in Drive A.
When
the scheduled alarm is activated, SUBMIT is called and retrieves the
specified file.
The chained commands are then executed from that file.
When all commands have been executed, the system is returned to CP/M and
the cursor is at A>.
A more complex use of SUBMIT is to initiate and execute programs
that would normally require operator intervention to answer screen
prompts. This is accomplished with SUBMIT and the CP/M Utility XSUB.
SUBMIT is used to call a file as described above, and XSUB is used to
insert the answers to operator prompts that will appear when the program
begins execution.
An example of how this might be used is to initiate a
data transfer to another computer at a time when the line rates are
reduced but no operator is present.
Bui Iding
.the
Cgmmand
.l.il.e
The file containing the actual commands may be buil t using ei ther
WordStar-Plus or ED. COM. If you are using WordStar-Plus, create the file
as a "Non-Document File" by selecting the "N" option at the No-File
Menu.
Select a filename and use the extension .SUB (such as XYZ.SUB).
Then enter each command as a separate line in the file.
In the example that follows, PIP, STAT, and DIR will be keyed as separate
lines in the non-document file XYZ.SUB on the diskette in the A Drive.
A:XYZ.SUB
FC=34
FL=3
COL=5
PIP A:=B:DOCFILE [V]
DIR
STAT
*.*
<
<
<
3-11

Advertisement

Table of Contents
loading

Related Products for OTRONA ATTACHE Series

Table of Contents