Avoid hardcoding - parameters and variables
When you work on any technology, it is always advisable that your code is dynamic. This means you should use hardcoded values as little as possible in your code. It is always recommended that you use parameters or variables in your code so that you can easily pass these values and need not frequently change the code.
We will discuss this concept in more detail in the Parameter file - parameters and variables section in Chapter 9, Advanced Features of Workflow Manager Screen.
In this section, we will discuss how to use parameters and variables in the PowerCenter Designer screen.
The value of a variable can change between session runs. The value of a parameter will remain constant across session runs. The difference is very minute, so you should define the parameter or variable properly, as per your requirements.
Consider a Filter Transformation where you have defined the filter condition as LOCATION='USA'
. Since you have used a hardcoded value in the...