Search found 22 matches

by satishm
Sun Feb 14, 2010 6:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel execution of same Unix script with diff params.
Replies: 4
Views: 2685

It was executing sequentially!! .... i want it to work parallely ...
by satishm
Sat Feb 13, 2010 11:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel execution of same Unix script with diff params.
Replies: 4
Views: 2685

Parallel execution of same Unix script with diff params.

Hi Friends, Need a help on runnind a script in parallel ( Background processing) Scenario: Script name: Script.sh ETL jobs expects 3 files which will be created of the above script for given 3 different parameter. Script.sh Parm1;Script.sh Parm2;Script.sh Parm3 Usage of ";" will make it to...
by satishm
Mon Nov 30, 2009 10:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding Date conversion
Replies: 4
Views: 2994

Regarding Date conversion

Hi,
Can some one assist in converting a date from one format to another.

eg:
Input Date : 2009-12-31 ( yyyy-mm-dd) data-type : Date

Output Required : 31-12-2009 ( dd-mm-yyyy) data-type : Date

Regards,
SatishM.
by satishm
Sat Nov 28, 2009 11:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get the months from the difference of two dates.
Replies: 3
Views: 1873

Sure... but the first question is going to be - what is your definition of a month? Were you given any business rules on how to compute this? Is this always a whole number? (etc etc etc) ... Yes!!...Thanks for your reply! Lets take an example, DATE1 = 2006-01-01 & DATE2 = 2009-11-09 now by manu...
by satishm
Sat Nov 28, 2009 9:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get the months from the difference of two dates.
Replies: 3
Views: 1873

How to get the months from the difference of two dates.

Hi Friends,
Need a help!
Suppose in a file they are two date columns and I wanna subtract those two dates to get the no. of months...Can we achieve this any way?

Regards,
Satish M.
by satishm
Sun Nov 15, 2009 12:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To capture link count in a sequential file
Replies: 2
Views: 1986

To capture link count in a sequential file

Hi Friends,
Can someone suggest me a command/syntax to capture a link count fetched by the DSGetLinkinfo routine in a sequential file ?

Regards,
Satish.
by satishm
Fri Nov 13, 2009 1:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Get Link Count
Replies: 1
Views: 1402

Get Link Count

Hi ,

Need help on writing routine for link count.

If available,please provide the same.

Regards,
satish.
by satishm
Tue Nov 10, 2009 4:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert Binary to Decimal in PX 8.0.1
Replies: 6
Views: 2649

Hi, We want to use only first 18 digits from the filed.
Like the Field Name is Filler1 with size 120.
But we will be using Filler1[1,18] and store it in Decimal of (20,2).


Thanks.
by satishm
Tue Nov 10, 2009 3:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert Binary to Decimal in PX 8.0.1
Replies: 6
Views: 2649

I appologise for words mismatch from my side, i must have typed in "Issue is Urgent for me". This is the Filler column from CFF which was stored into dataset as a binary column in our Cycle 1 jobs, now in Cycle 2 we are using this dataset and extracting the information stored in Filler col...
by satishm
Tue Nov 10, 2009 3:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert Binary to Decimal in PX 8.0.1
Replies: 6
Views: 2649

Convert Binary to Decimal in PX 8.0.1

Hi, Can anyone please help me to convert the input Binary column to be converted to Decimal. Input string is "08 16 O 00 0f 08 16 O f5 f0 f1 f0 f0 e8 e8 f0 f0 f1 f1 d5 @ @ 07 85 14 8f 00 0f 00 00 00 0f 00 00 00 03 8c 01 d 09 / f0 f2 f0 f2" Output should be Decimal value. Can please anyone ...
by satishm
Wed Nov 04, 2009 3:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversion
Replies: 22
Views: 31798

kumar_s wrote:Did you try StringToTimestamp(DSLink4.time,"%yyyy%mm%dd%hh.%mm.%ss %aa")? ...
yeah..I tried but job got aborted.see error in my prvious post..
by satishm
Wed Nov 04, 2009 3:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversion
Replies: 22
Views: 31798

What solution did you use - all that extra work using stage variables or the proper StringToTimestamp function syntax that Kryt0n helped out with? ... One which Neena provided, as i dont wanna store am/pm in table and also wanna store it in 24 hrs format.. She provided a perfect solution. But thank...
by satishm
Wed Nov 04, 2009 3:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversion
Replies: 22
Views: 31798

What solution did you use - all that extra work using stage variables or the proper StringToTimestamp function syntax that Kryt0n helped out with? ... One which Neena provided, as i dont wanna store am/pm in table and also wanna store it in 24 hrs format.. She provided a perfect solution. But thank...
by satishm
Wed Nov 04, 2009 3:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversion
Replies: 22
Views: 31798

chulett wrote:So you quoted the simple solution but actually implemented an unnecessarily complex one? If so, you might want to revisit this. :wink: ...
Sorry...I dint get u
by satishm
Wed Nov 04, 2009 2:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversion
Replies: 22
Views: 31798

Kryt0n wrote:The format you provide to StringToTimestamp needs to match your input format, not how you want it to look.

For am/pm use the %aa format option

Help files are more than enough to figure out the correct format
Thanks, Neena ...It worked.....God BlesS!!