GeekInterview.com
Series: Subject:

DataStage FAQ

Showing Questions 1 - 20 of 172 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

How to get top five rows in datastage?

Asked By: naveen.chinthala | Asked On: Jan 3rd, 2013

How to get top five rows in datastage? I tried to use @inrownum,@outrownum system variables in transformer..But they are not giving unique sequential numbers for every row...Please help! thanks in advance!!

Answered by: jackie06 on: May 21st, 2013

Use stage variables and build a counter like
svCounter + 1 => svCounter
and then you build a condition to your output link svCounter = 5

Answered by: MallikarjunaG on: Jan 7th, 2013

The answer to this depends on the source from where you are trying to extract. If the source in your case is a file, then we can use "Read first rows" property of Sequential file stage and specify 5...

What is host name in datastage?

Asked By: skjilani29 | Asked On: Mar 6th, 2013

Answered by: ysubba on: Mar 21st, 2013

nothing but server name

Remove leading zero

Asked By: goodfriendsri | Asked On: Dec 19th, 2010

How to remove leading zeros in data and transform data to target?

Answered by: karn khera on: Feb 28th, 2013

TRIM(0,.,A) It will remove 0s all occurance after .

Answered by: manish_toy on: Feb 21st, 2012

In Transformer stage use DecimalToString() function and in the argument use"suppress Zero". The leading zeros will be suppressed.

Dataset in UNIX

Asked By: manoharkolukula | Asked On: Jan 25th, 2008

How to see the data in the dataset in UNIX. What command we have to use to see the data in dataset in UNIX?

Answered by: karn khera on: Feb 23rd, 2013

The command which must be used is orchadmin dump datasetname(without quotes). But before that run this command "cd `cat/.dshome`dsenv" without quotes. The reason is: cd `cat/.dshome`-> This will cha...

Answered by: Saravanan Mani on: Jun 20th, 2012

orchadmin rm datasetname

Diff between userdefined environment variables and parameter sets

Asked By: google_yahoo | Asked On: Dec 28th, 2012

Hi all, pls let me know the purpose of using user defined environment variables and parameters sets

Answered by: MallikarjunaG on: Jan 7th, 2013

An user defined environment variable is a place holder to store a value that can used in the entire project. Parameter set is new time saving feature added in DataStage 8x. Parameter set is set of jo...

Purpose of using user defined environment variables and parameter sets

Asked By: google_yahoo | Asked On: Dec 28th, 2012

What is the purpose of using user defined environment variables and parameter sets. I m little bit confused. Could any one explain me in detail.?

Transformer order of execution

Asked By: rajeshdhannawat1 | Asked On: Aug 21st, 2008

What is the order of execution in the transformer?

Answered by: amarnath on: Oct 15th, 2012

what is

1.Stage variables
2.Constraints
3.Derivations

Answered by: AMIT on: Jun 21st, 2012

Order of execution
1. Stage variable
2. Constraints
3. Derivations

How to use excel file as input in datastage??

Asked By: Sowmya | Asked On: Apr 21st, 2006

Answered by: joel on: Jun 20th, 2012

The above answer is wrong. Please follow the steps below to load the excel in dataastage :- first open excel sheet and open->saveas-> then save the file as .csv extension while importing u have to s...

Answered by: srinu5077 on: Jan 4th, 2012

I did same as step1, but when i import the metadata it asking username and password, when press ok button it shows NO MATCHES FOUND, pls help me

Thank you
Regards
Srinivas

Src records

Asked By: swapna | Asked On: Nov 8th, 2011

Src has 1 record I want 10records in target how is it possible ? Plz explain me ?

Answered by: subbu on: Apr 13th, 2012

source-copy stage take ten out links from copy stage-link it to funnel stage-sequential file in this way we can get 10 records in output

How to recompile the job automatically when the job failed to compile?

Asked By: sandy123123 | Asked On: Apr 26th, 2007

Answered by: Seio on: Feb 25th, 2012

I'm interested in this answer because for any reason my jobs appear not compile after I begin the execution and I need an automatic process that auto compile the jobs when it founds uncompiled.

Thanks.

Answered by: nikhilanshuman on: Mar 19th, 2010

