A fix is available
APAR status
Closed as program error.
Error description
This is the APAR for z/VM 7.4 TCP/IP Fix Pack 1. It contains fixes for the following two problems: Problem 1: z/VM FTP CLIENT HANGS WHEN TRANSFERRING OPEN FILE When the z/VM FTP client transfers an already open file to a z/OS FTP server, the transfer hangs. The z/OS FTP server sends two 125 responses followed by a 450 that is never seen by the FTP client, but is visible to the SSL server. The fix updates TcpStatus to check the relevant TCB for bytes that are in the SSL server but have not yet reached the TCP/IP stack. ----- Problem 2: z/VM FTP CLIENT FAILS ON MKDIR WITH SPACES There is an issue with the FTP client where the mkdir command fails when attempting to create a directory name that contains spaces. When issuing a mkdir new directory, the client does not create the directory and returns an error message: Usage: MKDIR directory.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of z/VM TCP/IP and the z/VM FTP * * client. * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: APPLY PTF * **************************************************************** Problem 1: z/VM FTP CLIENT HANGS WHEN TRANSFERRING OPEN FILE Currently when the FTP client connects to a z/OS server and a file being transferred is using PUT, if that , file is opened on z/OS, 2 125 responses are returned followed by a 450. That 450 isn't seen by the FTP client and the client hangs, but it is seen in the SSL server. The fix updates TcpStatus/Tcp6Status to check the relevant TCB for bytes that are in the SSL server but not yet in the stack. ----- Problem 2: z/VM FTP CLIENT FAILS ON MKDIR WITH SPACES 'MKDIR' and 'RMDIR' FTP client commands do not accept quoted arguments embedding spaces between words. When a directory entry must be created or deleted, on an FTP server where spaces in a directory name is supported, an error would be returned.
Problem conclusion
Problem 1: z/VM FTP CLIENT HANGS WHEN TRANSFERRING OPEN FILE A reference to the TCB that contains the bytes that have not yet reached a client was added. A check was added to TcpStatus/Tcp6Status that checks if this TCB contains any bytes, and if so adds this byte count to the BytesToRead field. Another check was added to the FTP client if the 125 is received from an FTP server, a Tcp6Status call is made to check if there are currently outstanding BytesToRead. Problem 2: z/VM FTP CLIENT FAILS ON MKDIR WITH SPACES Fix made in FTP client parser code, so that commands "MKDIR" and "RMDIR" interpret arguments containing spaces correctly.
Temporary fix
Comments
APAR Information
APAR number
PH66109
Reported component name
TCP/IP FOR Z/VM
Reported component ID
5735FAL00
Reported release
740
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2025-04-11
Closed date
2025-04-17
Last modified date
2025-09-30
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UO02862
Modules/Macros
CMNETST FTMAIN FTPARSE FTPROCS FTSYPRO FTUSER FTUTIL TCBASTY TCMIB TCMON TCPIP TCPREQU TCPSSL TCPUP TCQUEUE TCTCB TCUTIL TCVMVER T6PSSL 7VMTCP40
Fix information
Fixed component name
TCP/IP FOR Z/VM
Fixed component ID
5735FAL00
Applicable component levels
R740 PSY UO02862
UP25/04/21 P 2502
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SG27M","label":"APARs - z\/VM Environment"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"740","Line of Business":{"code":"LOB16","label":"Mainframe HW"}}]
Document Information
Modified date:
30 September 2025