IBM System/34 - Jobs and Job Queues

Jobs and Job Queues

In S/34 parlance, a job is any task the computer has been asked to do. A job has a job number, which for a program is the Workstation ID plus the time in HHMMSS format. For a printout, there's a spool job, which is "SP" and a four-digit suffix which is incremented by 1.

Sometimes a needed report should be run in the background so as not to delay the users. If the parameters of the report are defined, it shouldn't occupy the user's time or occupy that valuable area on the CRT. For this reason, the Job Queue was invented. Imagine the program standing in line waiting to use the computer processor. A job queue has a size (the number of jobs that can be in line) and a value for concurrency (how many lines there are, or, more accurately, job queue jobs that can run at the same time.)

JOBQ OCL

The JOBQ OCL statement causes the job queue job to be initialized, but it won't begin immediately if there's a lineup. This allows some greater control of system resources.

EVOKE OCL

The EVOKE OCL statement also causes the job to run in the background, but EVOKE causes the called module to start immediately as a new job, while the procedure that EVOKEd the called module continues to run. There is no delay as there can be when JOBQ is called.

Read more about this topic:  IBM System/34

Famous quotes containing the words jobs and/or job:

    The daily arguments over putting away the toys or practicing the piano defeat us so easily. We see them coming yet they frustrate us time and time again. In many cases, we are mothers and fathers who have managed budgets and unruly bosses and done difficult jobs well through sheer tenacity and dogged preparation. So why are we unable to persuade someone three feet tall to step into six inches of water at bathtime?
    Cathy Rindner Tempelsman (20th century)

    He knew that he was precisely what he himself would have chosen to be had God consulted him on the subject of his birth; he fully appreciated and approved what had been bestowed, and realized that he couldn’t have done the job better himself, in fact he would not have changed a single item.
    Michéal MacLiammóir (1899–1978)