Creating variables and parameters
In this recipe, we will extend the functionality of our Hello World dataflow (see the Understanding the Designer tool recipe from Chapter 2, Configuring the Data Services Environment). Along with the first row saying "Hello World!", we will generate the second row, providing you with the name of the Data Services job that generated the greetings.
This example will not just allow us to get familiar with how variables and parameters are created but also introduce us to one of the Data Services functions.
Getting ready
Launch your Designer tool and open the Job_HelloWorld
job created in the previous chapter.
How to do it…
We will parameterize our dataflow so that it can receive the external value of the job name where it is being executed, and create the second row accordingly.
We will also require an extra object in our job, in the form of a script that will be executed before the dataflow and that will initialize our variables before passing their values to the...