Tell me Wt main advantage of Stage varibles?
Project level hints?
Answers were Sorted based on User's Feedback
Answer / ramjanaki
The main advantage of Stage Variables is to reduce the
repetition of the code for all the required columns in the
Transformer.
Say for Example, if you are having 10 lines of code to
be used for all the derivations of columns in the
transformer, we declare a Stage variable once and we assign
these 10 lines of code to that variable and can place this
Stage variable where ever needed in the derivation of the
columns in the Transformer Stage. Th scope of these
variables is limited with in the stage it is created.
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / pavan
The simple meaning of a stage variable is just like a
global variable.During processing the execution starts with
stage variables then contraints and then to individual
columns.If ever there is a prerequsite formulae which can
be used by both contraints and also individual columns then
we can define it in stage varaibles so that it can be
processed once and can be used by multiple records.If ever
we require the formulae to be modified for each and every
row then it is advisable to place in code in record level
than stage variable level
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / brajesh
1. it can be used as global variable
2. It can be used for some preproceesiing operation
required for some constarint or records(columns).
3.It can be used to store the previous rows processed data
which can be used by next coming row.( its one of the
programming tactic )
Also the order of stage variable matters , it will execute
in the order they apeared on its palate.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / giri
The advantage of stage variables mainly used for
manipulation purpose.
| Is This Answer Correct ? | 0 Yes | 4 No |
1)How will u implement SCD2 by using surrogate key. 2)What are the disadvantages with surrogate key. 3)How will you handle nulls in your project for the varchar, integer data types. 4)Can I use two fact tables in star schema. 5)3 jobs are running on the 2 nodes after I added one more node so can I compile those jobs to run on three nodes.
job locking methods? How can we unlock the job?
Why fact table is in normal form?
With out using Funnel Stage, how to populate the data from different sources to single target
Differentiate between datastage and informatica?
Is there any possibility to generate alphanumeric surrogate key?
Hi, I am getting data from sequential file like below column1 A&B C&D A&E X&Y&Z v&x But I need the target column as like below column1 A and B C and D A and E X and Y and Z v and x
Hai..,This Kiran . how to immlement SCD's through sequential file.please explain briefly.if nt ask me i will explain ,what i know.
in sequtial file 2 columns avaliable,iwant only one column load the target how do it.
What is usage analysis in datastage?
how to design the change capture stage in(data stage parallel jobs) type 2
Hi, what is use of Macros,functions and Routines..? At what situation you are used. If you know the answer please explain it. Thanks.