[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=
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
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
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
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
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
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
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| ,
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
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
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
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
@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
: 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
@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
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
: 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
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
18 matches
Mail list logo