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 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 in C or maybe Java. But what sort of output would be appropriate? Simply
> saying something like "record #5 differs". Or do you want something more
> complicated which would be more like the output from the UNIX "diff"
> command? In this latter case, I would probably have my program do some sort
> of "encoding" of the binary data into lines of "text" which diff could then
> compare.
>
>
> On Thu, Aug 15, 2013 at 8:56 AM, Ron Thomas <ron5...@gmail.com> 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.
> >
> > 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 IT2-LNG  PIC X.
> >
> > Here now we are planning to increase from 1500 to 2000 , so here after
> > modification how we can compare the files as this a binary data ( ie 1500
> > *8) information is embedded here.
> >
> > Thanks
> > Ron T
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
>
>
> --
> As of next week, passwords will be entered in Morse code.
>
> Maranatha! <><
> John McKown
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to