Henderson ;-)
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of fft2...@aol.com
Sent: Wednesday, November 10, 2010 9:01 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Reading a Unix file from another machine
If you read 56 bits you will be reading 8 bytes in 7-bit mode.
But you will also be reading 7 bytes in 8-bit mode.
So by reading 7 Ascii characters at a time out of your stream/file, you
should be able to re-chunk them into 8 characters by prepending a bit 0 on
the front of each 7-bit byte.
...@aol.com
Sent: Wednesday, November 10, 2010 8:37 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Reading a Unix file from another machine.
If you read 56 bits you will be reading 8 bytes in 7-bit mode.
But you will also be reading 7 bytes in 8-bit mode.
So by reading 7 Ascii
In a message dated 11/10/2010 4:55:04 AM Pacific Standard Time,
ggal...@wyanokegroup.com writes:
This sounds like a job for a quick perl routine.
Read the file in byte by byte, and AND it with 127, then write it
out byte by byte to a new file.
George
No George this will not work.
...@listserver.u2ug.org] On Behalf Of fft2...@aol.com
Sent: Wednesday, November 10, 2010 9:01 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Reading a Unix file from another machine.
In a message dated 11/10/2010 4:55:04 AM Pacific Standard Time,
ggal...@wyanokegroup.com writes
In a message dated 11/10/2010 5:03:26 AM Pacific Standard Time,
ggal...@wyanokegroup.com writes:
I understand the 7 bit method your talking about. But if you can
see the values in Vt100 term type, it's only stripping off the
8th bit? vs pushing the 8th bit to the front of the next byte?
In a message dated 11/10/2010 5:03:26 AM Pacific Standard Time,
ggal...@wyanokegroup.com writes:
I understand the 7 bit method your talking about. But if you can
see the values in Vt100 term type, it's only stripping off the
8th bit? vs pushing the 8th bit to the front of the next byte?
;-)
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of fft2...@aol.com
Sent: Wednesday, November 10, 2010 9:01 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Reading a Unix file from another machine.
In a message dated 11/10
Hi all,
I am trying to read a Unix file from and old aix machine. The people who
sent it will not bend in how they sent it.
What I got was in binary format so I used 'od' to convert it to ascii. When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!
I
a Unix file from another machine.
Hi all,
I am trying to read a Unix file from and old aix machine. The people who
sent it will not bend in how they sent it.
What I got was in binary format so I used 'od' to convert it to ascii. When
I tried to cat the file before trying to READSEQ records
Sent: Tuesday, November 09, 2010 5:05 PM
To: 'U2 Users List'
Subject: [U2] Reading a Unix file from another machine.
Hi all,
I am trying to read a Unix file from and old aix machine. The people
who
sent it will not bend in how they sent it.
What I got was in binary format so I used
: Tuesday, November 09, 2010 5:10 PM
To: U2 Users List
Subject: Re: [U2] Reading a Unix file from another machine.
was the original file in EBCDIC? otherwise why convert it to ascii?
Is it a directory structure written out as a binary file? Will cpio
read the file?
-Original Message
: Tuesday, November 09, 2010 5:09 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] Reading a Unix file from another machine.
Try using at the unix command line
String filename newfilenamer
This will strip out all control characters
- Original Message -
From: Roy Beard [mailto:r
another machine.
Sorry ... The command is strings Not string. Typing from a blackberry
- Original Message -
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:23 PM
To: 'U2 Users List' u2-users@listserver.u2ug.org
Subject: Re: [U2] Reading a Unix file from
, November 09, 2010 5:09 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] Reading a Unix file from another machine.
Try using at the unix command line
String filename newfilenamer
This will strip out all control characters
- Original Message -
From: Roy Beard [mailto:r
Sorry ... The command is strings Not string. Typing from a blackberry
- Original Message -
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:23 PM
To: 'U2 Users List' u2-users@listserver.u2ug.org
Subject: Re: [U2] Reading a Unix file from another machine
.
#
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble
Sent: Tuesday, November 09, 2010 5:09 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] Reading a Unix file from another machine.
Try using at the unix
...@listserver.u2ug.org] On Behalf Of Roy Beard
Sent: Tuesday, November 09, 2010 4:05 PM
To: 'U2 Users List'
Subject: [U2] Reading a Unix file from another machine.
Hi all,
I am trying to read a Unix file from and old aix machine. The people
who
sent it will not bend in how they sent it.
What I got was in binary
...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Baakkonen, Rodney
A (Rod) 46K
Sent: Tuesday, November 09, 2010 5:38 PM
To: U2 Users List
Subject: Re: [U2] Reading a Unix file from another machine.
Is AIX ebcdic? I use dd to convert files from ebcdic to ascii
Try /usr/bin/strings
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Roy Beard
Sent: Tuesday, November 09, 2010 4:23 PM
To: 'U2 Users List'
Subject: Re: [U2] Reading a Unix file from another machine.
NO joy!
# cd
...@listserver.u2ug.org] On Behalf Of Roy Beard
Sent: Wednesday, 10 November 2010 9:27 AM
To: 'U2 Users List'
Subject: Re: [U2] Reading a Unix file from another machine.
# cat master | more
°³üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M° üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M°µüªü·¶
üªü
ü ü ü ü ü ü ü M-^M°¶üªü·¶ üªüªü ü ü ü ü ü ü
...@listserver.u2ug.org] On Behalf Of Roy Beard
Sent: Tuesday, November 09, 2010 5:05 PM
To: 'U2 Users List'
Subject: [U2] Reading a Unix file from another machine.
Hi all,
I am trying to read a Unix file from and old aix machine. The people
who
sent it will not bend in how they sent it.
What I
Hi Roy,
What you need to do is to add a line feed LF char(10) to your carriage
returns char(13).
This can either be done at unix level by cat file | tr '\l' '\l\015' file2
(15 being the octal equivalent of 13)
or
programatically by
CHANGE(RECORD,CHAR(13),CHAR(10):CHAR(13),-1)
I don't have an AIX
If the binary file it truly 7 bit, try dos2unix -c 7bit master
newfile, then see if you can cat newfile.
rex
On Tue, Nov 9, 2010 at 7:28 PM, Adrian Overs u2u...@gmail.com wrote:
Hi Roy,
What you need to do is to add a line feed LF char(10) to your carriage
returns char(13).
This can either
24 matches
Mail list logo