Search found 22 matches

by bob7027
Tue Oct 22, 2013 8:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to use 'IN' function in datastage
Replies: 3
Views: 2843

Thanks For the reply ArndW

Yes
by bob7027
Tue Oct 22, 2013 7:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to use 'IN' function in datastage
Replies: 3
Views: 2843

how to use 'IN' function in datastage

Hello every one!!.

how can i use 'IN' function in datastage transformer.
Advance Thanks.
by bob7027
Fri Apr 26, 2013 6:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to get 30 days old date from current date
Replies: 5
Views: 4954

do you need exact 30 days old date or every last month date..?
by bob7027
Wed Apr 17, 2013 7:51 am
Forum: General
Topic: ExecDOS Command
Replies: 10
Views: 5169

Yes what you said is exactly correct. when it moves it should move with the file name.

output got: Text_0-0-0

expected : Text_04172013
by bob7027
Wed Apr 17, 2013 7:25 am
Forum: General
Topic: ExecDOS Command
Replies: 10
Views: 5169

echo %DATE:/=% set /a d= %DATE:~0,2% set /a month=%d% set /a d= %DATE:~5,4% set /a year=%d% set /a d=%DATE:~3,2% set /a yesterday=%d% - 1 MovE "\\C\DS\DS_TEMP\BOB\TEXT_.csv" "\\C\DS\DS_TEMP\BOB\TEXT_%month%-%yesterday%-%year%.csv" This is the syntax I am using which works fine wh...
by bob7027
Tue Apr 16, 2013 7:02 pm
Forum: General
Topic: ExecDOS Command
Replies: 10
Views: 5169

Probably a relative v. full path issue but as noted we'd need to see your syntax to have any idea what is going on. Thank you for your reply, right now I dont have syntax, but it is nor marl syntax to get the yesterday date. I will post the systax ASAP. I am sorry for this... my question is do I ne...
by bob7027
Tue Apr 16, 2013 7:00 pm
Forum: General
Topic: ExecDOS Command
Replies: 10
Views: 5169

Thank you for your reply, i used after job subroutine execDos and the input value is input file. Thats all i used, bash file is executing perfectly but the expected output is wrong. When I ran the same commands in Cmd prompt, it is executing perfectly, but when the same executed through datastage it...
by bob7027
Tue Apr 16, 2013 3:38 pm
Forum: General
Topic: ExecDOS Command
Replies: 10
Views: 5169

ExecDOS Command

Hello All, I need your suggestion here. i am trying to trigger the MS-DOS Batch file. Here it moves the file and add the date for the file name, when i tried this directly it is working but when i used this command through datastage, it is not working. expected result : User_Log_Test_Mon 04-15-2013 ...
by bob7027
Wed Mar 20, 2013 9:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unusual date conversion
Replies: 9
Views: 3641

You are right ... btw what version you are using?
by bob7027
Tue Mar 12, 2013 12:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Split big column into records
Replies: 4
Views: 2222

getsatish_gk : use field option for '|' in transformer, then use Pivot stage to convert into rows
by bob7027
Tue Feb 19, 2013 8:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rounding off issue with datastage
Replies: 12
Views: 18644

try this;
DecimalToDecimal(mylink.mydec,"trunc_zero")

or

DecimalToDecimal(mylink.mydec,"round_inf")

keep the target decimal length of 10 and a scale of 2.
by bob7027
Tue Feb 19, 2013 8:37 am
Forum: General
Topic: How to validate a column having website url value
Replies: 3
Views: 2682

as per your validation, use index function to search for the string what you want, like HTTP or HTTPs.
and later search for the string in which format you are expecting it to be.
Check for conditions for your URL contains alpha numeric.
by bob7027
Fri Feb 15, 2013 9:47 am
Forum: General
Topic: All Type Sources and Target Audit report
Replies: 5
Views: 2806

Thank you Ray for the information.
by bob7027
Thu Feb 14, 2013 8:05 pm
Forum: General
Topic: All Type Sources and Target Audit report
Replies: 5
Views: 2806

I am curious about this topic.
Can you please brief in detail where to check this detail job logs, i mean for audit purpose, such as how many rows it passed, inserted or rejected etc.,
can you let me know where did you use this DS_JOBOBJECTS table?
by bob7027
Thu Feb 14, 2013 8:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date comparision (greater than or less than)
Replies: 6
Views: 3562

change the data type for all fields to timestamp & check with 'isvalid' condition for 'timestamp', then you can write if then else condition

thx