Closing dataset before completion

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 »

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

Re: Closing dataset before completion

Post by dovetail »

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 »

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

Re: Closing dataset before completion

Post by dovetail »

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