jobq

1395 pts.
Tags:
Subsystems
how can we add a new jobq to a existing sub system?

Answer Wiki

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

You can use CRTJOBQ command for creating a new JOBQ in specific library.
<pre> Create Job Queue (CRTJOBQ)

Type choices, press Enter.

Job queue . . . . . . . . . . . NEWJOBQ Name
Library . . . . . . . . . . . *CURLIB Name, *CURLIB
Text ‘description’ . . . . . . . New JOBQ

Additional Parameters

Operator controlled . . . . . . *YES *YES, *NO
Authority to check . . . . . . . *OWNER *OWNER, *DTAAUT
Authority . . . . . . . . . . . *USE Name, *USE, *ALL, *CHANGE… </pre>

Where as, you can use ADDJOBQE command for adding JOBQ to Subsystem.
<pre> Add Job Queue Entry (ADDJOBQE)

Type choices, press Enter.

Subsystem description . . . . . SUBSYSNAM Name
Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB
Job queue . . . . . . . . . . . NEWJOBQ Name
Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB
Maximum active jobs . . . . . . 1 0-1000, *NOMAX
Sequence number . . . . . . . . 10 1-9999
Max active priority 1 . . . . . *NOMAX 0-99, *NOMAX
Max active priority 2 . . . . . *NOMAX 0-99, *NOMAX
Max active priority 3 . . . . . *NOMAX 0-99, *NOMAX </pre>

Pradeep.

Discuss This Question: 10  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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Rajasekhar15
    so no need to specify in jobd, isit !
    1,395 pointsBadges:
    report
  • deepu9321
    JOBD will not be needed. You will need to enter Susystem Description and JOBQ name. Pradeep.
    4,290 pointsBadges:
    report
  • TomLiotta
    so no need to specify in jobd... No need to specify "what" in a *JOBD? If you want a user's jobs to be submitted through a particular job queue, you will probably want to specify the job queue in the job description that is used for that user. If you don't do that, then the job queue will need to be specified on each SBMJOB command that is run by that user or for that user. (There are some minor variations.) Tom
    125,585 pointsBadges:
    report
  • Rajasekhar15
    tom what i want to know is...? im creating a new jobq and i would like implement it to a subsystem? deepu said that 1.CRTJOBQ 2.ADDJOBQE, is this ok, does it works out or should we have to take any other steps to complete it?
    1,395 pointsBadges:
    report
  • TomLiotta
    deepu said that 1.CRTJOBQ 2.ADDJOBQE, is this ok, does it works CRTJOBQ is the command to create a job queue. ADDJOBQE is the command to add a job queue entry to a subystem. Once a job queue is created and a job queue entry is added to a subsystem, the subsystem can begin to receive jobs from the job queue. But you still need to set up your jobs to be submitted to the job queue. If no jobs are placed on the queue, the subsystem can't receive any work off of the queue. Tom
    125,585 pointsBadges:
    report
  • Rajasekhar15
    yes of course tom...i knew it and accept it, actually when we creating a sub system we do (CRTJOBQ,CRTJOBD,ADDJOBQE) for the job running procedures, same as the way if we want to create a new jobq and to add it to the existing subsytem, then we have to do the same 3 steps isit?
    1,395 pointsBadges:
    report
  • deepu9321
    Yes, It will the Same procedure Rajasekhar. CRTJOBD & modifying JOBD will be based on your requirement. If you would like to have all the Jobs of corresponding user to be submitted through new JOBQ, Then, it will be good to have JOBD modified with this new JOBQ name. If you would like few jobs only to get submitted throgh new JOBQ, then, you can mention the name of the JOBQ at the time of Submitting Job(using SBMJOB). Pradeep.
    4,290 pointsBadges:
    report
  • TomLiotta
    ...to add it to the existing subsytem, then we have to do the same 3 steps isit? Mostly, yes. It's not necessary to create a new *JOBD unless you want a new one. You can change an existing *JOBD to reference the new *JOBQ. As for the steps, you can add a job queue entry only to an "existing" subsystem. So the steps for adding a job queue entry are always the same. It doesn't matter how long the subsystem has existed. But if the subsystem has previously been in use, it is possible that you will want to change a couple attributes of the subsystem. For example, you might want to increase the subsystem MAXJOBS() attribute to handle additional jobs from the new job queue. Tom
    125,585 pointsBadges:
    report
  • Sureyz
    Hi all..what is the use of JOBQ , JOBD .?and also want to know what is the difference between JOBD and SBSD(Subsystem Description).if we dont use the ADDJOBQE, where(in which subsystem) the created JOBQ will be stored?ThanksSurey.
    2,475 pointsBadges:
    report
  • TomLiotta
    what is the use of JOBQ , JOBD .?and also...   I can't see how these comments follow from the original question. You'll be better served by opening a new question to cover these issues.   Tom
    125,585 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following