cancel
Showing results for 
Search instead for 
Did you mean: 

DS 4.2 no match score substitution parameter based on global variable

brad_schroeter2
Explorer
0 Kudos

I have a DS 4.2 batch job which has a groupx (group1 - group5) global variable to be passed as a parameter to determine source records pulled and which target tables to populate.  However the groups need to have a different no match score for vendor name:

-group1 - group4: vendor name no match score = 60

-group5: vendor name no match score = 99

I can see the no match score can reference a substitution parameter but what's the best way to populate a substitution parameter based on a global variable prior to the match?

Thanks...

Accepted Solutions (1)

Accepted Solutions (1)

former_member106536
Active Participant
0 Kudos

I might suggest setting up 5 matches with the 5 no match scores and use a case on your global variable to determine which one is executed.

There are several ways to parameterize the substitution variables, but it tends to involve quite a bit of work.  If you do a search you should be able to find some guidance on this. 

brad_schroeter2
Explorer
0 Kudos

Joshua - thanks for the reply.  I would prefer to have 1 match (common code) if at all possible.

Answers (0)