Search found 75 matches

by gh_amitava
Thu Mar 02, 2006 4:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to call the PX routine in job control of DS PX job
Replies: 9
Views: 4261

Hi,

You can design Sequence instead of Job Control. It is possible to call a external routine from Sequence.

Regards
Amitava
by gh_amitava
Wed Jun 22, 2005 1:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting No in Nullable Column
Replies: 7
Views: 3410

Hi,

You have to handle null by using different inbuild functions. For example, you can use this logic:

If IsNull*<Field-Name>) = 1 Then space(<Length of the Field>) Else <Field>.. This will work.

Regards
Amitava
by gh_amitava
Wed Jun 22, 2005 1:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: between condition Problem in PX
Replies: 2
Views: 2327

Hi,

If your referenced data is high in volume then it is always better to use "Join" stage. :)

Regards
Amitava
by gh_amitava
Wed Jun 22, 2005 1:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Stage in PX
Replies: 4
Views: 2698

They are mutually exclusive because DataStage will read Sequential file in sequential mode.. Row by Row.. Only one node will be used to read the entire file.

Regards
Amitava
by gh_amitava
Wed Jun 22, 2005 1:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compiling BuildOps
Replies: 1
Views: 1556

Hi,

After defining a BuildOp, just click on the "Generate" button. Compilation will be done automatically.

Regards
Amitava
by gh_amitava
Wed Jun 08, 2005 4:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert/Update Job Design: Comments?
Replies: 10
Views: 5679

Hi,

You can use the "Upsert" feature of DataStage.

Regards
Amitava
by gh_amitava
Thu Apr 07, 2005 2:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in reading fix length sequential file
Replies: 3
Views: 5679

Please look the OSH table definition of the input file. This should match with what you see by clicking the stage.

Regards
~Amitava
by gh_amitava
Thu Apr 07, 2005 2:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: null export handling
Replies: 9
Views: 7432

lory,

Use NVL function of Oracle in the select clause. It is best to handle null there.

Regards
~Amitava
by gh_amitava
Thu Apr 07, 2005 2:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trailing characters. Cant get rid
Replies: 8
Views: 5690

ds_is_fun,

Set the APT_STRING_PADCHAR parameter to "space". You can do it from Administrator.

Regards
~Amitava
by gh_amitava
Thu Apr 07, 2005 2:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 4
Views: 2222

Hi,

The default date format in DataStage is yyyy-mm-dd.. But your input format is yyyymmdd. So you have to mention the input format as
"%yyyy%mm%dd" in the StringToDate function.

Regards
~Amitava
by gh_amitava
Wed Mar 30, 2005 4:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warnings in join stage
Replies: 5
Views: 3476

Hi,

What is the Partition logic you have used and what is the number of Node ?

Regards
~Amitava
by gh_amitava
Fri Mar 25, 2005 1:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling
Replies: 3
Views: 2094

Benny,

Are you sure a Null is there or Space ? For both of them you can use the following code,

If (IsNull(X) = 1 Or Trim(X) = "") Then <Action1> Else <Action2>

To check whether Null is coming or not you can use a Peek stage .

Regards
~Amitava
by gh_amitava
Fri Mar 25, 2005 1:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Initiating a unix script
Replies: 12
Views: 6768

T42,

Please try to give your answer politely. Somebody may ask some basic question and if you have problem with those, then simply avoid them.

:D

Regards
~Amitava
by gh_amitava
Fri Mar 25, 2005 1:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Return values from Lookup stage
Replies: 4
Views: 2769

LearnPX,

IsNull() function should work on character field. Sometime it may not work on number field. Then we need to sue NullToZero() function. Also sometime IsNull() = 0 does not work. So better to use IsNull()=1 or IsNotNull() = 1.

Regards
~Amitava
by gh_amitava
Fri Mar 25, 2005 1:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding date manipulation
Replies: 1
Views: 1354

Hi,

First convert all the dates in Date datatype. i,e if the datatype of the dates are String then use DateToString function to convert into Date datatype. After that simply use

(If Date > Date1 And Date < Date2) Then <Action1> Else <Action2>..

It will work.

Regards
~Amitava