Search found 38 matches

by kalpanam
Fri Mar 04, 2011 1:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I need to implement the below logic
Replies: 9
Views: 6537

Good Logic :idea:
Thanks For your response....

Could you please explain me the Job3 and how to check the Rej file whether it has 0 records(that means condition to break the loop).

Thanks & Regards,
Kalpana.
by kalpanam
Thu Mar 03, 2011 3:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I need to implement the below logic
Replies: 9
Views: 6537

Hi Ray,

To the maximum we will have the refrence date less than any date on the input stream....

Thanks & Regards,
Kalpana.
by kalpanam
Thu Mar 03, 2011 1:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I need to implement the below logic
Replies: 9
Views: 6537

Ravi.K wrote:Is there any limit to check back dates or until match is found we need to check for back dates.
Thanks a lot for your quick response.

There is no limit in back dates checking.....we need to do back dates check until match is found.

Thanks & Regards,
Kalpana.
by kalpanam
Thu Mar 03, 2011 12:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I need to implement the below logic
Replies: 9
Views: 6537

I need to implement the below logic

Hi All, I Need to implement below logic,Please help me out.I have the SOURCE and REFERENCE tables as below: SOURCE DATE Store Sku 1-Dec-10 A 1 2-Dec-10 B 1 3-Dec-10 C 1 3-Dec-10 B 2 3-Dec-10 B 1 REFERENCE DATE Store Sku Price 1-Dec-10 A 1 10 3-Dec-10 A 1 7 5-Dec-10 A 1 10 1-Dec-10 A 2 12 1-Dec-10 B ...
by kalpanam
Wed Mar 02, 2011 1:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to implement below logic in datastage 8.1
Replies: 3
Views: 2553

Need to implement below logic in datastage 8.1

HI All, I need to implement below logic in datastage.Please help me out.I have my input data as: History Date Store Sku Price 1-Dec-10 A 1 10 1-Dec-10 A 2 12 1-Dec-10 B 1 5 1-Dec-10 B 2 8 1-Dec-10 C 1 15 2-Dec-10 A 1 10 2-Dec-10 A 2 12 2-Dec-10 B 1 5 2-Dec-10 B 2 8 2-Dec-10 C 1 15 3-Dec-10 A 1 7 3-D...
by kalpanam
Tue Feb 08, 2011 3:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row comparison
Replies: 3
Views: 2595

Stage variables or upstream Sort stage for detecting key change. Other stage variables for maintaining page number for output. Note that you cannot look ahead, only back. But you could sort your da ... Could you please explain me in detail.that will be more helpfull to me to proceed further. Thanks...
by kalpanam
Tue Feb 08, 2011 1:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row comparison
Replies: 3
Views: 2595

Row comparison

Hi All, I have input data as below: SESSION ID PAGE NUMBER PAGE_NAME 123 1 akajak 123 3 lkuibgt 123 7 opgyt 567 1 hagdljkh 890 1 haklik 890 4 kuioud 890 7 jhkljkl I need to implement "IF next record is the same Session_ID, then take Page_Number from the next record, subtract 1 from this Page_Nu...
by kalpanam
Fri Feb 04, 2011 1:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling Nulls
Replies: 8
Views: 6056

Re: Handling Nulls

First Thanks for your quick response... I'm not getting what u said... I need the output as 123,asdf,456,lkjh 234,lkjhg,NULL,NULL NULL,NULL,987,mnbv to one output and NULL,NULL,NULL,NULL NULL,NULL,NULL,NULL to another dataset.How can i perform this by using transformer stage? Thanks & Regards, k...
by kalpanam
Fri Feb 04, 2011 1:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling Nulls
Replies: 8
Views: 6056

Handling Nulls

HI all, I have issue in handling NULLS..here is the problem description: I'm having input data as: SHOP_ID,SHOP_DESC,DEPT_ID,DEPT_DESC 123,asdf,456,lkjh 234,lkjhg,NULL,NULL NULL,NULL,NULL,NULL NULL,NULL,987,mnbv NULL,NULL,NULL,NULL I need to filter out all the null values records and only need to ou...
by kalpanam
Wed Dec 29, 2010 2:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in reading file with field default quotes,sequential
Replies: 3
Views: 2108

srinivas.g wrote:Use sed command in filter tab
Thanks for your reply.Can you please tell me the command in detail.
Thanks & Regards,
Kalpana.
by kalpanam
Wed Dec 29, 2010 1:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in reading file with field default quotes,sequential
Replies: 3
Views: 2108

Error in reading file with field default quotes,sequential

Hi all, I'm reading csv file using Sequential file stage with the following format: Final Delimiter=end Field Delimiter=comma Quote=double but in the source data i'm having "" with in the field itself where sequential file stage reading it as seperate field for example my source is like: P...
by kalpanam
Wed Dec 15, 2010 2:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handle_null() using modify stage
Replies: 1
Views: 1701

Handle_null() using modify stage

Hi all, I'm trying to do conversion from string to time.In the input i'm having HOUR_OF_DAY(varchar) nullability as null.first i need to handle null values and then want to convert. In th input i'm having values as HOUR_OF_DAY 4:00Am 8:00pm 6:00pm 9:00pm like wise i'm getting spaces in between.How c...
by kalpanam
Tue Dec 14, 2010 6:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in retrieving records using look up
Replies: 1
Views: 1751

Error in retrieving records using look up

Hi All, I'm facing issue while doing look up of sequential file and dataset file. Actually In source I'm using Sequential file with Session_id(varchar),Page_number(varchar),Hour_of_day(varchar) columns and same columns coming from reference dataset file but unique records. I'm doing look up on SESSI...
by kalpanam
Wed Oct 27, 2010 11:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading error in DB2
Replies: 7
Views: 3878

Hi Kalpana, The data is loading properly in DataSet but not in DB2 table. It will work in Dataset when you copy the input link into dataset output link in which case both will have the same datatype as bigint. Maybe you are trying to push the BigInt datatype into Int column in DB2. Check it and let...
by kalpanam
Wed Oct 27, 2010 10:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading error in DB2
Replies: 7
Views: 3878

ArndW wrote:Is the column nullable in datastage? What is the data type of the target DB2 column? ...
Hi ,

The column is nullable in datastage and the datatype in DB2 is "INTEGER".

Thanks & Regards,
Kalpana.