You are on page 1of 2

RPG Matching Record Logic

Read Primary Record Read Secondary Record

Primary Field <= Secondary Field?

No

Store Secondary Matching Field

Yes

Store Primary Matching Field

Primary Field = Secondary Field?

Yes

B (pg 2)

No

No

Primary Field < Secondary Field?

Yes

Process Secondary Record

Process Primary Record

Read Next Secondary Record

Read Next Primary Record Page 1 of 2

RPG Matching Record Logic


Matching Record Condition Exists (MR is ON)
B

Process Primary Record

Read Next Primary Record

Does Primary Match?

Yes

No

Process Secondary Record

Yes

Read Next Secondary Record

Does Secondary Match?

No

A (pg 1) Page 2 of 2

You might also like