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 types of containers and how to create them?
What is the process of killing a job in datastage?
How do y read Sequential file from job control?
Terminate Activity
Why do we use link partitioner and link collector in datastage?
Highlight the main features of datastage?
What are the various kinds of containers available in datastage?
Difference between sequential file and data set?
What is ds designer?
what is ds administrator used for?
Explain entity, attribute and relationship in datastage?
Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.
If you want to use the same piece of code in different jobs, how will you achieve it?
How to reverse the string using unix?
what is the use of skid in reporting?