Closing dataset before completion

A discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
sboshko
Posts: 4
Joined: Mon Dec 22, 2014 8:23 am

Closing dataset before completion

Post by sboshko » Wed Sep 20, 2017 10:05 am

Under what conditions would Co:Z SFTP write the following message to the log?
ZosDataset : Closing dataset //DTS3......before completion - 27047476 bytes received, 27198 records written

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

Re: Closing dataset before completion

Post by dovetail » Wed Sep 20, 2017 2:31 pm

This would happen if there were a process interrupt or if the connection was lost before normal EOF or close processing for the data set.
There is usually a message prior to this that gives the reason.

Note: I can't tell if you were running the CO:Z SFTP client or the server from this single log message, or which version you are running.

sboshko
Posts: 4
Joined: Mon Dec 22, 2014 8:23 am

Re: Closing dataset before completion

Post by sboshko » Thu Sep 21, 2017 8:10 am

The message just before the CLOSING message is:
ZosDataset : Opening dataset DTS3......

I'm running the server, and the version is:
Co:Z SFTP Server version: 3.0.1 (5.0p1) 2017-04-19 (patched)

I have a wireshark trace and it shows a normal termination. The client sends a FIN packet and then the server replies with a FIN,ACK.

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

Re: Closing dataset before completion

Post by dovetail » Thu Sep 21, 2017 10:17 am

It sounds like the underlying SSH connection is being closed before the sftp FXP_CLOSE packet is received to close the data set.

I notice now that you are an enterprise support customer, so please open a ticket if you need further assistance.

Post Reply