Difference between revisions of "Batch Process"
(Created page with "A '''batch process''' is a type of process that runs in batch mode, i.e. non-interactively, executing a pre-recorded sequence of commands. To run a sequence of com...") |
m |
||
Line 1: | Line 1: | ||
A '''batch process''' is a type of [[Process|process]] that runs in batch mode, i.e. non-interactively, executing a pre-recorded sequence of commands. To run a sequence of commands (called a command procedure) in batch mode, you need to submit a [[Batch Job|batch job]] to a [[Queue|queue]]. When the batch job is ready to run, the [[JOB_CONTROL]] process creates a batch process within the context of which the specified command procedure is executed. When the end of instructions or the EXIT command is reached in the command procedure file, the batch process is terminated. | A '''batch process''' is a type of [[Process|process]] that runs in batch mode, i.e. non-interactively, executing a pre-recorded sequence of commands. To run a sequence of commands (called a command procedure) in batch mode, you need to submit a [[Batch Job|batch job]] to a [[Queue|queue]]. When the batch job is ready to run, the [[JOB_CONTROL]] process creates a batch process within the context of which the specified command procedure is executed. When the end of instructions or the EXIT command is reached in the command procedure file, the batch process is terminated. | ||
+ | |||
+ | You can determine if a process is a batch process by running SHOW SYSTEM and looking for the letter B at the end of the line for that particular process. Running batch jobs will also be displayed in the output of SHOW QUEUE provided that they are run by you or you run SHOW QUEUE from a privileged process. |
Latest revision as of 19:45, 13 November 2019
A batch process is a type of process that runs in batch mode, i.e. non-interactively, executing a pre-recorded sequence of commands. To run a sequence of commands (called a command procedure) in batch mode, you need to submit a batch job to a queue. When the batch job is ready to run, the JOB_CONTROL process creates a batch process within the context of which the specified command procedure is executed. When the end of instructions or the EXIT command is reached in the command procedure file, the batch process is terminated.
You can determine if a process is a batch process by running SHOW SYSTEM and looking for the letter B at the end of the line for that particular process. Running batch jobs will also be displayed in the output of SHOW QUEUE provided that they are run by you or you run SHOW QUEUE from a privileged process.