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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Quality stage?

661


Can you explain kafka connector?

768


What is the use of datastage director?

580


How we can covert server job to a parallel job?

591


what is the difference between == and eq in UNIX shell scripting?

967






What is job control?

620


What is the difference between operational data stage (ods) and data warehouse?

665


Describe link sort?

634


What a datastage macro?

625


What are the different options associated with dsjob command?

929


what is the custome stage in datastage? how can we impliment that one? plz tell me

1901


What is datastage engine?

726


What is the difference between account and directory options ?

616


Explain connectivity between datastage with datasources?

585


What are the various kinds of the hash file?

654