Search found 370 matches

by qutesanju
Mon Dec 24, 2012 2:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Otherwise/Log dosent catch reject
Replies: 5
Views: 2216

I assume by clicking on otherwise/log will include otherwise /log rows
And it has reject link also,

so not sure about your post (@ray.wurlod )

please correct me
by qutesanju
Mon Dec 24, 2012 2:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NOT IN in datastage
Replies: 16
Views: 9102

so can someone shows correct function with arguments?
by qutesanju
Mon Dec 24, 2012 2:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Otherwise/Log dosent catch reject
Replies: 5
Views: 2216

Yes in link ordering I can see order as

Code: Select all

link label                    link name
output1                       lnk_insert1
output2                       lnk_insert2
output3                       lnk_insert3
output4                       lnk_insert4
unnamed1 reject               lnk_reject_final
by qutesanju
Mon Dec 24, 2012 1:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NOT IN in datastage
Replies: 16
Views: 9102

I tried alternative approach which is

lnk_xfmr_target.DIR ='IN' AND lnk_xfmr_target.CD_FLAG ='D'
AND Index('|ARC|PPD|CCD|CTX|COR|DNE|','|':lnk_xfmr_target.CLASS:'|') < 1

but it shows
not enough arguments to function index
by qutesanju
Mon Dec 24, 2012 1:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Otherwise/Log dosent catch reject
Replies: 5
Views: 2216

Otherwise/Log dosent catch reject

Otherwise/Log dosent catch reject I defined few expression in transformer and I clicked on Otherwise/Log,however after runnning a job reject link dosent shows any rejected rows. So i checked in source lets say 100 rows are coming and in target only 80 rows matched to expression given in transformer,...
by qutesanju
Fri Dec 21, 2012 12:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NOT IN in datastage
Replies: 16
Views: 9102

perfect james i m thinking which one is correct in below two 1) lnk_xfmr_target.DIR ='IN' AND lnk_xfmr_target.CD_FLAG ='D' AND (lnk_xfmr_target.CLASS <> 'ARC' and lnk_xfmr_target.CLASS <> 'PPD' and lnk_xfmr_target.CLASS <> 'CCD' and lnk_xfmr_target.CLASS <> 'CTX' and lnk_xfmr_target.CLASS <> 'COR' a...
by qutesanju
Fri Dec 21, 2012 11:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NOT IN in datastage
Replies: 16
Views: 9102

NOT IN in datastage

there is a SQL query select * from table1 where DIR ='IN' AND CD_FLAG ='D' AND CLASS NOT IN ( 'ARC','PPD','CCD','CTX','COR','DNE') so i'm trying to implement above query in datastage and i implemented it in transformer as lnk_xfmr_target.DIR ='IN' AND lnk_xfmr_target.CD_FLAG ='D' AND (lnk_xfmr_targe...
by qutesanju
Thu Dec 20, 2012 2:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Field 'column name' has keyprep export buffer overrun error
Replies: 1
Views: 12672

Its resolved i corrected metadata and selected equal length at both side,however my assumption is that lookup should work for varchar datatype for both sides of data
by qutesanju
Wed Dec 19, 2012 2:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: numeric argument of built-in string function is out of range
Replies: 0
Views: 3912

numeric argument of built-in string function is out of range

Hi I am using DB2 Connectore stage for lookup and source as oracle reject file in lookup is a sequential file stage. i wrote a user defined query in lookup as SELECT I_BK_SWIFT_ABA, N_BK, I_BK_CITY, I_BK_ST, I_BK_CNTRY FROM #DBR_PARAM.$DB2_SCHEMA#.SWIFT_ABA_AC WHERE F_SWIFT = 'N' but here after job ...
by qutesanju
Tue Dec 18, 2012 10:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid property value DB2
Replies: 4
Views: 2582

This issue is resolved,actually query was having wrong table names,
thanks MT/Michel for rectifying this
by qutesanju
Mon Dec 17, 2012 10:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid property value DB2
Replies: 4
Views: 2582

how to verify this query?
is there any db2 query tool ? that i can see and can check its working ?
by qutesanju
Mon Dec 17, 2012 4:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid property value DB2
Replies: 4
Views: 2582

Invalid property value DB2

I have an extraction job from DB2. The query is as below SELECT I_AC_AML as I_AC_AML, N_AC as N_AC, RIGHT('00000000000000000000000'||RTRIM(I_AC_AML_SH),23) as I_AC_AML_SH, I_SRC_SYS as I_SRC_SYS FROM #AML_ACH_DBR_PARAM.$AML_DB2_SCHEMA#.NTS.AML_AC AML_AC.AML_AC WHERE I_UAF_SEQ <>8330000 It works fine...
by qutesanju
Fri Dec 14, 2012 12:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: connector could not establish a connection to DB2 database
Replies: 2
Views: 2658

connector could not establish a connection to DB2 database

When i tried to run the one seq job, it aborted with an error The connector could not establish a connection to DB2 database DSNBDB using user zdsamlt. i checked db2 user id and password ,they worked well before few days just wondering what would have happened or is there any place i can check in da...
by qutesanju
Mon Nov 26, 2012 1:35 pm
Forum: General
Topic: routine Warning
Replies: 1
Views: 1180

routine Warning

I removed few coding from routine which was not needed, but its giving a warning saying-- Assignment to variable Total_Data_Record_Count on line 19 will modify an input argument. If input link column variables are used as arguments to this routine then DataStage runtime may fail. what does this mean...
by qutesanju
Mon Nov 26, 2012 1:23 pm
Forum: General
Topic: Comment in DS routine?
Replies: 2
Views: 1509

Comment in DS routine?

how to comment out code in DS routine?

does it #
or /*.....*/
or //

?
please suggest?