COZBATCH fails RC=255 when system busy

Discussion of the 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 »

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: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: COZBATCH fails RC=255 when system busy

Post by dovetail »

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 »

We also get the following error

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