In a recent note, Jim McAlpine said: > Date: Tue, 10 Jan 2006 10:15:28 +0000 > > I need to do the above to get a VB file from a client machine to ours. In > also need to zip the file once it's on the pc before sending it to our > site. Can this be done and if so, what are the ftp parameters that need to > be used. Do I need to use XMIT or TRSMAIN first. > If you use TRSMAIN, zip is superfluous, perhaps even harmful. If you use TRANSMIT, zipping on the PC saves disk space.
In either case, transfer between mainframe and PC using BINARY (type I) command. The main trick is getting the attributes correct on final transfer to mainframe. Easiest to preallocate the target data set. Else: You may want to use some or all of: quote site QUOTESOVERRIDE quote site DATASETMODE quote site CYLINDERS quote site filetype=SEQ quote site blksize=0 quote site recfm=FB quote site lrecl=80 (lrecl=1024, IIRC, for TRSMAIN). -- gil -- StorageTek INFORMATION made POWERFUL ---------------------------------------------------------------------- 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