COZBATCH fails RC=255 when system busy

Discussion of the free COZBATCH utility for z/OS
Post Reply
njd
Posts: 39
Joined: Fri Apr 24, 2015 5:57 am

COZBATCH fails RC=255 when system busy

Post by njd » Fri Jan 17, 2020 4:25 am

Hi,

Occasionally overnight when the system is busy we get a number of file transfer jobs failing with the following:

CoZBatch.N.: version: 5.6.0 2019-08-20
CoZBatch.N.: Copyright (C) Dovetailed Technologies, LLC. 2005-2019. All rights
CoZBatch.I.: executing progname=login-shell="-/bin/sh"
Co:Z SFTP version: 5.6.0 (6.4p1) 2019-08-20
Copyright (C) Dovetailed Technologies, LLC. 2008-2019. All rights reserved.
Connecting to 'remote system'...
Connection closed by UNKNOWN

.74.627. Connection closed
CoZBatch.I.: returning rc=exitcode=255

This seems to happen after 4 or 5 minutes of the job starting. We have the following coded in the job:

-oconnecttimeout=60
-oServerAliveInterval=60

Is there any parameter you can suggest that we can code to avoid this?

dovetail
Site Admin
Posts: 1920
Joined: Thu Jul 29, 2004 12:12 pm

Re: COZBATCH fails RC=255 when system busy

Post by dovetail » Fri Jan 17, 2020 5:23 pm

Co:Z SFTP tried to create an ssh connection (z/OS OpenSSH) and the ssh command failed, apparently due to a timeout.

njd
Posts: 39
Joined: Fri Apr 24, 2015 5:57 am

Re: COZBATCH fails RC=255 when system busy

Post by njd » Wed Jan 22, 2020 11:13 am

We also get the following error

FOTS1933 Write failed: EDC5140I Broken pipe. (errno2=0x76697242)

Post Reply