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 ? | 11 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 |
Hi am sundar, i have datas like 00023-1010 00086-1010 00184F2-1010 . . . . SCH-AS-1010 200-0196-039 . . . Now i want the result "SCH-AS" in onee column and "1010" in another column.. Can any one tell the answer...
What r the existing server jobs in parallalism?
1.new record it will insert but changes of natural key is not present in taget i want to update (here key is composite natural key )can any one help this to explan how to do
I/p : F1 table have A,B,C,D,E and F2 table having C,E,V i need output 0utput1: ABD output2: V any one suggest me this
by using dsjob..we can run only one job at a time?how can u run multiple jobs at a time in unix?
1.what is materialized data? 2.how to view the materialized data?
Hi All, Could you please let me know whether Datastage server and px supports oredb? OREDB:It's a Oracle Retail Embedded Database.Previousely It was called as Acumate data base. It's a multidimensional database. Please help me on this issue ASAP. Thanks in advance Ashok
describe the Steps to confiure a Qlogic switch
How can we run same job in 1 day 2 times
Hi , Today 1000 records updated, tomorrow 500 records updated how to find that?
Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?
How we can convert rows to columns in datastage?