Search found 37 matches

by dsa
Fri Oct 15, 2010 5:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: join & lookup
Replies: 9
Views: 3637

What my understanding is :
Scratch is temporary memory and when we say resource disk it means permanent memory or disk .

Please correct me if I am wrong.
by dsa
Fri Oct 15, 2010 5:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: join & lookup
Replies: 9
Views: 3637

Sorry
what I meant was look up keeps reference data into scratch

is it right now?
by dsa
Fri Oct 15, 2010 4:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to distribute the records amoung the nodes..
Replies: 6
Views: 4143

parallel job dev guide explains types of partitioning. Depending upon your requirement, you might want to go for round robin or hash or modulus or random partitioning to achieve the same.
by dsa
Fri Oct 15, 2010 4:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: join & lookup
Replies: 9
Views: 3637

join & lookup

Hi,

Lookup using scratch memory while join uses disk(physical) memory for the sorting it performs.

is it a right statement to make?
by dsa
Thu Oct 14, 2010 4:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trimming Leading 0's alone
Replies: 3
Views: 1568

try this:

Trim(DecimalTostring(In.Col),'0','L')
by dsa
Wed Oct 13, 2010 11:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sequence number generation
Replies: 7
Views: 3824

Thanks to all of you!!!!
by dsa
Wed Oct 13, 2010 11:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sequence number generation
Replies: 7
Views: 3824

but I don't have sequential stage. It's just some input I have say dataset where I need to assign sequence number.

Now I can't use sequential stage as I have billions of records so it might be very time consuming if I use so.

Is there any way of keeping track of record counts across nodes?
by dsa
Wed Oct 13, 2010 10:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sequence number generation
Replies: 7
Views: 3824

Create an extra column in your sequential stage and set the option Row Number column in Properties tab to this extra column. This will generate sequential number. But the number starts from zero. You can add one to it in the transformer anbu, But it's running on multiple node so what would happen e...
by dsa
Wed Oct 13, 2010 10:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal Date
Replies: 10
Views: 3457

input is decimal

i ma getting very much confused now :(

how would it know in the example i gave in my first question in this thread that it has to take these values as dates to compare them to get maximum or minimum value :roll:
by dsa
Wed Oct 13, 2010 10:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sequence number generation
Replies: 7
Views: 3824

sequence number generation

Hi All,

I need to generate sequence number in my input file. say if i have 10 records they should have sequence number 1, 2, ,3 .... 10. the file is being run on 5 node configuration system. how can I assign it while file is being split between 5 nodes?
by dsa
Wed Oct 13, 2010 1:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal Date
Replies: 10
Views: 3457

no no

it was date which had been read as decimal only. now i asked character because you talked about string comparison. Date came from the example you gave that string can be compared but the example you gave was of a date so it had to be read in as date right?
by dsa
Tue Oct 12, 2010 9:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal Date
Replies: 10
Views: 3457

Although you can test it for yourself in a couple of minutes, the answer is that you can do string comparisons, e.g. "2010-01-23" < "2010-01-26". In your case the format is YYYYMMDD so a greater/less than comparison will work. But for that variable is to be defined as date right...
by dsa
Mon Oct 11, 2010 11:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal Date
Replies: 10
Views: 3457

can we do a string comparison in data stage

as in suppose stagevar1 = "abc" and stagevar2 = "fgh"

so if I do

stagevar1>stagevar2

what would be the answer I would get?
by dsa
Mon Oct 11, 2010 10:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: node setting
Replies: 11
Views: 2793

Thanks for the inputs !!!