View previous topic :: View next topic
|
Author |
Message |
umasankar.eee06
New User
Joined: 04 Sep 2008 Posts: 11 Location: chennai
|
|
|
|
Hi,
I have 2 files(file1, file2). I am comparing dept1 of file1 and dept2 of file2, if those fields are equal then I need to display some fields from both of the files in sysout. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hello Uma,
please provide sample i/p & o/p along with record length & position of department field in both the file . |
|
Back to top |
|
|
umasankar.eee06
New User
Joined: 04 Sep 2008 Posts: 11 Location: chennai
|
|
|
|
Hi Gupta,
File1 has 4fields, in that dept1 position is 15 and the file2 has 3fileds i that dept2 position is 5. IF dept1 = dept2 then we need to display the dept in sysout. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Umasankar,
Can you please post here some sample recs as well as the sort product info- DFSORT/SYNCSORT?
Thanks,
Arun |
|
Back to top |
|
|
|