Authority on a JOBQ

240 pts.
Tags:
AS/400
AS/400 commands
How can I check that a particular user is authorized to a JOBQ or not?

Software/Hardware used:
AS400 COBOL
ASKED: April 5, 2013  7:33 AM
UPDATED: April 5, 2013  12:43 PM

Answer Wiki

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

Discuss This Question: 6  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
  • TomLiotta
    You do it the same way you check authority for any object. Display the *JOBQ authority with DSPOBJAUT. Tom
    125,585 pointsBadges:
    report
  • CharlieBrowne
    Use the CHKOBJ command and monitor for the messages; Here is what you can monitor for: *ESCAPE Messages CPF9801 Object &2 in library &3 not found. CPF9802 Not authorized to object &2 in &3. CPF9810 Library &1 not found. CPF9815 Member &5 file &2 in library &3 not found. CPF9820 Not authorized to use library &1. CPF9830 Cannot assign library &1. CPF9899 Error occurred during processing of command
    39,815 pointsBadges:
    report
  • 919952055322
    First check the user profile is group profile or not. Then you can use the command dspobjaut for the jobq. you can get the list.
    30 pointsBadges:
    report
  • TomLiotta
    Since this is tagged with "COBOL", are you looking for how to do it in code? If so, the Check User Authority to an Object (QSYCUSRA) API is probably easiest. Tom
    125,585 pointsBadges:
    report
  • Sai4AS400
    DSPOBJAUT take f4-->object name then it displays all the authorised user id's to that particular Object. correct me if i am wrong.
    1,420 pointsBadges:
    report
  • TomLiotta
    That's one part. At least three additional elements of the results shown by DSPOBJAUT might need to be checked. And the actual question needs to be clarified. If you are manually checking, you would do it differently than if you were checking by programming code. -- 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