Search found 6797 matches

by DSguru2B
Wed Jun 14, 2006 9:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data Truncation problem
Replies: 4
Views: 912

What is your target. WHat the length in your source and target?
by DSguru2B
Wed Jun 14, 2006 8:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if FileB is not empty propagate FileA
Replies: 33
Views: 4705

What solution is it? What same solution? Kindly Share.
by DSguru2B
Wed Jun 14, 2006 7:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate timestamp only if condition met.
Replies: 15
Views: 5951

For some odd reason Db2 UDB is behaving like this. But no sweats, a simple change of sql type gets the work done.
Thanks for your help and time guys.
by DSguru2B
Wed Jun 14, 2006 7:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate timestamp only if condition met.
Replies: 15
Views: 5951

Sorry Craig, that was a typo, I meant DML changes. The error message i am getting is [IBM][CLI Driver] CLI0114E An invalid datetime format was detected; that is, an invalid string representation or value was specified. SQLSTATE=22007 This is when the sql type is set to timestamp and high nines are s...
by DSguru2B
Wed Jun 14, 2006 7:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate timestamp only if condition met.
Replies: 15
Views: 5951

O yes it would Craig. Even i was dazzeled at first why it wasnt accepting a true high nine timestamp. After a little bit of research, i found that, that particular column had a default value of high nines and maybe thats the reason its not accepting it. As i mentioned earlier, if i send even a nano ...
by DSguru2B
Wed Jun 14, 2006 7:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Addition
Replies: 6
Views: 1713

I wrote a routine once to add days, hours, mins, seconds, upto milliseconds. Click here and check out the very last post. As for adding months, its really depends upon your own requirements. Adding a month could mean adding either 30 days or 31 days or 28 days for Feb, OR it could mean just incremen...
by DSguru2B
Wed Jun 14, 2006 6:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Scheduler Restart
Replies: 1
Views: 653

Welcome Aboard Restartability has nothing to do with the scheduling piece. Restartability is something you design into your sequence. "Reset if required and then run" just tells DSEngine what to do. If a reset is required, the job will be reset and then run. If a sequence is controlling jobs then ch...
by DSguru2B
Wed Jun 14, 2006 6:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if FileB is not empty propagate FileA
Replies: 33
Views: 4705

Put a PRINT Output right before the if statement. What's the value of Output?
Also make sure, as Craig mentioned, the file truely is of 0 bytes. Go to the unix level , do ls -ltr and check out the size of that file. Even if the file has column names, it will not be considered an empty file.
by DSguru2B
Tue Jun 13, 2006 4:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob Invalid arguments in script
Replies: 12
Views: 3197

remove the quotes from 'type c:\parameters.txt' . I am not too familiar with DOS batch commands but basically you need an equivalent of echo. Does type do that?
by DSguru2B
Tue Jun 13, 2006 4:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate timestamp only if condition met.
Replies: 15
Views: 5951

Well the column is not nullable. And it wont work if i supply NULL. The only way system generates timestamp is if nothing is passed for that column. I cant do that.
Well, thanks Ray for your input. I think i have to stick to my workaround.
Regards,
by DSguru2B
Tue Jun 13, 2006 3:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HASH FILE ABORT
Replies: 19
Views: 4525

It is some sort of access violation, thats what the error message states. Try to do an exact search on "Exception raised in GCI subroutine". You will see that this topic has been covered a lot here.
by DSguru2B
Tue Jun 13, 2006 2:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HASH FILE ABORT
Replies: 19
Views: 4525

How can you be sure , then, that the abort is due to the hashed file? What exactly are you doing in the transformer stage? We need more info on your design so that we can pin point the problem, instead of us guessing what exactly is going on. That will be possible in the Hawk version which is equipp...
by DSguru2B
Tue Jun 13, 2006 2:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HASH FILE ABORT
Replies: 19
Views: 4525

What other error message do you get?
It could be a number of reasons.
Do you have write permissions to that network?
Have you reached the 2GB limit for the hashed file?
by DSguru2B
Tue Jun 13, 2006 2:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Field Function Help
Replies: 10
Views: 1749

Since its coming from a flat file. ISNULL() wont work. It doesnt work at times on flat files. Use the Len() function.
What Length does it give for empty column?
I mean from this row
20000000 ; 0 ; 0 ; 0 ;
by DSguru2B
Tue Jun 13, 2006 2:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Field Function Help
Replies: 10
Views: 1749

Seems Odd. Try putting in a trim. If IsNull(field(trim(lnk_In.CF_String),";",5)) Then DateGenericToODBC(RunDate) Else DateGenericToODBC(field(trim(lnk_In.CF_String),";",5)) Also try If Len(field(trim(lnk_In.CF_St...