Batch Process

From VSI OpenVMS Wiki
Revision as of 19:45, 13 November 2019 by Jane.doe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.