IBM Support

ACOP041I error on session retry from remote Connect:Direct

Technote (troubleshooting)


ACOP041I error on session retry from remote Connect:Direct
for copy function.
DISP=MOD and check pointing is used for the copy step.


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.


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.

Document information

More support for: Sterling Connect:Direct for i5/OS

Software version: 3.5, 3.6, 3.7

Operating system(s): IBM i

Reference #: 1621864

Modified date: 08 January 2013

Translate this page: