Single thread and multi thread in AS/400 Jobq

620 pts.
Tags:
AS/400
JOBQ
What is single thread and multi thread jobq's in AS/400?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

There isnt any differentiation like Single thread, Multi thread JOBQs at the time of Creation.

While adding JOBQ to Subsystem, You can specify How many Jobs that can run in JOBQ at once. 
You can specify MAXACT(1) to have only one job running in JOBQ at a time.

ADDJOBQE SBSD(QGPL/SUBSYSTEM) JOBQ(QGPL/NEQJOBQ) MAXACT(1)

Or, You could specify any number/*NOMAX to allow multiple jobs to run at a time.

ADDJOBQE SBSD(QGPL/SUBSYSTEM) JOBQ(QGPL/NEQJOBQ) 
MAXACT(50)

ADDJOBQE SBSD(QGPL/SUBSYSTEM) JOBQ(QGPL/NEQJOBQ) MAXACT(*NOMAX)

Pradeep.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    Single thread = 1 job at a time like Pradeep mentioned. This is usually for jobs that share things like files, dataareas and dataqs. This way you can prevent data form changing by another job running at the same time.

    Mult-threaded = Many jobs can run concurrently. This is controlled by the MAXACT parameter used to create the JOBQ. This would be common for jobs like reporting,or inquiry. Mainly where files can be used my many jobs and still maintain their integrity from job to job.
    133,595 pointsBadges:
    report
  • chowas400
    Deepu/Todd,

    Thank you so much...
    620 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: