View previous topic :: View next topic
|
Author |
Message |
srini1528 Currently Banned New User
Joined: 25 Apr 2007 Posts: 13 Location: INDIA
|
|
|
|
Hi,
Can anyone help me regarding eazytreive compare to compare two files based on specific fields. The fields must be compared case sensitive.
Its a urgent. Help pls.
Regards,
G.S. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
The fields must be compared case sensitive. |
All character field compares are case sensitive (meaning that "Case" is not = "CASE").
What do you mean by compared? Are you trying to match 2 files by some key? If you provide a better definition of your requirement, we can better offer suggestions. Posting sample data from the 2 files and how you want this code to work will help us help you.
Quote: |
Its a urgent. Help pls. |
Please do not use urgent. It really does you no good. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Something like this?
Quote: |
The INPUT parameter of the JOB statement designates files and their keys for synchronized file input. The exhibit below illustrates a variety of synchronized file and key combinations:
|
Code: |
FILE FILE1 ...
KEY1A 1 5 A
...
FILE FILE2 ...
KEY2A 24 5 A
...
...
JOB INPUT(FILE1 KEY KEY1A +
FILE2 KEY KEY2A) |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
The INPUT parameter of the JOB statement designates files and their keys for synchronized file input. |
If that actually is the requirement. . .
Maybe we'll see what needs to be compared and how case sensitivity comes into the requirement. . . . |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Srini1528 wrote:
Quote: |
HI,
I want to compare two files,
Eg:
File1
AA
BB
CC
DD
xx
File2
aa
bb
cc
dc
ee
FF
I want to compare the two files and result must be like upper case must return a count value and lower case must return a count value.
I think u will get it.
Regards,
G.S.
|
So far, i haven't gotten it.
Please explain the relationship between the 2 files - they don't have any values in common. . . Also, please post what the output from this process should be. That will probably help us help you. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Srini1528 wrote: |
I want to compare the two files and result must be like upper case must return a count value and lower case must return a count value. |
Am I missing something or is this making less sense than before?
Quote: |
I think u will get it. |
I have to agree with Dick, I haven't gotten it either...... |
|
Back to top |
|
|
|