> WAD is highly likey for this. It's easy to suspect that there's a common > subroutine to add record to target file, called for all transfer modes, > that converts empty records to spaces.
This might make sense for FB files, but not for VB, especially in binary mode. The FTP server has no grounds to decide that a space represents "emptiness". An FTP server has no business using a common subroutine for all transfer modes. Data transformation is half the job. (I know; I used to be responsible for one.) > And they might consider it an incompatible behavior. It might break end > user code... If end-user code cannot handle empty VB records, the code would obviously have the same problem with original file. > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Paul Gilmartin > Sent: Friday, January 11, 2013 11:02 AM > To: [email protected] > Subject: Re: FTP variable block dataset from z/OS to Windows and back > > On Fri, 11 Jan 2013 08:18:37 -0500, Steven St.Jean wrote: > > >Gil, > > > >> It would seem so, but as I reported earlier in this thread, it > >> doesn't work. > >> Empty records are corrupted; I don't get "the file back exactly as it > >> started out". > > > >Sorry, I missed that. > > > >> I suspect this is purely a z/OS flaw, > > > >I agree. If it does indeed work (or fail to work) as you describe, I > would open a PMR with z/OS Comm Server. > > > WAD is highly likey for this. It's easy to suspect that there's a common > subroutine to add record to target file, called for all transfer modes, > that converts empty records to spaces. > And that behavior may have been inherited from VM/CMS where empty records > are strictly prohibited by the file system. > > And they might consider it an incompatible behavior. It might break end > user code that does LH; BCTR; EX; MVC to copy variable length records. > Same reason that ISPF/PDF changes empty records even with SET PRESERVE ON. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email > to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
