Search found 162 matches

by laknar
Wed Dec 03, 2008 10:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Achieve this Logic?
Replies: 17
Views: 4807

I have two tables one is code and another is Customer. Number Code CustID 123456 12 123 123456 22 234 CustID Address 123 laknar 234 standard if code starts with 2 then corresponding address from customer table. if code starts with 1 then address column of code[1,1]='2'. this is my logic.please advic...
by laknar
Wed Dec 03, 2008 10:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Achieve this Logic?
Replies: 17
Views: 4807

I have two tables one is code and another is Customer. Number Code CustID 123456 12 123 123456 22 234 CustID Address 123 laknar 234 standard if code starts with 2 then corresponding address from customer table. if code starts with 1 then address column of code[1,1]='2'. this is my logic.please advic...
by laknar
Wed Dec 03, 2008 10:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Achieve this Logic?
Replies: 17
Views: 4807

Hi,

I want to sort some columns and order by descending.
number,code
and i want to keep the same sort in following stages.
by laknar
Wed Dec 03, 2008 9:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Achieve this Logic?
Replies: 17
Views: 4807

Hi,

.
if CustID[1,1] = '2' then Address
Else if CustID[1,1] = '1' then StageVar1
else setnull

for above logic what sort is required.

order by number,code desc

shall i enable the sort in the transformer stage.
by laknar
Wed Dec 03, 2008 9:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: One row into multiple rows
Replies: 3
Views: 1291

Hi,

Search with vertical pivot.
by laknar
Wed Dec 03, 2008 8:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Achieve this Logic?
Replies: 17
Views: 4807

Hi, i believe the stage variable will only hold current processing data and it will not go back to previous data. loop will run when in sequential mode. f CustID[1,1] = '1' then we have to go for CustID[1,1] = '2' address values. if not correct please correct me. or shall i have corresponding code 2...
by laknar
Wed Dec 03, 2008 4:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Achieve this Logic?
Replies: 17
Views: 4807

How to Achieve this Logic?

Hi All, I have two tables one is code and another is Customer. Number Code CustID 123456 12 123 123456 22 234 CustID Address 123 laknar 234 standard I have to write a logic if code starts with 1 the populate corresponding Address column based on CustID strucked with the second logic else if code sta...
by laknar
Tue Nov 25, 2008 2:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Adding the amount column value from Sequencial file.
Replies: 4
Views: 2433

From source itself im getting as decimal value.
how can i convert.
please suggest me.
by laknar
Tue Nov 25, 2008 12:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Adding the amount column value from Sequencial file.
Replies: 4
Views: 2433

Adding the amount column value from Sequencial file.

Hi, I'm reading from fixed width file. in that i have a amount column starts with + or - i.e -10.00 -12.12 +14.98 +25.78 im reading the file as squential mode. i want to sum the column + seperately and - values seperately. and finally differences for + values and -Values. how can i acheive this.
by laknar
Tue Nov 18, 2008 10:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting the source data into timestamp
Replies: 2
Views: 937

Converting the source data into timestamp

Hi,

how to convert this into (13 NOV 2008 21:06) timestamp format
by laknar
Wed Sep 17, 2008 10:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get matched records between two columns
Replies: 15
Views: 6718

Use NOT in Query to select unmatched rows.
(or)
Check for Null values in Transformer and then populate
by laknar
Sun Sep 14, 2008 10:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fileset Lookup failure - null column data
Replies: 3
Views: 2038

It seams like records not joined.
Better to trim the key columns when creating lookup file set.
Use Trim function in Source also.

Regards,
LakNar
by laknar
Sun Sep 14, 2008 10:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem while making the columns in a transformer nullable
Replies: 6
Views: 1908

do u have any contstraints in Transfermer Stage.
by laknar
Sun Sep 14, 2008 10:00 pm
Forum: General
Topic: Ascential Datastage 7.5 Server Job Performance Issue
Replies: 3
Views: 3450

Hi ann_nalinee,

Check the Transaction size of DB2 input Tab.
try to split insert and update.
for update and insert the default should be 1.
hence this checking for each and every record.

or better use before sql to delete entire table and load.

Regards,
Laknar
by laknar
Thu Sep 11, 2008 2:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can we call UniX Scripts in Jobs(Not in Sequence)
Replies: 4
Views: 2390

Hi Ray,

two doubts one is regarding Null Handling.
Another is UNIX Script in Jobs both in row level and One time execution.
Please suggest me.