] comparing binary file
On Thu, 15 Aug 2013 17:24:43 +0300, Itschak Mugzach wrote:
Or sort with omit duplicates...
Ummm ... Suppose File 1 is:
A
B
And File 2 is:
B
A
Merged and sorted is:
A
A
B
B
Eliminating duplicates gives:
(nothing
On Sun, 18 Aug 2013 15:48:17 -0700, Ron Hawkins wrote:
A
B
Just omit the duplicates, but keep the 1st one...
On Thu, 15 Aug 2013 17:24:43 +0300, Itschak Mugzach wrote:
Or sort with omit duplicates...
Sorting would seem to be counterproductive when comparing files.
Two files which differ
]
On Behalf Of Paul Gilmartin
Sent: Sunday, August 18, 2013 4:45 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: [IBM-MAIN] comparing binary file
On Sun, 18 Aug 2013 15:48:17 -0700, Ron Hawkins wrote:
A
B
Just omit the duplicates, but keep the 1st one...
On Thu, 15 Aug 2013 17:24:43
Hello.
We have bainary file that is send to unix box in that file there a mapping
data in which each byte represent data for 8 unix box.
The data defintion is of the below
01 IT2-REC.
03 IT2-LNG PIC 9(4) COMP.
--
03 MAP-DATA OCCURS 0 TO 1500
DEPENDING ON
What sort of output do you want from your compare? If you just want to know
if the two files have identical contents, then the UNIX cmp command will
tell you that. If you want to compare what would be logical records on
z/OS, they you'll need to write a program to do it. If it were me, I write
it
Or sort with omit duplicates...
ITschak
בתאריך 15 באוג 2013 17:22, מאת John McKown john.archie.mck...@gmail.com:
What sort of output do you want from your compare? If you just want to know
if the two files have identical contents, then the UNIX cmp command will
tell you that. If you want to
On Thu, 15 Aug 2013 08:56:52 -0500, Ron Thomas wrote:
Hello.
We have bainary file that is send to unix box in that file there a mapping
data in which each byte represent data for 8 unix box. ... , so here after
modification how we can compare the files as this a binary data ( ie 1500 *8)
On Thu, 15 Aug 2013 17:24:43 +0300, Itschak Mugzach wrote:
Or sort with omit duplicates...
Ummm ... Suppose File 1 is:
A
B
And File 2 is:
B
A
Merged and sorted is:
A
A
B
B
Eliminating duplicates gives:
(nothing!)
-- gil
Eliminating duplicates gives
A
B
Eliminating all duplicated values is a different and rare requirement.
Eliminating duplicate values ordinarily means that if there are d =
1 instances of a value v in a list, file, whatever, then d - 1 of
these values v are eliminated.
John Gilmore,
John,
Sort, at least on distibuted platforms, enables you to compare in a JOIN
like syntax where you can decide to keep OUTER (of the join) only. If all
records are duplicated, you'll get an empty file. else you'll get 1 or more
records in the outer condition. So, if the files goes to Unix, sort
10 matches
Mail list logo