Msg “Not able to allocate objects needed…”

10 pts.
Tags:
AS/400
My user run Invoice Release program everyday and many times per day. Once there was msg "Not able to allocate objects needed for file SSDL01(logical filename) in library BPCS405CDF(library name) member or program device SSDL01. I checked and could not find any causes. But at that time our system was running CPYF from many business files ,including SSD (physical file of SSDL01) that refered in the error. As I read the restriction of CPYF, it will lock To file (TOFILE) parameter. But my case ,SSD is FROMFILE paratmeter, so it should not be locked. Please anyone help me whether this msg involve with CPYF or not.

Answer Wiki

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

CPYF does lock the from file, it puts a read lock on the from file.
If your invoice process attempts to put an exclusive lock on this file it will find that it cannot do that when any other process including the CPYF is using the file.

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
  • Geekprime
    WRKOBJLCK OBJ(BPCS405CDF/SSDL01) OBJTYPE(*FILE) this will tell you what jobs have a lock on the file. You may need to press F6 to see member locks.
    275 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