If the job failed to compile, there must be some problem with the job.
If the problem is not fixed then no matter how many times it is recompiled, the compilation will fail each time.
Automatic recompileoption does not seem to be there in datastage.

Join stage reject records

Asked By: nag_sree | Asked On: Feb 17th, 2011

How to get the reject records from join stage?

Answered by: AvelinCorreia on: Feb 23rd, 2012

If you want rejected records also, you need to use an outer join so that all the records are carried forward and then youll need to use next stage as a transformer. In the transformer, you can use appropriate condition in the constraints and redirect the unwanted records to a sequential file.

Answered by: Bharath on: Feb 14th, 2012

Outside the join stage, you can put a filter to filter out the records having null values for the columns coming from right part of the join

Transformer stage compilation error in ascential datastage 7.5, windows XP

Asked By: MrReddy | Asked On: Feb 8th, 2012

Hi, i have installed the datastage 7.5 in XP operating system, also installed visual studio .Net 2008 for C++ compiler. But when trying to compile the datastage job which contain the transformer stage, I am unable to compile. below warning I am getting: warning: the pwd environment variable is not...

Nodes

Asked By: gantaravindranath | Asked On: Jun 1st, 2010

Where do you specify nodes for datastage jobs?

Answered by: srinivas on: Jan 30th, 2012

Node is nothing but an identified by the number of nodes on which parallel jobs can run r not

Answered by: j.padma89 on: Jul 17th, 2011

in app config file which will be named as default.apt

How to connect from client machine to UNIX server in datastage?

Asked By: amarnreddy09 | Asked On: Oct 23rd, 2007

Answered by: vjviji86 on: Jan 30th, 2012

I work on Datastage 8.1 ...Most of the Clients framework prefers Connect DirectProtocol when compared to SFTP?

Answered by: nikhilanshuman on: Mar 17th, 2010

In Datastage there are the client components like Designer, Manager, Director.When you open these applications, you are asked the user id, password and the Project name to which to want to connect.The...

What is the difference between a filter and a switch stage ?

Asked By: infinity | Asked On: Feb 28th, 2007

Answered by: kaps3157 on: Jan 24th, 2012

Both stages functionality and responsibilities is same. But the difference way of execution like.. In filter stage, we have to give the multiple conditions, on multiple columns. But every time data ...

Answered by: nikhilanshuman on: Dec 25th, 2009

A switch stage can have maximum 128 output links.A filter stage can have any number of output links.

Flat file as source

Asked By: murali.d | Asked On: Dec 30th, 2010

How to extract your flat files using sequntial file or dataset? From where to get these flat files as source?

Answered by: manish parashar on: Jan 10th, 2012

Flat files can be accessed from unix by using sequential file stage. For example if we are having csv file . we can give the path in the sequential stage for this file and we can access the file directly.

All the user defined environmental variables and assignee values for it. But encrypted ie password I am not able to read. If it reads only in the server job it is able to read. Not from the sequencer....

Asked By: James | Asked On: Mar 23rd, 2006

Answered by: glaciya on: Dec 16th, 2011

Please check your language, it may be the language of your computer did not match your servers language.

Lookup stage

Asked By: sujan544 | Asked On: Apr 22nd, 2010

What is meant by lookup stage?

Answered by: shri on: Oct 18th, 2011

Lookup stage is similar as join stage,what ever the records from source to target we can use by using lookup, join and in the lookup we have reject link option and join doesn't have reject link option.

Answered by: j.padma89 on: Jul 17th, 2011

Look up stage is used to join dataset which has similar functionality of join stage with some extras.
the difference between join and look up is here
http://www.geekinterview.com/question_details/82179
Hope it helps !

Data granularity

Asked By: manju_thanneeru | Asked On: Jul 13th, 2010

What is data granularity? Explain.

Answered by: shri on: Oct 18th, 2011

I am adding one more point to the above answer.Granularity refers to the level of detail of the data stored in any table .
Example :- Year > Month> Week> Day > Hour

In the same manner in real time project also have granularity in the data.

Answered by: nikhilanshuman on: Dec 9th, 2010

Granularity refers to the level of detail of the data stored fact tables in a data warehouse. High granularity refers to data that is at or near the transaction level. Data that is at the transactio...

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.