
CLI Commands
B-5
System Software for M7-300 and M7-400 Installation and Operation
C79000-G7076-C850-02
B.2 CANCEL
Function Abort job
Inline command
Syntax cancel <job number>
Parameter Name Meaning
job number Job number specified at start of task. This is the number
displayed by the SYSTAT command.
Description
The job specified by
job number
is aborted. Foreground jobs cannot be aborted
with CANCEL. For special conditions after program abortion see also User Manual,
Section 15.4.3.
If a batch file is executed as background job, the originally started job might be
waiting for another CLI job to be completed. In this case you have two options:
By specifying the job number of the originally started background job both jobs
are automatically aborted, first the subordinate and then the original job.
By specifying the job number of the subordinate job only this job is aborted. The
original job continues executing by invoking the next command of the batch file.
The job number of the subordinate job is also displayed by the SYSTAT
command.
Inline commands and foreground jobs cannot be aborted with CANCEL.
Note
<Ctrl>+<C> is not effective when scheduling is disabled (RmDisableScheduler).
Example
CANCEL 2
Aborts background job #2.
Komentarze do niniejszej Instrukcji