Search found 531 matches

by prasson_ibm
Tue Jul 10, 2012 12:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pattern matching job
Replies: 6
Views: 2883

pattern matching job

Hi, I have requirement to search the sub string in the reference data.I have to check the existence of substring in the lookup master table.If it is present then process the record otherwise reject. For this i have created the "Sparse Lookup" job in which i have source and reference has OD...
by prasson_ibm
Thu Apr 19, 2012 5:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: provide logic to find rank
Replies: 17
Views: 7849

Since your sort stage is running in sequential mode,so in case you apply same partition in transformer,it will run sequenctially.In transfromer all data will contains in node0 probably.


Thanks
Prasoon
by prasson_ibm
Thu Mar 29, 2012 2:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reference link data to be passed
Replies: 9
Views: 3536

You can use Merge stage and make sure that no duplicate is there in main main link.
by prasson_ibm
Wed Mar 28, 2012 3:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove Duplicate using hash
Replies: 2
Views: 1356

Hi Ray,

Yest i checked the job score,and Tsort operator is autometically inserted.

Thanks for your reply.
by prasson_ibm
Wed Mar 28, 2012 2:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove Duplicate using hash
Replies: 2
Views: 1356

Remove Duplicate using hash

Hi All, I have 18 lakhs duplicate records on GRP column and in that 9 distinct records are there.I am using remove duplicate stage and i have explicityl specifited hash on key col and not sort.Its working fine. My confusion is according to document,Remove duplicate stage need sorted data and hashed ...
by prasson_ibm
Mon Mar 19, 2012 11:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Buildup error
Replies: 3
Views: 2997

Hi Ray,

Sorry for the typo,yes it is buildop....

Do you want me to add input and output port names with the code.
like

Code: Select all

BeforeTaxAmount = InRec.Qty * InRec.Price; 

Tax = InRec.TaxRate * BeforeTaxAmount; 

Amt = BeforeTaxAmount + Tax; 

OutRec.Amt = Amt * Exchange;
by prasson_ibm
Mon Mar 19, 2012 7:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: read column with new line characters
Replies: 3
Views: 1508

You can remove that new line using below unix command:-

Code: Select all

awk -F"delimiter" 'NF<10{printf("%s",$0);getline;print;next}1'
by prasson_ibm
Mon Mar 05, 2012 11:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conversion from source type "uint64" to result typ
Replies: 7
Views: 3432

Hi All,

Thanks a lot for your replies. I feel instead of adding one more stage,we can handle it in Message Handler.
by prasson_ibm
Mon Mar 05, 2012 2:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conversion from source type "uint64" to result typ
Replies: 7
Views: 3432

Hi Ray,

I have already specified CL_ID in SKEY as "UNSIGNED".It seems sarrogate key is creating CL_ID as "Unsigned" and on target table CL_ID is bigint which is signed.

If it is correct,is there any way i can create CL_ID in skey as Signed...??


Thanks
by prasson_ibm
Mon Mar 05, 2012 12:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conversion from source type "uint64" to result typ
Replies: 7
Views: 3432

conversion from source type "uint64" to result typ

Hi All, I constructed one job where my target table is my sql. I am creating sarrogate key using skey stage col. name CL_ID and loading into the target table. But i am getting below warning :- ODBC_CvNew_Ins: When checking operator: When binding input interface field "CL_ID" to field "...
by prasson_ibm
Fri Feb 24, 2012 12:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Default type of record in lookup fail
Replies: 4
Views: 1624

Re: Default type of record in lookup fail

kandyshandy wrote:
prasson_ibm wrote:

Code: Select all

if (isnull(EEFF_DT) or trim(WEFFDT)='') then '1999-12-31 00:00:00.0000000' else WEFFDT
Did not this expression throw any error at the first place? At one spot EEFF_DT and WEFFDT at the other...

Sorry there was a typo in the code.
by prasson_ibm
Thu Feb 23, 2012 8:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Default type of record in lookup fail
Replies: 4
Views: 1624

Default type of record in lookup fail

Hi, I have source date as ID(Integer) nullable=No I am doing lookup with reference column ID(Integer) and passing WEFF_DT(Timestamp,Microsecond) Nullable=No with lookup condition =Continue For unmatched ID i am getting null in WEFF_DT which i need to handle. I am applying below null handing in trans...
by prasson_ibm
Mon Jan 16, 2012 3:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle this logic?
Replies: 21
Views: 8879

Re: How to handle this logic?

After Filter also apply remove duplicate with condition "Duplicate to Retain=Last"


Thanks
Prasoon
by prasson_ibm
Mon Jan 16, 2012 3:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle this logic?
Replies: 21
Views: 8879

Re: How to handle this logic?

Hi, You can achieve this output by below design:- Seq Input---->Sort----->Transformer---->Filter------>Seq Output Step1:- Read data from seq. file. Step2:- Sort input data based on Acct_no(desc) and Rec_No(asc) Step3:- Create these stage veriables CURR=Input.RECNO DIFF=if (PREV-CURR)<> 1 then 0 else...
by prasson_ibm
Mon Dec 12, 2011 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling issue
Replies: 2
Views: 1643

Null handling issue

Hi all, I have job design where data is written to seq file with "UNKNOWN" whwerever null is coming from the source. While reading the file given null field value='UNKNOWN' in format tab so this will convert all 'UNKNOWN' data to null in seq file. My source data coming as 'UNKNOWN' ,so my ...