Object is currently in use

700 pts.
Tags:
AS/400
AS/400 jobs
We have a RBO job which failed and when checking in the log, we could see the object currently in use. What can I do?

Software/Hardware used:
software

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: 8  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
  • philpl1jb
    Use WRKOBJLCK to determine what job it locking it. Then .. you have to decide if you can end the other job or wait for it to end ..
    51,235 pointsBadges:
    report
  • TomLiotta
    Don't have the object in use when the RBO job runs. You could also change the job to test the object for availability and then to end gracefully if it isn't or to send a message to a user or operator for help before trying again. -- Tom
    125,585 pointsBadges:
    report
  • ravula
    I do have the error log like this An operation attempted to use object 'XYZ 'This object is currently in use. Recovery :Allow time for the current operation to complete and then retry. If no operation is being performed, determine if the object is checked out. If it is, use the Check In Object (CHKIN) command to check in the object and then retry. To determine what is currently using the object or if the object is checked out, you can use the Retrieve Object References (QP0LROR) API, or examine the object's propert using System i Navigator. Additionally, the Work with Object Links (WRKLNk) or Display Object Links (DSPLNK) commands can be used to determine if the object is checked out. QP0LROR :retrives object reference, For specific IFS objects access or lock information is retrieved. --what are the steps we need to follow to fetch the object which is using.
    700 pointsBadges:
    report
  • philpl1jb
    Perhaps this will help http://search400.techtarget.com/tip/Display-all-the-jobs-that-have-a-lock-on-an-IFS-object
    51,235 pointsBadges:
    report
  • TomLiotta
    If you have the error log, then you already have the basic information about what to do. So, what is your problem? What do you need help with? -- Tom
    125,585 pointsBadges:
    report
  • ravula
    Thanks Tom,Philip for your time , failed job was restarted and it worked fine ... and I would be glad if i have a information regarding ''QP0LROR '' API what are the steps we need to follow .It would be a lot help full for me in future failures..
    700 pointsBadges:
    report
  • TomLiotta
    We don't know what steps to follow because we don't know any steps of your RBO job, nor do we know what object is locked nor what the job needs the object for.
    .
    The API is documented like all APIs in the Information Center. The Retrieve Object References (QP0LROR) API page tells how to call the API.
    .
    Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    If you've going to modify the program you will want ”QP0LROR ” API If you are looking for commands for operations then wrkObjLck would be the first step in the diagonstic.
    51,235 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