how to define satge variables in transformer stage
Answer Posted / dilip anand k
The stage variables are those variables that can be used
and declared on our own inside the transformer stage. These
are accessible only from the transformer stage in which
they are declared.
Any Stage variables we declare are shown in a table in the
right pane of the links area.
Defining the Stage Variable:
Select Insert New Stage variable from the stage variable
shortcut menu. A New variable is added in the table showing
the stage variables in the links area. The default name
given would be StageVar with the default datatype Varchar
(255). These properties can be edited using the Transformer
stage properties dialog box.
To Open the Transformer Stage Properties box
*Click on the stage properties button on the transformer
toolbar.
*Select the stage properties from the shortcut menu
*Select Stage variable properties from the stage variable
shortcut menu
The Properties box contains the Variable Name, Initial
Value, SQL data type, Precision, Scaling and Description
(optional).
Edit the variable as required and Click OK.
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
What are the different type of jobs in datastage?
EXPLAIN SCD
What is the difference between operational data stage (ods) and data warehouse?
What are data elements?
What is the command line function to import and export the ds jobs?
how to delete one row in target dataset
Differentiate between Join, Merge and Lookup stage?
Does datastage support slowly changing dimensions ?
What are the types of views in datastage director?
What are the functionalities of link partitioner?
Have you have ever worked in unix environment and why it is useful in datastage?
What are the different plug-ins stages used in your projects?
what is flow of project?
What is data partitioning?
Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC