> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Paul Gilmartin > Sent: Thursday, June 07, 2007 5:54 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Re: IEBCOPY Unloaded dataset to PC and back again...not > > > On Thu, 7 Jun 2007 06:15:58 -0300, Shmuel Metz (Seymour J.) wrote: > > > >>QUOTE STRU R > > > >>also works with RECFM=U. > > > >FSVO works. When you FTP to the PC you lose your record boundaries > >and there's no equivalent to an RDW. > > > I tried a small test case. The record boundaries were preserved > (according to ISPF BROWSE HEX; I didn't try AMASPZAP). > > Who's "shoot[ing] from the hip" here? > > I'm going to dump the stream format and see how it did it. > > -- gil
Gil, The method is documented and is simple. The downloaded file is especially encoded as it is downloaded. With a very simple encoding method. Each data byte in the range 0x00-0xFE comes down unchanged. A 0xFF data byte is encoded as two bytes: 0xFFFF. A logical end of record is encoded as 0xFF01. End of file is encoded as 0xFF02. 0xFF03 is end-of-record combined with end-of-file. That's it. It works regardless of anybody else's opinion. It is not often implemented in ASCII based systems such as Windows or Linux or UNIX because they don't have RECORD oriented architectures. But it does work for the z/OS ftp server. I never said anywhere that it worked for any other server. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html