Process and Job Control System Call
Process and Job Control System Call
A running program needs to be able to halt its execution either normally (end) or
abnormally (abort). If the program discovers an error in its input and wants to
terminate
abnormally, it may also want to define an error level.
A process or job executing one program may want to load and execute another
program.
This allows the control card interpreter to execute program as directly by the
control cards
of the user job. If we create a new job or process, we should able to control its
execution.
We may also want to terminate a job or process that we created (terminate
process). If we
find that it is incorrect or no longer needed we need waiting time to finish
execution (wait
time). Another set of system calls are helpful in debugging a program.