ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories >> Software >> Data-Warehouse
 
  Teradata (22)  Business-Objects (374)  Cognos (385)  Informatica (524)  Crystal-Enterprise-Suite (23)
  Actuate (19)  Ab-Initio (49)  Data-Stage (66)  SAS (273)  Micro-Strategy (8)
  ETL (136)  Data-Warehouse-General (148)
 


 

Back to Questions Page
 
Question
code the tables statement for a single level frequency?
Rank Answer Posted By  
 Question Submitted By :: Krishna
I also faced this Question!!   © ALL Interview .com
Answer
proc freq data=lib.dataset;
table var; *here you can mention single variable of multiple
                         
            variables seperated by space to get single     
       
            frequency;
run;
 
0
Rajaanku11
 
 
Question
wat is sas? is a package or programming language?
Rank Answer Posted By  
 Question Submitted By :: Krishna
I also faced this Question!!   © ALL Interview .com
Answer
SAS is an analysis software which independent.
Sas is package (or) collection of tools which is a domain
based softwares.
 
0
Rajaanku11
 
 
Answer
SAS is a tool which is built using JAVA as the programming 
language.
 
0
Vin
 
 
 
Question
wat has been most common programming mistake?
Rank Answer Posted By  
 Question Submitted By :: Krishna
I also faced this Question!!   © ALL Interview .com
Answer
i think the most common mistake in sas is putting the
semicolon (;) at the end of each statement
 
0
Abbaraju
 
 
Answer
Most of us would forget to put semicolon(;) at the end of 
sas statements
 
0
Vinodhini
 
 
Question
what is TAB delimiter? explain about it? what will you do to
get TAB delimiter?
Rank Answer Posted By  
 Question Submitted By :: Mallikarjuna Reddy.vanna
I also faced this Question!!   © ALL Interview .com
Answer
TAB delimiter is seperate variables and observtons
it is use in infile statement as dlm='09'x.

proc import and proc export use a delimiter statement'
delimiter='09'x;
 
0
Sankar
 
 
Answer
wn v r importing p\frm proc import frm xls.files
v use tab delimiters
it is used to set the spaces wn v r importing the xl sheet
 
