Data Transformation Engine Design Studio Tutorial
Chapter 8 - Using the CHOOSE Function Raffle Map
Design Studio Tutorial
178
Raffle Map
Create a map source file called Raffle that uses the prizes and winner files as
inputs.
Create the RaffleCongrats executable map to use two input cards. Sources for
these cards are:
♦ The source of input card #1 PrizesFile is the prizes.txt input data file that
contains a list of the prizes for each place.
♦ The source of input card #2 WinnersFile is the winners.txt input data file
that contains the list of winners in order based on the prize won.
The RaffleCongrats executable map has one output card that specifies creation
of the F_Congratulate functional map.
♦ The data target for output card #1 CongratulationsFile is the
Congratulate.txt file.
♦ The map rule on the CongratulationsRecord data object specifies creation of
the F_Congratulate functional map and uses the
CHOOSE function.