how to find diff between 2 dates without using Icon...
funtions?



how to find diff between 2 dates without using Icon... funtions?..

Answer / subbuchamala

This function returns number of days from source date to the given date.

DaysSinceFromDate(mylink.sourcedate, mylink.givendate)--->No of days.

Ex:
DaysSinceFromDate(“2014-06-10”,”2014-06-15”)= 5

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Data Stage Interview Questions

souce file having the columns like name company krish IBM pooja TCS nandini WIPRO krish IBM pooja TCS if first row will be repeat i want the result like this name company count krish IBM 1 pooja TCS 1 nandini WIPRO 1 krish IBM 2 pooja TCS 2

9 Answers  


What are the different type of jobs in datastage?

0 Answers  


What all are the different way to run a job?

0 Answers  


What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?

0 Answers  


I have source file which contains duplicate data,my requirement is unique data should pass to one file and duplicate data should pass another file how?

7 Answers   CTS,


Is it possible to query a hash file?

0 Answers   IBM,


Explain entity, attribute and relationship in datastage?

0 Answers  


when will you go for dataset and fileset?

2 Answers   Accenture,


A flatfile contains 200 records.I want to load first 50 records at first time running the job,second 50 records at second time running and so on,how u can develop the job?pls give the steps?pls pls

7 Answers   TCS,


If seg file having 10 records ex:eid 1 2 " " 10 if oracle database having 100 records ex:eid 1 2 " " 100 how to delete matched records permenently from oracle database using datastage ?

5 Answers   Infotech,


How can we perform 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?

1 Answers   Infosys, TCS,


Give an idea of system variables.

0 Answers  


Categories