Check if a specific job for a user is active.d

15 pts.
Tags:
AS/400 command keys
AS/400 jobs
CHKACTJOB
I found CHKACTJOB which will tell me if a generic job for a user is active. How can I find out if a specific job number for a user is active?
ASKED: March 4, 2009  3:16 PM
UPDATED: March 4, 2009  10:27 PM

Answer Wiki

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

Interactively, I would use wrkUsrJob but that seems to obvious.
This will show all jobs for the user
User whose jobs to display . . . UserID
Status of user jobs . . . . . . *ACTIVE

In cl I would look at
RTVJOBA2 TAATOOL if you have TAATOOL\

Phil
/////////////////////
ahhhhhh!
You could call a CL or CLLE to use the RTVJOBA2 command if you have it
It can return status.

Hopefully someone else will step in with some nifty code.
Phil

Discuss This Question: 1  Reply

 
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
  • Len1027
    Sorry I wasn't more descriptive. This is from within an RPG program.
    15 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