Search found 41 matches
- Thu Jan 24, 2008 3:49 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Routine Activity-Triggers
- Replies: 11
- Views: 5307
- Thu Jan 24, 2008 3:11 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Routine Activity-Triggers
- Replies: 11
- Views: 5307
Thank you for your replies ! I tried the trigger which gateleys posted.The job worked fine but gives the warning.When I unchecked the option Log Warnings after activities that finish with status other than ok in Job properties,the sequence runs without any warning. Also,I will try using UserVariable...
- Thu Jan 24, 2008 12:33 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Routine Activity-Triggers
- Replies: 11
- Views: 5307
Re: Routine Activity-Triggers
What to do to make my job work?
- Thu Jan 24, 2008 12:22 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Routine Activity-Triggers
- Replies: 11
- Views: 5307
Routine Activity-Triggers
Hi I have a custom routine for dateconversion. When I run the sequence - ExecuteCommand Activity-Routine Activity-Execute command Activity.I am calling my routine in Routine Activity. It works fine when I trigger to Unconditional Expression type.But routine does not work when I give Ok condition Tri...
- Wed Jan 23, 2008 3:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Getting error while compiling
- Replies: 5
- Views: 2699
- Wed Jan 23, 2008 2:54 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Custom Routine
- Replies: 10
- Views: 2656
Re: Cutom Routine
Thank you so much.It works fine.gateleys wrote:All you had to do was take away the 'dash' in the format and rearrange the YMD to DMY-
Code: Select all
Oconv(Iconv(YourDate,"DDMY[2,2,4]") - 30, "DDMY[2,2,4])
- Wed Jan 23, 2008 2:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Custom Routine
- Replies: 10
- Views: 2656
Re: Cutom Routine
I hope you understand the overhead of calling your function for every row!! Why don't you just use the single line transformation? What's wrong with that? Sorry for my last reply.The code is not working.I can use your code but the concerns are about the Format.As I have the format as DDMMYYYY which...
- Wed Jan 23, 2008 2:12 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Custom Routine
- Replies: 10
- Views: 2656
Re: Cutom Routine
No matter where you do the computation, the basic logic remains the same. Assuming your date is of the form 'YYYY-MM-DD', then as Craig pointed out, you can use - Oconv(Iconv(YourDate,"D-YMD[4,2,2]") - 30, "D-YMD[4,2,2]) I have the date format as 23012008[DDMMYYYY] . My code was iDat...
- Wed Jan 23, 2008 1:57 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Custom Routine
- Replies: 10
- Views: 2656
Cutom Routine
You don't need a routine for that - simply use IConv to convert to internal format, subtract 30 and then OConv back to whatever external format you'd like. ... Thanks for ur reply.Yes,If I do that in transformer stage,I can do that way.But I have to use this concept in Routine Activity Sequence &am...
- Wed Jan 23, 2008 1:57 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Custom Routine
- Replies: 10
- Views: 2656
Cutom Routine
You don't need a routine for that - simply use IConv to convert to internal format, subtract 30 and then OConv back to whatever external format you'd like. ... Thanks for ur reply.Yes,If I do that in transformer stage,I can do that way.But i ahve to use this concept in Routine Activity Sequence &am...
- Wed Jan 23, 2008 1:39 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Custom Routine
- Replies: 10
- Views: 2656
Custom Routine
Hi
Can anyone help me write a custom routine?
I have a workdate & from the workdate I should get a date 30 days ago.
Thanks !
Can anyone help me write a custom routine?
I have a workdate & from the workdate I should get a date 30 days ago.
Thanks !