how to define satge variables in transformer stage
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / mandru naganji
open transformer stage and in stage variable tab right click and add sv and define datatype and length
| Is This Answer Correct ? | 0 Yes | 0 No |
How to manage date conversion in Datastage?
Hi, My source is oracle(eno,ename,sal,commision,...), my requirement is like this, if there is a null values in commission col i want to keep it as null,and for the remaining first two characters of the value in my target. Plz help me
How to enter a log in auditing table whenever a job get finished?
on how many columns we can perform aggregation in the Aggregator stage?
how many types of remove the duplicate records?
how to clear the source file? 2) diff b/t odbc & Oracle?what is node? 3) explain one complex job u face in ur project
what is Audit table?Have u use audit table in ur project?
What is staging variable?
How can u write exception handling in seq file????
Describe routines in datastage? Enlist various types of routines.
How much data u can get every day? 2)which data ur project contains? 3) what is the source in ur project?what is the biggest table & size in ur schema or in ur project?
Why do we use exception activity in Datastage?