how to define satge variables in transformer stage

Answers were Sorted based on User's Feedback



how to define satge variables in transformer stage..

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

how to define satge variables in transformer stage..

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

Post New Answer

More Data Stage Interview Questions

detail about sdlc

4 Answers  


CAN ANY ONE TELL ME THE ARCHITECTURE OF DATASTAGE CLEARLY....

2 Answers   Wipro,


How can we read latest records in a text file named file1.txt using seq file stage only? file1 having 100 records in that 5 record sare latest records.How can we read that latest records?

3 Answers   Caterpillar,


How can we improve performance of data stage jobs?

0 Answers  


What are transforms and what is the differenece between routines and transforms?

0 Answers  


cust id,cust quty like 1,101;1,102;1,103 i want output like cust id,cust quty 1 101,102,103 in oracle please write a query in oracle

3 Answers   TCS,


what is the difference between == and eq in UNIX shell scripting?

0 Answers   CTS,


what is the main differences between Lookup, Join and Merge stages?

9 Answers   HCL,


what is diff b/w datastage 8.1,8.5,8.7?

1 Answers   IBM,


How do you generate sequence number in datastage?

0 Answers  


how to read 100 records at a time in source a) hw is it fr metadata Same and b) if metadata is nt same?

0 Answers   HCL,


What is active and passive stage?

0 Answers  


Categories