View previous topic :: View next topic
|
Author |
Message |
kiranps
New User
Joined: 03 Nov 2005 Posts: 6
|
|
|
|
Hi,
I am trying to match 2 files in eztrieve.
File 1 contents:
1
2
3
4
5
6
7
10
File2 contents:
1
1
1
1
1
7
7
10
10
10
I wany my output to be:
1
1
1
7
7
10
10
10
Currently i am using the following matched logic:
Code: |
If Matched
output variable = file2-variable
counter=counter+1
if counter < 4
put fileout
end-if
end-if |
I am initializing the counter to zero after the logic goes out of if matched loop.
Please help. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
So, what is the problem?
Are you able to check the EZT manual? |
|
Back to top |
|
|
kiranps
New User
Joined: 03 Nov 2005 Posts: 6
|
|
|
|
Hi,
The problem is i am getting the output as :
1
1
1
instead of the desired output. I am new to easytrieve. Checked some manuals too, but they all talk about the simple matched logic.
Please help. |
|
Back to top |
|
|
|