Sivaramakrishnan S wrote:
The To file is created using the CPYTOIMPF command and
so there should be no locks even before the file is
created. I understand that the Resource Busy is the
error description for 3029, but not sure what resource
is busy.
When I retry the cpytoimpf command after 30 sec delay,
its giving "prepare statement in use" error....there
is no sql in this pgm...may be internally it uses some
sql to cpy stuff....

Siva:

I can only add a guess that it is not the file that is in-use but rather a directory in the path.

If this is happening during IFS backups, the directory/path might be temporarily unavailable. Perhaps the program simply needs to monitor for this error, execute a delay for a minute, and loop back to try again.

Tom Liotta


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.