Link to home
Start Free TrialLog in
Avatar of Aneak Dongre
Aneak Dongre

asked on

iSeries : API QUSRJOBI format JOBI1000

I'm using QUSLJOB API to get the list of all jobs on the system. I'm then passing this job list to API QUSRJOBI format JOBI200 for getting various other information for each job. My problem is to have CPU% for each job. JOBI200 doesn't have any field that return CPU%. I know that the API JOB1000 gives the elapsed time CPU%, but couldn't find any example of it. If anyone can help me with the example of format JOB1000 then I will be grateful.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Aneak Dongre
Aneak Dongre

ASKER

Thank you Gary for your advise. I will implement this in my program.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you Gary and Murphey for your advise on the problem.
I've also found that the offset 104 of JOBI1000 format gives the CPU in percent. I've implemented this in my program and it gives the correct results. Thank you all for your help.