-
-
How to get the last day of the current month?
I have explored all the available functions in the transformer stage, but could not find the exact function to get the last day of the current month. Can you please show me which function is available for this logic.
-
What are Routines and where/how are they written and have you written any routines before?
Routines are stored in the Routines branch of the DataStage Repository, where you can create, view or edit. The following are different types of routines: 1) Transform functions 2) Before-after job subroutines 3) Job Control routines
-
-
-
Purpose of using user defined environment variables and parameter sets
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.?
-
-
Scenario based question
How to find if the next value in a column is incrementing or not
for ex
100
200
300
400
If the curval greater than previous val then print greater if lesser print lesser
For ex
100
200
150
400, Here 150 -
Datastage scenario Question
A Sequences is calling activity 1, activity 2 and activity 3.while running, activity 1 and 2 got finished but 3 got aborted. How can I design a sequence such that the sequence has to run from activity 2 when I restart the sequences?
-
-
Remove Leading Zero
How to remove leading zeros in data and transform data to target?
-
-
Dataset utility question
How can we retrieve the particular rows in dataset by using orchadmin command?
-
-
-
-
Increment Values based on column (Looping)
I have source like this
Num, SeqNo,Ln,Qty
101, 1 ,1,5
I wanna target following below
Num,SeqNo,Ln,Qty
101, 1 , 1, 1
101, 1 , 2, 1
101, 1 , 3, 1
101, 1 , 4, 1
101, 1 , 5, 1
Based on Qty value records will be incremented.If qty value is 4 then o/p will be like below
Num,SeqNo,Ln,Qty
101, 1... -
Most Difficult Jobs you have created
Hi Guys,
I have 3 yrs for experiences in datastage , though not much practical experience due to various reasons, now I have been asked this question in 4 of my interviews and I am always flounder at it . Have tried different approaches , telling the truth , telling a real situation I faced which actually was not that difficult , but I always seems to flounder at this question... -
-
How to handle Date convertions in Datastage? Convert a mm/dd/yyyy format to yyyy-dd-mm?
We use a) "Iconv" function - Internal Convertion. b) "Oconv" function - External Convertion. Function to convert mm/dd/yyyy format to yyyy-dd-mm is Oconv(Iconv(Filedname,"D/MDY[2,2,4]"),"D-MDY[2,2,4]")
DataStage Interview Questions
Ans