CFtpListResult::parseAsIBMMVS Support for Column Volume=Migrated
IBM z/OS MVS FTP server may return directory listing records with column Volume=Migrated (default DATASETMODE output format); from session logging with level=Debug 2:
WinSCP successfully parses the latter record and displays the data set name in the GUI.
However, it does not display the record with Volume=Migrated, though it represents a transferable data set.
Function
If you are willing and able, would you please consider refactoring the line parsing functionality (
What do you think (?)
Using WinSCP 5.9.5 (Build 7441) with GUI “Commander” interface, protocol FTPS, on Windows 2008 R2 Enterprise (Service Pack 1). Session log attached.
RESOURCES
Kevin
. 2017-05-31 14:19:45.813 Volume Unit Referred Ext Used Recfm Lrecl BlkSz Dsorg Dsname . 2017-05-31 14:19:45.813 Migrated F010917A.FFS2 . 2017-05-31 14:19:45.813 SS1010 3390 2017/05/31 1 1 FB 309 27810 PS F010917A.FSSP
However, it does not display the record with Volume=Migrated, though it represents a transferable data set.
Function
CFtpListResult::parseLine(...) seems to represent the source code which handles parsing this (via CFtpListResult::parseAsIBMMVS(...)).
If you are willing and able, would you please consider refactoring the line parsing functionality (
CFtpListResult::parseAsIBMMVS, or perhaps a new helper function) to successfully parse data set listings with column Volume=Migrated (?)
What do you think (?)
Using WinSCP 5.9.5 (Build 7441) with GUI “Commander” interface, protocol FTPS, on Windows 2008 R2 Enterprise (Service Pack 1). Session log attached.
RESOURCES
-
CFtpListResult::parseLine
https://github.com/winscp/winscp/blob/5.9.5/source/filezilla/FtpListResult.cpp#L481
-
CFtpListResult::parseAsIBMMVS
https://github.com/winscp/winscp/blob/5.9.5/source/filezilla/FtpListResult.cpp#L2656
Kevin