Search found 70 matches

by lebos
Wed May 31, 2006 9:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC for Oracle 10g
Replies: 6
Views: 4774

OK, I think I just discovered why ODBC and Oracle 10g won't work. It is quite simple: There is no ODBC driver for Oracle 10g. I've been using the Oracle Wire driver and it does not work. Maybe I'll try the non-wire driver just for kicks.

Larry
by lebos
Wed May 31, 2006 9:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC for Oracle 10g
Replies: 6
Views: 4774

Why not go native? Because the native Oracle OCI stage does not support "Long" data types. Sure they should be converted, but we can't stop the world until that happens! I have used ODBC with Long data before Oracle 10g, but can't read such data in 10g. Actually, I can't read any 10g table...
by lebos
Tue Sep 13, 2005 11:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading Parameters From Database directly
Replies: 14
Views: 14461

'M_FTP_MXG2000_Read_Lnk.PARAMETER_NAME' needs to be the actual parameter name, not an input link which contains the parameter name. The parameter value would be read from the db in a db stage and passed into the Transformer where it can be accessed. And yes, you do need an output from the Transforme...
by lebos
Tue Sep 13, 2005 7:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error viewing data in Oracle9i stage
Replies: 8
Views: 4273

I don't have any answer here, but I can sympathise. I have a similar situation where the column generated SQL gets an "invalid column" error, while the exact same SQL runs fine as user generated. I even exported and imported the job design and the same thing happened. Let us know if you fi...
by lebos
Tue Sep 13, 2005 7:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading Parameters From Database directly
Replies: 14
Views: 14461

I have several jobs which do this. Use an appropriate db stage to read the parameters from the database. Then, in the Transformer have a derivation something like this: If UtilityGetRunJobInfo(UtilityRunJob('JobName', 'Parameter1=':value1: '|Parameter2=':value2 : '|Parameter3=':value3 : '|Parameter4...
by lebos
Wed Sep 07, 2005 6:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Upgrade ORacle to 9i - What change I do on Datastage server
Replies: 5
Views: 3109

Do the following: sign on as dsadm, then cd `cat /.dshome` This will take you to the dshome directory. dsenv is there. I would recommend making a copy before changing it. Remember that you must bounce the DSEngine in order for changes to dsenv to take effect. From the dshome directory: bin/uv -admin...
by lebos
Tue Sep 06, 2005 2:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Upgrade ORacle to 9i - What change I do on Datastage server
Replies: 5
Views: 3109

You will also have to change the dsenv file to specify the new Oracle Home and LibPath.

Details can be found in the Oracle OCI Plug In Manual.

We just did this and have experienced no problems at all.

Larry
by lebos
Mon Aug 08, 2005 11:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: using .netrc with an FTP shell script
Replies: 5
Views: 3575

Actually no. That will ultimately be done I expect, but just to expedite testing, I set it in the script. (I was trying to get away for a week and took any shortcut I could!)

Larry
by lebos
Thu Jul 28, 2005 7:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: using .netrc with an FTP shell script
Replies: 5
Views: 3575

Thanks Ray for the suggestions. I really had not even thought about using the at command and was about to give it a try when I thought of one other thing. That was that it seemed that there must be some kind of environmental difference. After looking around it turned out that $HOME was not set when ...
by lebos
Wed Jul 27, 2005 11:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: using .netrc with an FTP shell script
Replies: 5
Views: 3575

using .netrc with an FTP shell script

What more can I say? The AIX shell script executes FTP on order to transfer multiple files from a Novell server, using .NETRC for user authenitcation. When run directly from a Unix command line, it works like a champ. When run from a job sequence Execute Command activity, it gets "Intruder Dect...
by lebos
Thu Jul 21, 2005 8:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: find/replace(Parameters) utility to promote to production
Replies: 10
Views: 4809

Actually you can use a text editor to change/replace encrypted passwords. We do it fairly often using UltraEdit (a Windows program). The trick is to know what the encrypted passwords look like. This is easily accomplished by writing a dummy job which contains both the old and the new passwords as en...
by lebos
Thu Jun 30, 2005 7:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job aborts after 754K recs with Aggregator: %s
Replies: 20
Views: 8087

Although I have looked a hundred times for how to tell Aggregator that the input is already sorted, I didn't see it until I for the hundred and first! :oops:

Sorry folks.

Larry
by lebos
Wed Jun 29, 2005 3:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job aborts after 754K recs with Aggregator: %s
Replies: 20
Views: 8087

I don't see how pre-sorting data will do any good as there is no way (that I know of anyway) to tell Aggravator that the data has already been sorted. Some parts of DataStage are pretty good, but none are clarvoiyant (sp?).

Find a solution outside of Aggragator!

Larry
by lebos
Wed Jun 29, 2005 9:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job aborts after 754K recs with Aggregator: %s
Replies: 20
Views: 8087

Check your /tmp directory also.

But, I couldn't get around this problem and had to design a solution that did not include the Aggravator stage.

Good luck. (Great error msg isn't it?)

Larry
by lebos
Wed Jun 15, 2005 11:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Validate all the column data in a Table
Replies: 9
Views: 3674

1. Extract all (or some portion if you can predetermine what portion you will need) data from your target table and create two hash files: KeyHash with only key fields, and CDCHash with all fields (and with all defined as key fields). 2. To determine if a row already exists, do a lookup against the ...