Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-24 Thread McKown, John
[snip] The Internet has a standard record separator of CRLF. In theory, that sho= uld avoid all these incompatibilities. However, if you use Binary FTP transfer, then all bets= are off. And some Unix programs use LF instead of CRLF, on the assumption that everything in the=

Re: PIPELINES and Deblocking

2008-07-24 Thread Alan Altmark
On Thursday, 07/24/2008 at 01:29 EDT, Alan Ackerman [EMAIL PROTECTED] wrote: The Internet has a standard record separator of CRLF. In theory, that should avoid all these incompatibilities. However, if you use Binary FTP transfer, then all bets are off. And some Unix programs use LF instead

Re: PIPELINES and Deblocking

2008-07-24 Thread Alan Ackerman
I too have spent time writing code to deblock files with various delimite rs. Darn waste of time! Some hardware devices LF just moved the platen up one, while CR moved the head back to the left margin. I don't know why Unix used NL (==LF) instead. Perhaps a different har dware device? I'm even

Re: PIPELINES and Deblocking

2008-07-24 Thread David Boyes
I don't know why Unix used NL (==LF) instead. Perhaps a different har dware device? One reason (probably not the only one, but one): Bare CR on the model of DECwriter commonly shipped as PDP-11 console terminals tended to foul the ribbon, especially if you issued it from 40 character

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-23 Thread Alan Ackerman
On Wed, 9 Jul 2008 10:25:53 -0400, [EMAIL PROTECTED] [EMAIL PROTECTED] ftware.com wrote: Jim, it looks like you have a Mac user to deal witharen't they a pain? :- ) Windows record termination: x'0d0a' Unix record termination: x'0a' Mac record termination: x'0d' And, of course, mainframes

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-23 Thread Alan Ackerman
On Wed, 9 Jul 2008 12:52:54 -0400, Hughes, Jim [EMAIL PROTECTED] wr ote: Adam is pretty sensitive isn't he? I wish someone would create a WHOPPER to compete with a MAC. There is hope for the MAC users yet. The hackers have decided there are enough MAC's around to start creating viruses

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-10 Thread Rob van der Heij
On Wed, Jul 9, 2008 at 4:23 PM, Thomas Kern [EMAIL PROTECTED] wrote: How about changing all '0d0a' to '0a' and all '0d' to '0a' and then you have one case to handle? You may end up with the x0d on one record and the x0a on the next record, so you would need also a joincont leading x0a before

PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-09 Thread Hughes, Jim
I download files to our Z/VM system in binary. The files on the windows ftp server are in ascii. Then I run a PIPE to deblock the file and convert to ebcidic. Here is a snippet: address command PIPE ( endchar ? ) , !workfile| ,

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-09 Thread [EMAIL PROTECTED]
Subject: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve) I download files to our Z/VM system in binary. The files on the windows ftp server are in ascii. Then I run a PIPE to deblock the file and convert to ebcidic. Here is a snippet: address command PIPE ( endchar

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-09 Thread Hughes, Jim
of fun to do the impossible. (Walt Disney) =-Original Message- =From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On =Behalf Of [EMAIL PROTECTED] =Sent: Wednesday, July 09, 2008 10:07 AM =To: IBMVM@LISTSERV.UARK.EDU =Subject: Re: PIPELINES and Deblocking(Cross posted

PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-09 Thread Phil Smith III
Jim Hughes wrote: I download files to our Z/VM system in binary. The files on the windows ftp server are in ascii. snip This works fine when the records are delimited by '0d0a' or '0a'. Last night I received a file whose records are delimited by '0d'. Things broke because the file wasn't

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-09 Thread Thomas Kern
How about changing all '0d0a' to '0a' and all '0d' to '0a' and then you have one case to handle? /Tom Kern Hughes, Jim wrote: A previous file I encountered uses '0A' as the record delimiter. This whackjob file uses '0D' as the record delimiter. I have the '0d0a' and '0a' cases covered. Now I

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-09 Thread Hughes, Jim
@LISTSERV.UARK.EDU =Subject: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve) = =Jim Hughes wrote: =I download files to our Z/VM system in binary. The files on the windows =ftp server are in ascii. = =snip =This works fine when the records are delimited by '0d0a' or '0a'. = =Last night I

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-09 Thread [EMAIL PROTECTED]
: Hughes, Jim [EMAIL PROTECTED] Date: Wed, 9 Jul 2008 10:13:24 -0400 To: IBMVM@LISTSERV.UARK.EDU Subject: Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve) A previous file I encountered uses '0A' as the record delimiter. This whackjob file uses '0D' as the record delimiter. I have

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-09 Thread Hughes, Jim
@LISTSERV.UARK.EDU =Subject: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve) = =Jim Hughes wrote: =I download files to our Z/VM system in binary. The files on the windows =ftp server are in ascii. = =snip =This works fine when the records are delimited by '0d0a' or '0a'. = =Last

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-09 Thread Adam Thornton
On Jul 9, 2008, at 9:25 AM, [EMAIL PROTECTED] wrote: it looks like you have a Mac user to deal witharen't they a pain? :-) ... So simply ban the use of Macs there and your problem is solved. Dear Dave, Bite me. Sincerely, Adam

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-09 Thread Schuh, Richard
: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve) On Jul 9, 2008, at 9:25 AM, [EMAIL PROTECTED] wrote: it looks like you have a Mac user to deal witharen't they a pain? :-) ... So simply ban the use of Macs there and your problem is solved. Dear Dave, Bite

Re: PIPELINES and Deblocking(Cross posted in CMSPIPELINES Listserve)

2008-07-09 Thread Brian Nielsen
On Wed, 9 Jul 2008 12:52:54 -0400, Hughes, Jim [EMAIL PROTECTED] wrote: Adam is pretty sensitive isn't he? I wish someone would create a WHOPPER to compete with a MAC. The computer in the movie War Games was called the WOPR. Brian Nielsen