Technote (troubleshooting)
Problem(Abstract)
ACOP041I error on session retry from remote Connect:Direct
for copy function.
DISP=MOD and check pointing is used for the copy step.
Symptom
Situation is PNODE goes to send to a i5/OS file. The file on
OS/400 is locked by another application so an allocation error (Requested data
set not available. Allocated to another job.) is sent back The PNODE
puts the process into timer-wait and does a retry. The second
connection attempt the file is no longer locked by a different
application, but i5/OS sends an error ACOP041I (Copy has been aborted
by dataexit routine.) because the incoming process is marked as a
restart and DISP(MOD) which i5/OS considers invalid.
Cause
We do not allow check point restart with DISP=MOD on i5/OS side. This is because if
no checkpoint had occurred the file would be cleared.
Resolving the problem
Turn off check pointing when DISP=MOD is used for i5/OS side.
When PNODE side is Connect:Direct z/OS you have to code CKPT=0M in the copy step.
See the Connect:Direct Process language guide for the required coding on other platforms.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.