Search found 49 matches

by ghostraider
Tue Nov 06, 2007 4:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Excel File on different server
Replies: 8
Views: 4657

It should work, but I can't test or answer that for you. If it won't work for (simple) MSQuery then it won't work for (complex) DataStage. Have you looked in the web or the ODBC documentation to see if this is supported functionality? ArndW, i have searched on google with the error i got. It is the...
by ghostraider
Thu Nov 01, 2007 5:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Excel File on different server
Replies: 8
Views: 4657

And by the way, i tried converting the same excel sheet to a .csv file but i couldn't read it either. I am thinking i don't have the necessary permissions to read from that server using datastage.
by ghostraider
Thu Nov 01, 2007 5:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Excel File on different server
Replies: 8
Views: 4657

Ignore DataStage for the moment. If you can't get it to work with MSQUERY then you won't get it to work in DataStage. When i try reading data from excel using msquery i do not see any DSNs i have created. Fix this first. Did you specify a system DSN? I did specify the system DSN, but will i be able...
by ghostraider
Thu Nov 01, 2007 10:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Excel File on different server
Replies: 8
Views: 4657

Try approaching it from a different angle. Try to read the excel file on a remote machine using your DSN from another tool, i.e. msquery. If it works then the error is in DataStage realm; if it doesn't work then you have an ODBC limitation (I believe that this is going to be the case). When i try r...
by ghostraider
Wed Oct 31, 2007 7:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Excel File on different server
Replies: 8
Views: 4657

Excel File on different server

Hello all, i have to use excel file as a source in one of my jobs and i am doing it using ODBC. I am able to read the file when it is placed on DataStage Server but not able to read if it is on a mapped network drive. That is the file originally is on a different server and i have a copy of it on my...
by ghostraider
Tue Sep 25, 2007 7:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calculating Days
Replies: 9
Views: 3847

:? So... not strictly chronological as I assumed where all you need is the number of days between any two status changes. Rather, for each Id you need a series of day counts between specific status changes? And when you said: "I need to calculate days for status change from 5 to 28, 5 to 27, 5...
by ghostraider
Tue Sep 25, 2007 7:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calculating Days
Replies: 9
Views: 3847

ray.wurlod wrote:Yes.

Though I'd be curious about what a negative interval actually means, in a business sense. ...

Ray, the negative interval has to be ignored. The dates entered by the users were not right and that is why the negative number of days.
by ghostraider
Mon Sep 24, 2007 9:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calculating Days
Replies: 9
Views: 3847

Calculating Days

Is it possible after sorting if my data is in the following format. ID Status Date 1 28 2007-08-20 1 27 2007-08-10 1 26 2007-07-10 1 25 2007-08-20 1 11 2007-07-15 1 10 2007-07-10 1 5 2007-07-05 1 4 2007-07-17 1 2 2007-07-12 1 1 2007-07-13 Now this is after i have sorted the ID in ascending and Statu...
by ghostraider
Sun Sep 23, 2007 4:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calculating Days
Replies: 9
Views: 3847

Calculating Days

Hi all, my data is in the following format. Id Status Date 1 28 2007-09-24 1 5 2007-08-20 1 11 2007-09-15 1 27 2007-08-22 2 27 2007-09-22 2 5 2007-08-19 2 4 2007-08-20 2 1 2007-08-25 I need to calculate the number of days between the status changes. For example if status of Id 1 changes from 5 to 27...
by ghostraider
Wed Aug 01, 2007 9:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Description for max date
Replies: 1
Views: 1239

Description for max date

I have the following data Number 123 123 123 223 223 223 333 333 Date 2007-08-01 2007-08-01 2006-06-03 2007-07-31 2007-07-31 2006-06-06 2007-08-01 2007-08-01 So there are three fields altogether with another field GRADE. I look up this Grade with a Grade value from the hashed file. For each match of...
by ghostraider
Wed Aug 01, 2007 8:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup Vs Join
Replies: 1
Views: 1370

Lookup Vs Join

I have three tables A,B,C coming from sql server database. Tables have the following columns TABLE A Apply ID Apply Desc Apply DOB User ID TABLE B User ID UserName TABLE C User ID City Zip I have to first map USER ID from Table A with Table B and then map Table C to get an output similar to below. O...
by ghostraider
Tue Jul 03, 2007 7:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Row with Max Date
Replies: 5
Views: 2321

PNumber TDate 1100 2003-12-04 1100 2004-12-05 1200 2004-11-06 1200 2004-11-01 so for the above data, if i sort date by dsc order, and then use 'If @Inrownum=1 Then Lookup. Description Else @Null' will i get the following output. PNumber TDate Descritption 1100 2004-12-05 Description 1100 2003-12-04 ...
by ghostraider
Mon Jul 02, 2007 11:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Row with Max Date
Replies: 5
Views: 2321

I used the sort stage, now how do i get the PNumber with the max date each time. The first row will have the max TDate and Pnumber, but how do i use @INROWNUM=1 for the other Pnumber values with max date. Could you please explain. Thanks Like most problems, I'm sure this has multiple solutions. Off ...
by ghostraider
Mon Jul 02, 2007 6:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Row with Max Date
Replies: 5
Views: 2321

Row with Max Date

Hi all, I have two fields named PNumber and TDate coming from the source(Sql Server). The data is similar as shown below PNumber TDate 1100 2003-12-04 1100 2004-12-05 1200 2004-11-06 1200 2004-11-01 Now i need to do a lookup with another file which has a Description and Location Field. The Descripti...
by ghostraider
Tue Mar 27, 2007 8:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSJobStartTime
Replies: 4
Views: 3476

DSJobStartTime

Hi All,

I have 5 jobs which are already developed and i neet to put them in a sequence. I have to populate the start time of the first job in all the remaining jobs. Can someone tell me how to do it using GetDSJobInfo.

Thanks much