> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Eric Chevalier > Sent: Thursday, November 15, 2007 11:51 AM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Re: REFM=VB Binary upload problem > > > On 15 Nov 2007 08:46:54 -0800, [EMAIL PROTECTED] (Kirk Wolf) wrote: > > >If you download a VB dataset with: > > > >bin > >quote site rdw > > > >then you will get binary data with IBM RDWs inlined. > > > >then to upload: > > > >bin > >quote site rdw > >quote site recfm=vb > > I just tried your suggestion, but my results weren't quite what we > might have expected. My test involved downloading a member of a PDSE > having the attributes DSORG=PO,RECFM=VB,LRECL=255,BLKSIZE=32760. When > I uploaded my test data back to the mainframe, the RDWs were included > as part of the data and the original record boundaries were lost. > > Here's my FTP session: > > 230 ERIC1 is logged on. Working directory is "ERIC1.". > ftp> cd misc.text > 250 The working directory "ERIC1.MISC.TEXT" is a partitioned data set > ftp> bin > 200 Representation type is Image > ftp> quote site rdw > 200 SITE command was accepted > ftp> get create > 200 Port request OK. > 125 Sending data set ERIC1.MISC.TEXT(CREATE) > 250 Transfer completed successfully. > ftp: 469 bytes received in 0.01Seconds 31.27Kbytes/sec. > ftp> quote site recfm=vb > 200 SITE command was accepted > ftp> put create temp > 200 Port request OK. > 125 Storing data set ERIC1.MISC.TEXT(TEMP) > 250 Transfer completed successfully. > ftp: 469 bytes sent in 0.00Seconds 469000.00Kbytes/sec. > > Eric > > -- > Eric Chevalier E-mail: [EMAIL PROTECTED]
If you want to transfer a binary file from z/OS to z/OS with non-z/OS intermediate nodes, then I'd strongly suggest that you use QUOTE SITE STRU R to use "record" structure. This "encodes" the file so that record boundries are kept. I've done this to transfer files in the past from z/OS to Windows, back to z/OS. The binary file is not readily usable on the intermediate nodes due to the "encoding". -- 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