View previous topic :: View next topic
|
Author |
Message |
aniceg Warnings : 1 New User
Joined: 04 Apr 2008 Posts: 10 Location: chennai
|
|
|
|
I need to compare two PS files
The order of content is different in the two files
There is no key by which i can sort the file
I need to get the differences between two files but it should not show the difference in position as a difference
Can anyone of you please say me if it can be done superC |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi aniceg !
What was the result of your attempt to solve it via SuperC ???
Please let us know, thank's |
|
Back to top |
|
|
aniceg Warnings : 1 New User
Joined: 04 Apr 2008 Posts: 10 Location: chennai
|
|
|
|
It showed the difference in position also as a difference which i didnt want |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Helllo,
Sort both files into some arbitrary sequence (account, amount, and date for example). Then compare the files with superc. This will show the differences in the data and not the positon. |
|
Back to top |
|
|
aniceg Warnings : 1 New User
Joined: 04 Apr 2008 Posts: 10 Location: chennai
|
|
|
|
There is no unique field by which sorting can be done
So i need to compare without sorting |
|
Back to top |
|
|
souravmitra
New User
Joined: 19 Feb 2008 Posts: 3 Location: Kolkata
|
|
|
|
If you dont require the difference in position, then go for a search options as we used to find a particular string.
this suggestion is only valid if both the file contains almost same data only but not in same sequence.
If anyone has any better idea please share ..
if my understanding on your requirement is wrong please revert back. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
quoting fo clarity the starting message
Quote: |
I need to compare two PS files
The order of content is different in the two files
There is no key by which i can sort the file
I need to get the differences between two files but it should not show the difference in position as a difference
Can anyone of you please say me if it can be done superC |
superc will compare almost anything if the compare parameter are properly specified
superc is aimed at programming,
it will generate a report identifying
changed/inserted/deleted blocks of text,
it will generate, if specified, the IEBUPDTE control cards to update one dataset to the other one
so if You would please be more clear about the business requirement,
You might probably get better help
from the original request it might be inferred that You want to compare completely unrelated datasets,
it can be done, but the results would be of little value |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
There is no unique field by which sorting can be done
So i need to compare without sorting |
You have confused yourself. . .
You don't need a true sort key. You will make the compare possible by arranging the data in basically the same sequence. As is mentioned, sort both files on some arbitrary key of a few common data fields. If there is nothing in common at all between the files, there is no reason to compare them. . .
If you provide a better explannation of your requirement, we might make better suggestions. |
|
Back to top |
|
|
|