i have source like
balance,drawtime
20000, 8.30
50000,10.20
3000,4.00

i want target like this
balance,drawtime
20000, 20.30
50000,22.20
3000,16.00

Answers were Sorted based on User's Feedback



i have source like balance,drawtime 20000, 8.30 50000,10.20 3000,4.00 i want target like this..

Answer / thippareddy.p

if (drawtime)< 13 then drawtime=drawtime+12 else drawtime

Is This Answer Correct ?    18 Yes 2 No

i have source like balance,drawtime 20000, 8.30 50000,10.20 3000,4.00 i want target like this..

Answer / subbuchamala

SRC--->Transformer--->TGT

In the TFM Output Columns Derivations:


(HoursFromTime((MyLnk.drawtime:"00"))+12): MinutesFromTime(MyLnk.drawtime)--->OutputColumn

(MyLnk.drawtime:"00")--->Convert Source Format to %hh:%nn:%ss
(HoursFromTime((MyLnk.drawtime:"00"))+12)--->Adding 12 hours to hours from source and Concatanating with Minutes from Source.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Data Stage Interview Questions

wt is the difference between swith and filter stage

6 Answers   IBM,


How to RD using transformer?

0 Answers   CTS,


SOURCE CITY NAME1 NAME2 NAME3 NAME4 BGLR HCL CSC IBM TCS TARGET CITY COMPANY BGLR HCL BGLR CSC BGLR IBM BGLR TCS

1 Answers  


Why we need datasets ratherthan sequential files?

5 Answers  


hi i am bhavani, in real time data stage who is the source provide? and how to recevied in developer? Pls send me answer

1 Answers   Polaris,






What is oci?

0 Answers  


30 jobs are running in unix.i want to find out my job.how to do this?Give me command?

3 Answers  


What is the use of surrogate key stage?

2 Answers  


What is the purpose of pivot stage and types of containers in datastage

0 Answers  


Explain the situation where you have applied SCD in your project?

0 Answers  


how to find no.of records in sequntial file itself?

4 Answers  


What is the difference between SQl Loader and OCI in datastage?

2 Answers   CSC,


Categories