Re: FTP's

2009-04-29 Thread Wilkins, Mike
Technology Group -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Mark Steely Sent: Tuesday, April 28, 2009 2:19 PM To: IBM-MAIN@bama.ua.edu Subject: FTP's We are z/OS V1R9. I have a customer you is trying to ftp a file from a Unix machine do

Re: FTP's

2009-04-28 Thread Kirk Wolf
On Tue, Apr 28, 2009 at 4:59 PM, Kirk Wolf wrote: >  cp /path/to/unix/file | todsn -l 0x05 //DD:DOWNLOAD > Correction: you would need to use "-l 0x09" since this switch specifies the line terminator in the source codepage (ASCII). -

Re: FTP's

2009-04-28 Thread Kirk Wolf
On Tue, Apr 28, 2009 at 4:20 PM, John McKown wrote: > > If you have Co:Z installed, you can do this very simply: > > //CONVERT EXEC DTLSPAWN > //STDOUT DD SYSOUT=* > //STDERR  DD SYSOUT=* > //STDIN DD * > fromdsn "//DD:INPUT" | tr '\t' '\n' | todsn "//DD:OUTPUT" > /* > //INPUT DD DSN=crappy.file.f

Re: FTP's

2009-04-28 Thread Paul Gilmartin
On Tue, 28 Apr 2009 16:20:01 -0500, John McKown wrote: >On Tue, 28 Apr 2009 15:50:11 -0500, Mark Steely wrote: > >>The file is just an ASCII txt file - instead of having new line at the >>end of each record it has a x'05'. >> How did that ever happen, anyway? >Then you have no problem! You have a

Re: FTP's

2009-04-28 Thread John McKown
On Tue, 28 Apr 2009 15:50:11 -0500, Mark Steely wrote: >The file is just an ASCII txt file - instead of having new line at the >end of each record it has a x'05'. > Then you have no problem! You have a single logical line on the UNIX system which is being transferred to the z/OS system as a sing

Re: FTP's

2009-04-28 Thread Mark Steely
ama.ua.edu Subject: Re: FTP's On Tue, 28 Apr 2009 14:19:02 -0500, Mark Steely wrote: >We are z/OS V1R9. I have a customer you is trying to ftp a file from a Unix machine down to the mainframe. The FTP is executing on the mainframe and is receiving the file. The file is delimited by x

Re: FTP's

2009-04-28 Thread Roger Bolan
I don't know if this idea will help you at all, but when people send me weird files I can split them up into records using CMS pipelines commands on my VM system. Something like this: PIPE < / | DEBLOCK LINEND 05 | > TEMP SPLIT A --Roger On Tue, Apr 28, 2009 at 1:19 PM, Mark Steely wrote: > We

Re: FTP's

2009-04-28 Thread Paul Gilmartin
On Tue, 28 Apr 2009 14:19:02 -0500, Mark Steely wrote: >We are z/OS V1R9. I have a customer you is trying to ftp a file from a Unix machine down to the mainframe. The FTP is executing on the mainframe and is receiving the file. The file is delimited by x'05'. The FTP does not recognize this and th

Re: FTP's

2009-04-28 Thread Hal Merritt
This is a *nix issue. Affects other platforms, not just IBM z/os FTP. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Mark Steely Sent: Tuesday, April 28, 2009 2:38 PM To: IBM-MAIN@bama.ua.edu Subject: Re: FTP's Where and what ch

Re: FTP's

2009-04-28 Thread John McKown
On Tue, 28 Apr 2009 14:19:02 -0500, Mark Steely wrote: >We are z/OS V1R9. I have a customer you is trying to ftp a file from a >Unix machine down to the mainframe. The FTP is executing on the >mainframe and is receiving the file. The file is delimited by x'05'. The >FTP does not recognize this an

Re: FTP's

2009-04-28 Thread Richard Peurifoy
Mark Steely wrote: We are z/OS V1R9. I have a customer you is trying to ftp a file from a Unix machine down to the mainframe. The FTP is executing on the mainframe and is receiving the file. The file is delimited by x'05'. The FTP does not recognize this and the file comes across and is strung

Re: FTP's

2009-04-28 Thread Mark Steely
Where and what changes ? We are new to IBM FTP process. Thank You -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Hal Merritt Sent: Tuesday, April 28, 2009 2:28 PM To: IBM-MAIN@bama.ua.edu Subject: Re: FTP's Have the

Re: FTP's

2009-04-28 Thread Hal Merritt
Have the *nix administrator change the FTP configuration. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Mark Steely Sent: Tuesday, April 28, 2009 2:19 PM To: IBM-MAIN@bama.ua.edu Subject: FTP's We are z/OS V1R9. I have a custome

FTP's

2009-04-28 Thread Mark Steely
We are z/OS V1R9. I have a customer you is trying to ftp a file from a Unix machine down to the mainframe. The FTP is executing on the mainframe and is receiving the file. The file is delimited by x'05'. The FTP does not recognize this and the file comes across and is strung together. Is there a wa