Search found 144 matches

by sam334
Fri Jul 18, 2014 12:32 pm
Forum: General
Topic: Adding Multiple script After job Sub Routine
Replies: 8
Views: 2636

Adding Multiple script After job Sub Routine

Hi All, Have a quick question. I need to run two scripts in After job subroutine from Job control. Once the job is done, first script sends the file to another server and second script should delete the original source file in FTP server. I have both the scripts. But can I use those in after job sub...
by sam334
Tue Jun 03, 2014 12:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Adding columns in transformer (Numeric)
Replies: 16
Views: 9409

It worked at last. Probably I was missing/adding DOTs.

Thanks everyone.

Appreciate your help as always.
by sam334
Mon Jun 02, 2014 11:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Adding columns in transformer (Numeric)
Replies: 16
Views: 9409

Sorry for the work "asking", it is not appropriate for sure. :)

Yes, my input data is string.
by sam334
Mon Jun 02, 2014 11:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Adding columns in transformer (Numeric)
Replies: 16
Views: 9409

Ok ArndW. My renewal is in process,so cant see the whole explanation. From the part of it, seems like, Use, ICONV(IN.Column1.'MTS' code for each column and then add those columns as stage variable and linkup to a total time column. But when using ICONV(IN. ---- it is asking for concatinate,substring...
by sam334
Fri May 30, 2014 1:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Adding columns in transformer (Numeric)
Replies: 16
Views: 9409

Okay. understood the converting string to time.but to do the math, will concatenate work? i dont think so. any elaboration on the Calculation..
by sam334
Fri May 30, 2014 12:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Adding columns in transformer (Numeric)
Replies: 16
Views: 9409

All are VARCHAR..
by sam334
Fri May 30, 2014 11:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Adding columns in transformer (Numeric)
Replies: 16
Views: 9409

Adding columns in transformer (Numeric)

Here is another interesting one. I have 4 columns. column1,column2,column3,column4. 0:00:00,0:00:00,0:25:13,0:10:12 I want to add these all columns in transformer,or aggregator, column1,column2,column3,column4, Totaltime 0:00:00,0:00:00,0:25:13,0:10:12, 0:35:25 Any lead.. Thanks for your help.
by sam334
Fri May 30, 2014 7:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NULL Handling in transformer
Replies: 12
Views: 11242

All, Solved the issue. I tried different alternatives. The actual issue was, As there are NULL values in delimited file.This is not space, it actually WORD "NULL". So, If the function is written as, IF INPUT.COLUMN1="NULL" THEN "0:00:00" ELSE INPUT.COLUMN1, will solve t...
by sam334
Thu May 29, 2014 2:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NULL Handling in transformer
Replies: 12
Views: 11242

Craig,
When I view the file, it is showing as NULL not space. I used both IF isnull or column1=" ". so that either one should have taken care of.
I know without seeing the actual file, it is more difficult. Let me try once again.
by sam334
Thu May 29, 2014 1:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NULL Handling in transformer
Replies: 12
Views: 11242

Ok.Thanks, Basically I did a pivot on sql and due to some restrictions i have to put the record in a .csv file.(Input) Input- column1,column2,column3,column4,column5. sam334,NULL,NULL,NULL,07:35:00 Output:-(.csv) column1,column2,column3,column4,column5. sam334,0:00:00,0:00:00,0:00:00,07:35:00 So, I ...
by sam334
Thu May 29, 2014 11:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NULL Handling in transformer
Replies: 12
Views: 11242

Thanks Craig.
The input file is actually .csv file. thats why probably "" is not working.
by sam334
Thu May 29, 2014 9:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NULL Handling in transformer
Replies: 12
Views: 11242

NULL Handling in transformer

Hi all, Have a question. I searched the forum for this but could not find a definite answer. First, I am using ISNULL IF function which is not working. Job is below. SEQ--Tranformer--SEQ(.csv) So, there are 20 columns in input. each column can be NULL or there is a value Datatype, varchar, 0:10:15. ...
by sam334
Thu May 22, 2014 12:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IF THEN ELSE Function
Replies: 6
Views: 1688

Do you want me to open a new thread or use this one.
by sam334
Thu May 22, 2014 10:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IF THEN ELSE Function
Replies: 6
Views: 1688

Yes, but not getting the IF function properly
by sam334
Thu May 22, 2014 10:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IF THEN ELSE Function
Replies: 6
Views: 1688

Craig,
Sort could possible but I am not sure on key field.Input basically has five columns. User,interval,interval1,interval2,interval3. Let me try. Thanks.