Search found 98 matches

by aasaif
Tue Dec 23, 2008 2:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Conversion formats
Replies: 44
Views: 12443

i tried this still outputing null

OCONV(ICONV(Field(DSLink2.CreateDate,"",1,1),"D"),"D-DMY[2,3A,2] hh:mm:ss")
by aasaif
Tue Dec 23, 2008 2:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Conversion formats
Replies: 44
Views: 12443

Date Conversion formats

Hi -
I needed help converting a date format(mm/dd/yyyy hh:mm:ss)
into (dd-MON-YY hh:mm:ss)

i think i have the second part correct
OCONV( ICONV(DSLink2.CreateDate,"D4YMD") ,"D-DMY[2,3A,2] hh:mm:ss")

any help?
by aasaif
Thu Dec 04, 2008 1:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle - DataStage Date issue
Replies: 8
Views: 6071

I dont understand so now I change the transformation to output the date as
dd-mon-yy and now i am getting this error

Attempt to convert String value "02-DEC-08" to Date type unsuccessful
by aasaif
Thu Dec 04, 2008 11:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle - DataStage Date issue
Replies: 8
Views: 6071

THis is the sql in my oracle stage

INSERT INTO PROCESS_LOG (RowCount,DATASOURCEKEY,JOBID,JOBDATETIME,TABLENAME,CREATED) VALUES (:1,:2,:3,TO_DATE(:4, 'DD-MON-YY'),:5,TO_DATE(:6, 'DD-MON-YY'))
by aasaif
Thu Dec 04, 2008 11:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle - DataStage Date issue
Replies: 8
Views: 6071

I had that column set to a varchar thoughout the datastage project
because when i set the datatype of Date to the jobdate column
i get this issue

Value treated as NULL
Attempt to convert String value " 00:00:00" to Date type unsuccessful
by aasaif
Thu Dec 04, 2008 11:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle - DataStage Date issue
Replies: 8
Views: 6071

I tried that now i am getting this error
ORA-01861: literal does not match format string


the output string looks like this now
2008-12-02 00:00:00
by aasaif
Thu Dec 04, 2008 10:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle - DataStage Date issue
Replies: 8
Views: 6071

Oracle - DataStage Date issue

I have a Table in Oracle with a column of datatype DATE In my datastage transformer I do a conversion on a date i pass in Oconv(Iconv(JOBDATE, "DMDY"), "D/MDY[2,2,4]") : " 00:00:00" which displays 12/02/2008 00:00:00 when i pass in 12/02/2008 however I am getting an ora...
by aasaif
Mon Nov 03, 2008 9:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DateFromDaysSince function
Replies: 4
Views: 3163

aww I see.
Is there anyway dateadd functions in server jobs
by aasaif
Mon Nov 03, 2008 9:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DateFromDaysSince function
Replies: 4
Views: 3163

DateFromDaysSince function

Does anyone know why this will not compile am I missing something

DateFromDaysSince(DateGenericToOraOCIWithTime(JobStartTime),1)
by aasaif
Fri Oct 31, 2008 1:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling a dsjob executable with no command window pop up
Replies: 1
Views: 1000

Calling a dsjob executable with no command window pop up

Hi I am calling a dsjob through a process in C# on a server(calls the dsjob.exe. When it runs the datastage job a command window opens is there anyway to make a datastage job when running it through dsjob exe command windowless. People are closing my windows which does not matter to the datastage jo...
by aasaif
Thu Oct 30, 2008 9:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute stored procedure without input link
Replies: 27
Views: 7686

Can you give me a little more detail on how this is done.

So after my stored procedure i send a link to a transformer which will be done on each row however then in the transformer i send a link to the aggregator stage .

Where in this stage does it allow you to specify last row i dont see it?
by aasaif
Thu Oct 30, 2008 7:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute stored procedure without input link
Replies: 27
Views: 7686

i like that idea. I will try it
by aasaif
Thu Oct 30, 2008 7:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute stored procedure without input link
Replies: 27
Views: 7686

i like that idea. I will try it
by aasaif
Thu Oct 30, 2008 7:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute stored procedure without input link
Replies: 27
Views: 7686

one row is loaded into the job log
however then i load thousands of rows in an etl job then i would like to insert one row into the job complete after those rows are loaded
So i guess your saying i have to build a routine.
by aasaif
Wed Oct 29, 2008 2:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute stored procedure without input link
Replies: 27
Views: 7686

nope they having nothing to do with each other this is the flow basically job paramters set to a stored procudure (insert into a job log job started) then i have sequential file passed into a stored procedure last i insert a row stating job completed of if i have any rows rejected jobs completed wit...