RE:     Jobs based on JOBD

>Hi All,
>     Is there anyway we can find all the jobs that run with a specific
>?JobDescription. Here we have several job descriptions linked to different
>departments. I need to find out all the jobs of our department. So I need
>to look for all jobs that run with our department's JOBD. I know the JOBD
>but from there, how do I get the list of jobs with that JOBD? At present I
>am doing WRKUSRJOB and specifying USER(JOBD name). Any better solutions for
>this?? Thanx in advance for any help/suggestions.


Your answer depends on these questions;
1. How is the jobd "put" into the SBMJOB command?
2. Do jobs only run with "One"  Jobd?
3. What are your standards for jobd's on SBMJOB, USRPRF, SBSD, etc.

If you "hardcode" your SBMJOB's in your CLP programs,  It's 
"Source Scan" time buddy.

If you "Softcode" your jobds on the SBMJOB,  Good luck.  (If so, how do you
determine which jobd you will run.)

If the same job can be run with 2 or more jobd's (via softcoded logic)
which one would you group it with?

Venu,  what are you REALLY trying to find out?  It doesn't appear its really
"Which jobs use which jobd's"

If your trying to find what I think you are,   try puting a 
user profile "Job Accounting Code" on the profiles for your department.
then look at the "performance data"  (from strpfrmon) and look in file
It will tell you which jobs are used for which "Job Accounting Code"

John Carr CDP
IBM Certified Specialist - RPG Programmer

5121 Acorn Ridge Ct. 
Midlothian Va 23112-2356
Ph    804-739-7689
Fax   804-739-7950
email 74711,

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "".
| To unsubscribe from this list send email to
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator:

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.