IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Query regarding easytreive compare?


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srini1528
Currently Banned

New User


Joined: 25 Apr 2007
Posts: 13
Location: INDIA

PostPosted: Mon Apr 21, 2008 10:11 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Apr 21, 2008 10:20 pm
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Apr 21, 2008 10:28 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Apr 21, 2008 11:06 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Apr 23, 2008 1:11 am
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Apr 23, 2008 1:36 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
Search our Forums:

Back to Top