0
Abhi
 
 
Answer
SAS reds the data from different files like .txt ASCII .xls 
etc. For this use INFILE statement. While using this 
statment we have to check the data formated in the related 
file, i.e some may space, coma, tabs. So, if the file 
contains TAB is the delimiter, we have to use 
DLM=TAB / '09'X,(note: this is for horizantal TAB) to get 
the observations in a defined format. (for Vertical TAb, 
DLM='021'X.
 
0
Pnprasad
 
 
Question
how to display duplicated observations in  a data using base
sas.
Rank Answer Posted By  
 Question Submitted By :: Hari
This Interview Question Asked @   HCL , Tcs, Tcs
I also faced this Question!!   © ALL Interview .com
Answer
we can find duplicated by using missover&scanover
 
4
Harish
 
 
Answer
hi, 
to display the dups in seperate  dataset please find the 
below program.

eg:
data dups;
input var1;
1
2
3
4
4
3
5
6
;
run;

/*to find the dups*/


data dups1;
set dups;
by var1;
if not(first.var1 and last.var1) then output;
run;

*now you can see the dups ;

If any one have any sas question please e.mail me to 

suresh.sasv9@gmail.com

thanks
suresh
 
4
Suresh Babu Prattipati
 
 
Answer
There are two ways to display duplicate observations.

1.In data step, using first.var and last.var

2.Using proc sort with option dupout option
 
0
Vinodhini
 
 
Answer
proc sort data=x out=y;
by v;
data m;
set y;
by v;
if first.v and last.v then delete;
run;


this is for extracting duplicate observations
from a dataset
 
0
Dilip
 
 
Answer
two ways u can do ot.
1. proc sort with dupout option.
2. data step:
   data nodups dups;
   set sample;
   by x;
   if first. and last. then output nodups;
   else output dups;
   run;
proc print data=dups;
run;
 
0
Aravind Rangaraj
 
 
Question
what is the main difference between rename and label? (don't
say that they both perform the same function).
Rank Answer Posted By  
 Question Submitted By :: Mallikarjuna Reddy.vanna
This Interview Question Asked @   Parexel
I also faced this Question!!   © ALL Interview .com
Answer
label : assigns descriptive  lables to variables.
  lables allows upto 256 characters.
rename : changes the name of the variable.
  rename allows upto 64 characters only.
 
0
Srilatha
 
 
Answer
Yes i support with srilath By use label option we can give 
discriptive names to the particular charcter upto length of 
256 character and it is can given either in datastep or 
proc step. 

Rename is used for changing the name given inthe existing 
dataset and it should not exceed 64 charcters and i can be 
given only in the datastep.
 
0
Ganesh
 
 
Answer
1. Label is global and rename is local i.e., label statement
can be used either in proc or datastep where as rename
should be used only in datastep.

2.If we rename a variable, old name will be lost but if we
label a variable its short name(old name) exists along with
it's descriptive name.
 
0
Rajaanku11
 
 
Answer
Even after labeling the variable,we must use old name for 
further analysis.
Where as after renaming the variable we must use new name.
 
0
Upendra
 
 
Answer
we can change the name of a variable using both rename and 
label options.
when we use label the change will be temporary i.e. only 
for printing purpose;
but, when we use rename option the change will be 
permanantly stored in the dataset.
and both the options can be used in both datastep and 
procstep.
 
2
Kiran
 
 
Answer
Rename takes only 64characters length it can be used either 
datastep or proc step and this rename is remains only for 
the particular session once u terminate the session rename 
options vanishes.
Label takes 256 characters length and its is a global 
statment we can specify a brief name and this will remain 
for long time untill & unless user delete or cancell the 
variable.
 
0
Ganesh
 
 
Answer
rename is permanently variable name changes
label is just disply purpose
 
0
Sss
 
 
Question
what is picture format? give any one example?
Rank Answer Posted By  
 Question Submitted By :: Mallikarjuna Reddy.vanna
This Interview Question Asked @   Parexel
I also faced this Question!!   © ALL Interview .com
Answer
picture format writes a template for numerics
proc format ;
picture sno 
   low -  -1  =  '00.00' 
   0-9='9.999'
   10-99='99.99'
   100-999='999.9'
   ;

When you specify zero as the digit selector, any leading 
zeros in the number to be displayed are shown as
blanks. When nine is specified as the digit selector, the 
leading zeros are displayed in the output.
 
0
Bitla
 
 
Answer
picture format is used to Create a template for printing 
numbers.
ex:
proc format  ;
picture nozeros  low -  -1  =  '00.00' (prefix='-')
               -1< - < 0  =  '99' (prefix='-.' mult=100)
                0 - < 1  =   '99' (prefix='.'  mult=100)
                1 - high  =  '00.00';
run;
 
0
Aravind Rangaraj
 
 
Question
Ranking feature was not available in WEBI 6.5 version,So 
how can we get ranking in WEBI 6.5 version?
Rank Answer Posted By  
 Question Submitted By :: Esreddy220
I also faced this Question!!   © ALL Interview .com
Answer
no we cannot peroform ranking in webi6.5
 
0
D
 
 
Question
What is the Computation error? how to solv it?
Rank Answer Posted By  
 Question Submitted By :: Esreddy220
I also faced this Question!!   © ALL Interview .com
Answer
The computation error is related to the misuse of context
operators in formula
 
1
Kvchowdary
 
 
Question
how can we improve performance of the reports?
Rank Answer Posted By  
 Question Submitted By :: Swamy Narayan
I also faced this Question!!   © ALL Interview .com
Answer
Follow this Steps

1. Dont use the Not in function in the query.
2. Check the Governor Settings.
3. Check the table qualifying and weighting.
4. Check the client/server balancing.
5. Avoid using complex calculations
 
4
Shree Uday
 
 
Answer
avoid complex report
check filter condition,use less filter
avoid unwanted calculation
 
0
Karti
 
 
Answer
TO improve the performence of the report move all the 
calculations and filters from report level to the frame 
work manager.
 
0
Thakkalapelly Anil
 
 
Answer
1. Check the Governor Settings.
2. Dont use the Not in function in the query.
3. Check the client/server balancing.
4. Avoid using complex calculations
5. Check the table qualifying and weighting.
 
5
Prasad
 
 
Question
i have flatfile source. i want to load the maximum salary of
each deptno into target. what isthe mapping flow
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   Wipro
I also faced this Question!!   © ALL Interview .com
Answer
We can use an aggregator to group by on deptno and create a 
newport to find the max(salary) and load dept no and 
salary,we'll get unique deot no and the max salary.
 
0
Pradeepa
 
 
Answer
we can also use rank transformation by setting top, no of 
rank =1 and enable group by port deptno
 
0
Syed
 
 
Question
how much memory (size) occupied by a session at runtime
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   Wipro
I also faced this Question!!   © ALL Interview .com
Answer
Approximately 200,000 bytes of shared memory for each 
session slot at runtime.
 
0
Nandini
 
 
Answer
12,000,000 bytes of memory to the session.

sorry i made a mistake before
 
2
Nandini
 
 
Answer
it ocupied 4gb memori size 2gb for data cache & 2gb for 
index cache
 
2
Amit
 
 
Question
how DTM buffer size and buffer block size are related
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   Wipro
I also faced this Question!!   © ALL Interview .com
Answer
The number of buffer blocks in a session = DTM Buffer 
Size / Buffer Block Size. Default settings create enough 
buffer blocks for 83 sources and targets. If the session 
contains more than 83, you might need to increase DTM 
Buffer Size or decrease Default Buffer Block Size.
 
2
Nandini
 
 
Answer
(total number of sources + total number of targets)* 2] = 
(session buffer blocks)

(session Buffer Blocks) = (.9) * (DTM Buffer Size) / 
(Default Buffer Block Size) * (number of partitions)
 
0
Anand Kumar
 
 
Answer
DTM BUFFER SIZE :12MB
BUFFER BLOCK SIZE :64KB
 
0
Brahmaiah
 
 
Question
i have f;latfile source. i have two targets t1,t2. i want to 
load the odd no.of records into t1 and even no.of recordds
into t2. what is the procedure and whar t/r's are involved
and what is the mapping flow
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   Wipro
I also faced this Question!!   © ALL Interview .com
Answer
Hi,

Steps:-

1.Load ur source table into source analyzer.

2.generate the target tables.

3.in the maping designer take 2 filter transformations and 
write these queries in each of the filter transformations 

for even no of records:- select * from <tablename> where 
(rowid,1) in (select rowid, mod(rownum,2) from <tablename>)

for odd no of records:- select * from <tablename> where 
(rowid,0) in (select rowid, mod(rownum,2) from <tablename>)\

4. connect the output ports of this transformation to their 
respective output tables.

Note:-
send your responses to suriaslesha_sreekar@yahoo.co.in
 
0
Sreekar
 
 
Answer
Can it be done in this way....

1)Drag source to mapping designer
2)Take a router transformation .consider EMP table in which
i am using EMPNO. In group1, assign the condition as
mod(empno,2)=0 which gives even numbers and in group2,
assign the condition as mod(empno,2)!=0 which gives odd numbers.
3)connect group1 to one target and group2 to another target.

If i am wrong please tell me....
 
0
Vani
 
 
Answer
We can do this in the following.

Take the sequence generator t/r
set the properties like
Start value 1
End value 2
and also Enable cycle option

connect the nextval port to the router T/r 
port "SGTNO"(created by you) and also connect the ports 
from source qualifier to the router t/r

Now given the first condition like
SGTNO=1 then go to first target
otherwise go to second target(here no need to mention the 
second condition).

If I went wrong, please let me know

Thanks
Anand Kumar
 
4
Anand Kumar
 
 
Answer
1. drag source and targets in to mapping designer work space
2. from t/r devoloper take sequence genarato t/r,exp t/r 
and router t/r.
3. in seqg t/r give startvalue 1 ,increment by 1
   give netval to a newpor in exp t/r
4. drag all ports of sq to exp in addition to newport
5. in router t/r create one group name as odd 
   give condetion mode(newport/2)!=0
6. give from group odd to t1
   and defoult to t2.
 
0
Sree
 
 
Question
Difference between ODS and Staging
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   TCS
I also faced this Question!!   © ALL Interview .com
Answer
An operational data store (ODS) is a type of database often 
used as an interim area for a data warehouse. Unlike a data 
warehouse, which contains static data, the contents of the 
ODS are updated through the course of business operations. 
An ODS is designed to quickly perform relatively simple 
queries on small amounts of data (such as finding the 
status of a customer order), rather than the complex 
queries on large amounts of data typical of the data 
warehouse. An ODS is similar to your short term memory in 
that it stores only very recent information; in comparison, 
the data warehouse is more like long term memory in that it 
stores relatively permanent information.

But in staging we are storing current as well as historic 
data. This data might be a raw and then need cleansing and 
transform  before load into datawarehouse.
 
0
Harshad
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com