Search found 13 matches

by forboy
Wed Dec 06, 2006 5:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Which stage(stages) to use
Replies: 1
Views: 1059

Which stage(stages) to use

Hi, Can any body help me here . I have the data in the table like below. Key1 Key2 code(Key3) status A 1 X IN A 1 Y IN A 1 Z OUT B 2 M IN B 2 N IN B 2 O OUT How can I get the results like below. col1 col2 col3(all codes seperated by comma) col4(codes where status = IN) A 1 X,Y,Z X,Y B 2 M,N,O M,N wh...
by forboy
Mon Jul 17, 2006 2:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help in korn shell scripting...
Replies: 9
Views: 4221

Re : Help in korn shell scripting...

oops sorry its



sh b.sh 2>&1 >> /work/log/a_log.txt
sh b.sh

That should do it.

Forboy
by forboy
Mon Jul 17, 2006 2:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help in korn shell scripting...
Replies: 9
Views: 4221

Re : Help in korn shell scripting...

Basically you issue two commands in a.sh

sh b.sh 2>&1 >> /work/log/a_log.txt
sh b.sh 2

That should do it.

Forboy
by forboy
Fri Jun 09, 2006 11:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage PX on Windows XP
Replies: 11
Views: 4705

Server Version 7.5.2 is available and we have been using it for the last two months.
by forboy
Tue May 02, 2006 2:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NULL value handling in Transformer
Replies: 2
Views: 3153

Re: NULL value handling in Transformer

Yes,

Columns must be checked for isNull function before checking to another value. I did many complex calculations in the transformer and experienced the same thing.

One more thing null values can not be assigned to the stage variables in PX.

forboy
by forboy
Wed Apr 12, 2006 10:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error executing a Parallel routine
Replies: 5
Views: 2249

compile using the following command


/usr/vacpp/bin/xlC_r -+ -O -g -c{C prog Name} -o{object file name}


This is only for IBM AIX.
by forboy
Mon Apr 10, 2006 12:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic lookup to table
Replies: 3
Views: 1661

Cant you lookup on the table that is being updated. If you are using a DB2 table then you cannot read from the table at the time of an update because a table level lock occurs. You will have to run the jobs sequentially in that case. I guess lookup gets all the records into memory when the job is s...
by forboy
Mon Apr 10, 2006 10:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic lookup to table
Replies: 3
Views: 1661

Dynamic lookup to table

How can I do a dynamic lookup.

I have a situation where Iam looking up a table and and table is constantly getting updated by some other job. I need these updated values reflected in the lookup as both the job runs at same time.


Thank You
Forboy
by forboy
Fri Mar 24, 2006 9:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Teradata stored Procedure error
Replies: 1
Views: 1503

Teradata stored Procedure error

Hi, Iam Using stored procedure stage in Datastage 7.5.1. I want to call Teradata stored procedure and procedure type is transform. Can I call Teradata stored procedure because in the Database vendor it displays -- Oracle, DB2 and Sybase only. I tried using these vendors I got the follwoing error. St...
by forboy
Sun Mar 13, 2005 9:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: px stage variable
Replies: 2
Views: 1568

thanks roy,

Iam just wondering can we assign @true for a decimal, because my calculations comes like this
a * b =c c is a stage varible (decimal)

if a or b are null then it should be set to null, I can't use c in regular varible because Iam using c again in many calculations.
by forboy
Sat Mar 12, 2005 10:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: px stage variable
Replies: 2
Views: 1568

px stage variable

hi,

Iam using parallel trasnformer in which Iam using 20 stage variables for complex calculations,If one of the input variable coming is null, then I got to set entire thing to null, but px stage varible doen't allow null values assigning to it, How can I do it.
by forboy
Tue Jan 25, 2005 1:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: cannot give exclusive permissions......A strange problem
Replies: 5
Views: 2902

cannot give exclusive permissions......A strange problem

Hi, I have Strange question, When I try to compile one of my job, I get an error saying that "cannot give exclusive permissions......". Strange thing is i am able to export the same job from the DS Manager. I checked on unix , closing all the data stage processes for DSSLAVE_API.I see no p...
by forboy
Mon Oct 04, 2004 6:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: calling a script
Replies: 1
Views: 1556

calling a script

Hi, I new to DS, anybody help me with solution for this, I have source coming from text file and DB2 table. target is DB2 table. I have straight move from text file, but from DB2 table I need to get only one column which is date, I need to get latest date from it, these two sources( text file and DB...