Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

TCS Data Stage Interview Questions
Questions Answers Views Company eMail

Hi All, I have a file. i need to fetch the records between first and last records by using transform stage. EX:- Source: EMPNO EMPNAME 4567 shree 6999 Ram 3265 Venkat 2655 Abhi 3665 Vamsi 5852 Amit 3256 Sagar 3265 Vishnu Target: EMPNO EMPNAME 6999 Ram 3265 Venkat 2655 Abhi 3665 Vamsi 5852 Amit 3256 Sagar I dont wan't to Shree and vishnu records.we can fetch another way also but How can I write the function in transform stage?

2 6244

In my previous project we get data from mainframe and load it into datastage DB2 tables.Sometimes we get data as flat file or a mainframe tables itself directly we fetch the data.Is this a migration project?

1 5716

Can anybody tell me in detail any complex datastage job? I have worked only in direct load and full refresh jobs.But in all interviews this question arises

1 3255

Can anyone tell me a difficult situation who have handled while creating Datastage jobs?

2849

what is the exact difference between dataset and fileset in datastage?

5 42955

how to sort two columns in single job in datastage.

1 10230

how to sort two columns in single job in datastage.

2549

how to sort two columns in single job in datastage.

1 7254

my source is sequencial file and my target is dataset. i am running the job in two node configuration file. my source having 10 records how the data move to target?

3 8319

guys pls tell me where we use sequence jobs exactly in realtime proj explain pls with example.

2 6589

How to work with XML out put stage? Please explain step by step? i need to generate XML file using Table data. Given is the .XSD file. Please help?

2 7145

How to LOG 'unmatched Master' records and 'Reject Updates' in log files using MERGE stage?

1 6108

Difference between the Sequence and Sequencer in DS?

1 11113

I am getting input value like X = Iconv(ā€œ31 DEC 1967ā€,ā€Dā€)? What is the X value? How it is? At what situation we r used Iconv(),Oconv().

1 3498

I have 5 different sources i want same records in 5 different targets Can you any body send me this question answer rathdsetl@gmail.com

2 6475

Post New TCS Data Stage Interview Questions


TCS Data Stage Interview Questions


Un-Answered Questions

Can I reinstall windows 10 with the same product key?

426


Is there any rule to select the voltage of motor based on KW rating? What is the rating above which lt motor becomes the HT motor?.

1239


Does jsp require jdk?

459


What is query in hibernate?

207


What is the keyword to import a module in python?

458






explain what is extended deployment in websphere?

479


How do you calculate the power of a centrifugal pump?

704


Can css be used with other than html documents?

248


Which form used for registration in GST?

925


What is the most enjoyable part of working at CarMax?

691


Hi, I am new in oracle(SQL), could anyone help me in writing a correct SQL. Below is the table structure. Table: Subsc Fields: 1. Sub_no (this field will hold values of subscriber nos, for e.g. S111111, S222222, S333333, S444444, etc.) 2. s_status (this field will hold values for different status of subscriber, for e.g. 'A', 'S', 'C', etc.) 3. cus_id (this field will hold values of bill nos for e.g. 11111111, 22222222, 33333333, 44444444, etc.) Table: Bill Fields: 1. Bill_no this field will hold values of bill nos for e.g. 11111111, 22222222, 33333333, 44444444, etc.) 2. b_status = (this field will hold values for different status of bill for e.g. 'O', 'C', 'S', etc.) Note: 1. The Sub_no is a Primary key of Subsc table. 2. The cus_id is a foreign in Subsc table (referred from Bill_no field of Bill table) 3. The Bill_no field is the Primary key of Bill table. Query A --> I wrote a query to select cus_id/Bill_no which is in status open (b_status = 'O') and having more than two active subscriber (i.e. S_status = 'A') in it ( i.e. more the two subscribers in same bill). select s.cus_id from subsc s where exists (select 1 from bill where bill_no = s.cus_id and b_status = 'O') and s_status = 'A' group by s.cus_id having count(sub_no) = 2 Problem : The above query will give the cus_id (or rather bill_no) which are in open status (b_status ='O) and which are having TWO ACTIVE Subscribers (s_status ='A') in it. However, this query will also lists the cus_id/bill_no which are having more than TWO subscribers in it (but only two subscriber will be in Active status (s_status = 'A') and the others will be in s_status = 'C' or s_status = 'S'. Help needed: I want to write a query which will fetch ONLY the cus_id/bill_no which are in open status (b_status ='O') and which are having ONLY TWO ACTIVE subscribers (s_status ='A') in it. B--> If I include the sub_no in the above query then NO row are returned. select s.cus_id, s.sub_no from subsc s where exists (select 1 from bill where bill_no = s.cus_id and b_status = 'O') and s_status = 'A' group by s.cus_id, s.sub_no having count(sub_no) = 2 Help needed: I want to modify the above query which will fetch ONLY the cus_id/bill_no which are in open status (b_status ='O') and which are having ONLY TWO ACTIVE subscribers (s_status ='A') in it ALONG with the sub_no. Thanks a lot in advance. Regards, Nitin

1776


How can you insert null values in a column while inserting the data?

722


What is args c#?

538


What is supporting documents enclosed & must be required to Submit of quarterly & Yearly Sale Tax Return (Haryana)

1507


our factory is going under construction mean time transformer 1000 kva 2 nos &load break swithch 12 kv & 4 nos 750 kva 2 nos & 380 kva 2 nos generator to be errcted.how to arrange earth pits &how to earth connect & neutral pit how to calculate in earth bit size.

1667