is there any way to know the jobs which are using a particular job description?

315 pts.
IT careers
Job Description
Hi, I have a job description. I want to know what are all jobs are using that job description. please help me. thanks in advance

Answer Wiki

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

This is tricky since jobs don’t actually use job descriptions (*JOBDs). They are used by users to tell Work Management how to set up an environment for a job to run under. Once the environment is set, the *JOBD is no longer important.

That’s why you can change a *JOBD attribute after a job starts and the change doesn’t affect the job.

You can retrieve attributes of jobs that are currently tracked in the system to see what *JOBD was used for it. The information can be retrieved for each job from format JOBI0400 of the <a href=””>Retrieve Job Information (QUSRJOBI) API</a>. However, this can only tell you about jobs that are in the system when you call the API.

It can’t tell you about a job that completed an hour ago and that left no object such as a spooled file on an *OUTQ.

Ideally, you have auditing enabled and you are tracking *JOBDATA. You can then retrieve T/JS entries from QUADJRN. Look for entry-specific data sub-type ‘B’ (Submit). The *JOBD name begins in position 50 of the entry-specific data.

That lets you see how every submitted job had a *JOBD specified going back as far as your journal goes. You could extract and review T/JS entries on a daily basis for a few days or for as long as needed to make it through an accounting cycle — however long you choose.

Details of JS entries are in Appendix F of the Security Reference manual for your version/release of the OS.


Discuss This Question: 4  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.
  • Splat
    Umm, I think Sudheer794 is talking about *JOBD. To see which job descriptions are assigned to which users, DSPUSRPRF *ALL (or is it WRKUSRPRF *ALL) to an outfile and query the file. As for jobs, are you talking about active jobs or submitted jobs. The first I'm not sure how to get without looking at the job as it runs; the second would require trolling through all of your source, menus included, to find out how a particular job is submitted. If anyone knows of a better method, I'm all ears.
    12,875 pointsBadges:
  • sudheer794
    hi.. I think U didn't get my concern. I have a JOBD in my server. Now I want to know what are all the jobs are using that JOBD. is there any command/way to get the job list which are using that a particular jobd. hope you get this. please help me..
    315 pointsBadges:
  • sudheer794
    Yes Splat, I am talking about *JOBD... I want to get the jobs list which are using a particular JOBD...
    315 pointsBadges:
  • carlosdl
    Funny. I hope you understand now how important is to tag your question appropriately and to mention the software/hardware being used, when creating a question. Now that this has been clarified, I'm sure you will get your answer.
    84,745 pointsBadges:

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.


Share this item with your network: