Search unanswered questions...
Enter a question here...

How do you create matching on multiple keys in Easytrieve?

[Edit]

Define the keys in both input files:

FILE INFILE1
AKEY1 1 4 A
AKEY2 5 9 A
AKEY3 14 9 A
AKEY4 31 1 A
AKEY5 23 8 A

FILE INFILE2
BKEY1 159 4
BKEY2 1 9
BKEY3 10 9
BKEY4 19 1
BKEY5 151 8

...

JOB INPUT (INFILE1 KEY (AKEY1 AKEY2 AKEY3 AKEY4 AKEY5) +
INFILE2 KEY (BKEY1 BKEY2 BKEY3 BKEY4 BKEY5))+
START BEGINNING FINISH ENDING
*
*** KEY EXISTS IN BOTH FILES
*
IF MATCHED
MTCH-CNT = MTCH-CNT + 1

.....

Improve Answer Discuss the question "How do you create matching on multiple keys in Easytrieve?" Watch Question

First answer by ID2747212030. Last edit by ID2747212030. Question popularity: 1 [recommend question]

Research your answer:

Answers.com > Wiki Answers > Categories > Technology > Computers > How do you create matching on multiple keys in Easytrieve?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
Cannot hold multiple keys?