
Writing Technician Interface Scripts
2-36 114089 Rev. A
run
The run command allows you to read and execute the Technician Interface
commands in a Technician Interface script file. The
run command deletes all local
variables when a script ends.
The
run command has the following syntax:
run [-s]
<vol>
:
<filename>
[
<p1>
[
<p2>
[
. . .<p9>
]]]
-s prevents the system from returning an error message if the run command
cannot locate the specified script file.
<vol>
is the volume number of the script you want to execute.
<filename>
is the name of the script file you want to execute.
<p1>
,
<p2>
,
<p3>
,
<p4>
,
<p5>
,
<p6>
,
<p7>
,
<p8>
,
<p9>
are optional input
parameters to the script file. They may be referred to within the script file, as
follows:
<p1>
-> $1
<p2>
-> $2
<p3>
-> $3
<p4>
-> $4
<p5>
-> $5
<p6>
-> $6
<p7>
-> $7
<p8>
-> $8
<p9>
-> $9
To locate script errors, use the
verbose on command and then use the run
command. The Technician Interface displays each line from the file before it
executes the line, enabling you to locate errors easily.
Komentarze do niniejszej Instrukcji