Search found 88 matches

by dprasanth
Thu Mar 02, 2006 7:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup not returning the right row
Replies: 7
Views: 1433

ray.wurlod wrote:What key are you using for the lookup? if its only 1234 - note that all of these have 1234 - then the first one found is returned. You need more specific information for this kind of lookup.
I am using Make and incorrectmodel as Key
by dprasanth
Thu Mar 02, 2006 7:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup not returning the right row
Replies: 7
Views: 1433

Lookup not returning the right row

Hi, I am facing a strange problem when using OCI lookups. I am having an oracle table which has all the makes and models of cars. The table has three columns acutalmake, acutalmodel, incorrectmodel For eg MAZDA MX-3 MX3 MAZDA MX-5 MX5 MAZDA MX-6 MX6 MAZDA RX-7 RX-7 MAZDA RX-8 RX8 We have a file that...
by dprasanth
Wed Nov 30, 2005 6:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RT_CONFIG 1342 - Unable to write record to file
Replies: 4
Views: 6121

Re: RT_CONFIG 1342 - Unable to write record to file

Hi, When I am trying to save or compile jobs, I am getting this eeror - Unable to write record <Job Name> to file RT_CONFIG 1342 This has been happening frequently now, and has been hampering my developmnet a lot. An someone please tell me what this error is, or how this can be dealt with. Once thi...
by dprasanth
Wed Nov 23, 2005 7:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FOLDER Stage-Read multiple input and get multiple output
Replies: 4
Views: 1322

If the format of the file is same, then following can be done: The job will take the file name as parameter and will use this job parameter while reading the file thro' folder stage and at a time will process only one file. Write a shell script, which should be called to check if any file is in dir...
by dprasanth
Wed Nov 23, 2005 3:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FOLDER Stage-Read multiple input and get multiple output
Replies: 4
Views: 1322

If you are having 2 cols in folder stage: 1st as filename and 2nd as column which will contain the XML doc then... After the folder stage instead of putting XML stage, put a transformer. Folder stage has 2 columns as output: 1st filename and 2nd column which will contain the XML data. In the transf...
by dprasanth
Tue Nov 22, 2005 7:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FOLDER Stage-Read multiple input and get multiple output
Replies: 4
Views: 1322

FOLDER Stage-Read multiple input and get multiple output

Hi I have a problem with using folder stage. I am using a folder stage to pick up multiple xml files and convert them to CSV files. So this is my job FOLDER STAGE --->XML Reader---> Sequential File stage My problem is, I have multiple XML files in the folder that I am using. So I need to read each x...
by dprasanth
Tue Nov 15, 2005 5:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML to seq (flat file)
Replies: 10
Views: 5369

I did try the folder stage before. But I was getting other problems such as Unable to open folder containing teh file xx. Also with the foder stage I was unable to even get it validated. tried the seq and at minimum I got it validated, just having this final problem about XML source column. Even I ...
by dprasanth
Tue Nov 15, 2005 5:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: oraoci9.dll error
Replies: 3
Views: 1515

Did you restart the DS services after adding the entries. Even I had faced the same problem. So what has to be done is , after adding the entries, RESTART THE DS services.
Hope this helps
by dprasanth
Tue Nov 08, 2005 5:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: server job failing due to ds_loadlibrary: error in dlopen
Replies: 4
Views: 2668

Re: server job failing due to ds_loadlibrary: error in dlope

Hi all I am facing a problem with on e of the server job. I can see the following info in the log. stastaXelusPLNREQMTExt..xfmMap1: C Stage PlugIn function "Get" required stastaXelusPLNREQMTExt..xfmMap1: |-2| ds_loadlibrary: error in dlopen This job is having DB2 plugin and also I am not ...
by dprasanth
Tue Nov 01, 2005 8:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Derive columns with multiple sql statement
Replies: 16
Views: 5285

Ever seen SQL like this? select (select count(1) from your_attendance table yat where yct.customer_key=yat.customer_key and some_criteria... ) "FIRST_METRIC", (select count(1) from your_attendance table yat where yct.customer_key=yat.customer_key and some_other_criteria... ) "SECOND_...
by dprasanth
Tue Nov 01, 2005 8:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Derive columns with multiple sql statement
Replies: 16
Views: 5285

Really easy once you get used to it.... Select a.Count as FIRST, b.TOTALCALC as Second from (SELECT COUNT(*) COUNT FROM RNKT0.ATTENDANCE ATTENDANCE WHERE ATTENDANCE.CUSTOMER_ID = :1 ) a, (select count(distinct(CLUB_ID)) TOTALC FROM RNKT0.ATTENDANCE ATTENDANCE WHERE ATTENDANCE.CUSTOMER_ID = :1) b Ex...
by dprasanth
Tue Nov 01, 2005 8:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Derive columns with multiple sql statement
Replies: 16
Views: 5285

Ever seen SQL like this? select (select count(1) from your_attendance table yat where yct.customer_key=yat.customer_key and some_criteria... ) "FIRST_METRIC", (select count(1) from your_attendance table yat where yct.customer_key=yat.customer_key and some_other_criteria... ) "SECOND_...
by dprasanth
Tue Nov 01, 2005 8:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Derive columns with multiple sql statement
Replies: 16
Views: 5285

If you want to improve the performance of the queries without using temp tables (depending upon the DBMS being used) , you could rewrite the query that Ken proposed to put the queries into the from clause instead of the select clause. That will improve performance on DB2 and Oracle normally. Accord...
by dprasanth
Tue Nov 01, 2005 7:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Derive columns with multiple sql statement
Replies: 16
Views: 5285

PhilipDuPlessis wrote:Point taken... Ken has it spot on in terms of the performance on the query.
Thanks a lot for all your suggestions
by dprasanth
Tue Nov 01, 2005 7:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Derive columns with multiple sql statement
Replies: 16
Views: 5285

Ever seen SQL like this? select (select count(1) from your_attendance table yat where yct.customer_key=yat.customer_key and some_criteria... ) "FIRST_METRIC", (select count(1) from your_attendance table yat where yct.customer_key=yat.customer_key and some_other_criteria... ) "SECOND_...