View previous topic :: View next topic |
Author |
Message |
SR22 Beginner
Joined: 18 Oct 2005 Posts: 4 Topics: 3
|
Posted: Tue Oct 18, 2005 1:49 pm Post subject: Matching 3 or more files using easytrieve |
|
|
Can somebody send me sample code showing how we can match 3 files using easytrieve ? Also can you point me to some manuals that explains how matching more than 3 files works ? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Oct 18, 2005 2:16 pm Post subject: |
|
|
Quote: |
Can somebody send me sample code showing how we can match 3 files using easytrieve ?
|
SR22,
Matching 3 files or more files in easytrieve is no different from matching 2 files. here is a sample code
Code: |
FILE FILE1
F1-KEY 01 001 A
FILE FILE2
F2-KEY 01 001 A
FILE FILE3
F3-KEY 01 001 A
FILE FILE4
F4-KEY 01 001 A
JOB INPUT (FILE1 KEY (F1-KEY) +
FILE2 KEY (F2-KEY) +
FILE3 KEY (F3-KEY) +
FILE4 KEY (F4-KEY))
IF MATCHED
processing if all the 4 files match
ELSE-IF FILE1 AND FILE2 AND FILE3
processing if file1 and file2 and file3 match
ELSE-IF FILE2 AND FILE3 AND FILE4
processing if file2 and file3 and file4 match
ELSE-IF all possible combinations you want to check
END-IF
|
Quote: |
Also can you point me to some manuals that explains how matching more than 3 files works ?
|
As for the manuals click on the quick manuals link at the top of this page and select the easytrieve section and you will find the application programming guide. It is a PDF manual , so you need adobe reader inorder to access it.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
SR22 Beginner
Joined: 18 Oct 2005 Posts: 4 Topics: 3
|
Posted: Tue Oct 18, 2005 2:23 pm Post subject: Re: |
|
|
Thanks Kolusu for the example |
|
Back to top |
|
|
|
|