MPE/iX Commands Reference Manual (32650-90864)

Chapter 2 111
Command Definitions A-B
BREAKJOB
BREAKJOB
Suspends an executing job. (Native Mode)
Syntax
BREAKJOB #Jnnn
Parameters
#Jnnn A job number.
Operation Notes
The operator can use the BREAKJOB command to suspend any executing job, including
spooled and streamed jobs. A job using a critical system resource is not suspended until it
releases the resource.
When you issue the BREAKJOB command for a job that controls a nonshareable device, a
console message is displayed listing the device(s) that the job controls. (As many as ten
devices may be listed.) You may then decide whether the job should be allowed to run until
it releases the device(s), or whether it should be aborted.
All commands that normally affect executing jobs, such as ABORTJOB, operate on
suspended jobs. The SHOWJOB command, which lists all jobs, displays SUSP for those in the
suspended state. To list suspended jobs only, enter SHOWJOB SUSP.
Use
This command may be issued from a session, job, program, or in BREAK. Pressing Break
has no effect on this command. It is executable only from the console unless distributed to
users with the ALLOW command, or if JOBSECURITY is set to LOW.
Examples
To suspend job number 68, enter:
BREAKJOB #J68
To display suspended jobs, enter:
SHOWJOB SUSP
JOBNUM STATE INPRI JIN JLIST INTRODUCED JOB NAME
#68 SUSP 105 LP WED. 7:56AM TEST,USER.ACCT
Related Information
Commands ALTJOB, ABORTJOB, RESUMEJOB, SHOWJOB, STREAM
Manuals Performing System Operation Tasks