I WANT TO SEND SYSDATE AS PARAMETER,SO WHAT COMMAND I
SHOULD USE TO CALL SYSDATE?

Answers were Sorted based on User's Feedback



I WANT TO SEND SYSDATE AS PARAMETER,SO WHAT COMMAND I SHOULD USE TO CALL SYSDATE?..

Answer / ramesh

In DsMacro the function "DsJobstartDate " is there, by
using this we can recall sysdate

Is This Answer Correct ?    7 Yes 1 No

I WANT TO SEND SYSDATE AS PARAMETER,SO WHAT COMMAND I SHOULD USE TO CALL SYSDATE?..

Answer / subhash

there many ways to get the SYSDATE:
1) By using the SYSDATE in the select query of your Oracle
Source.
2) By using the DsMacro, the function "DsJobstartDate " in
the transformer.
3) By using Date & Time function - "CurrentDate()" in the
transformer.
4) You would use the Date() function, and then some
variation of the OConv() function to change the date from
internal to external format.

For example, say you want to assign the current date to a
variable called StartDate, and format it in yyyy/mm/dd
format, you would use:

StartDate = Oconv(Date(), "D4/YMD")

Is This Answer Correct ?    6 Yes 0 No

I WANT TO SEND SYSDATE AS PARAMETER,SO WHAT COMMAND I SHOULD USE TO CALL SYSDATE?..

Answer / kpk

if i were you i would use a function in the transformer stage.

Is This Answer Correct ?    2 Yes 1 No

I WANT TO SEND SYSDATE AS PARAMETER,SO WHAT COMMAND I SHOULD USE TO CALL SYSDATE?..

Answer / palgun

CurrentDate()

U can find many more functions in the transformer stage....

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Data Stage Interview Questions

How many input links can you give to a Transformer stage?

6 Answers  


can explain wt is the pool for file.

1 Answers   CTS,


source file contains 100 records, i want 10 records in target file how it possible in datastage

6 Answers   IBM,


HOW CAN WE ABORT THE JOB IF THE RECORDS OF SOURCE FILE CONTAINS VALUE AS 'VIJAY'?

1 Answers   Infosys,


what is diff b/w datastage 8.1,8.5,8.7?

1 Answers   IBM,






i have seq file that contents 10 million records load to target any data base.. in that case it takes lot of time for loading..how do performance tuning in that situation...?

5 Answers   TCS,


Difference in the implementation of lookup and join stages,in joining two tables?

7 Answers   TCS,


How can we achive parallelism

1 Answers   CTS,


In my project source data comes from MAINFRAME in files.so,This time data is coming as a binary file...I know for binary data we use Complex flat file stage..I have used it also..but on 'view data' data is not coming correctly..as it in MAINFRAME.give me some ideas..

2 Answers  


How to manage date conversion in Datastage?

0 Answers  


how to retrive the max(sal),deptno,empno in datastage?

13 Answers   Polaris,


cust id,cust quty like 1,101;1,102;1,103 i want output like cust id,cust quty 1 101,102,103 in oracle please write a query in oracle

3 Answers   TCS,


Categories