Search found 81 matches

by davidnemirovsky
Tue Nov 30, 2004 8:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Maximum of Effective Date
Replies: 3
Views: 1362

Hi Deepa, Welcome! There is way to achieve what you are trying to do without using either either the aggregator stage or the user defined sql. In your database stage, go to the 'Output' tab. Choose 'Generated SQL Query' for the Query Type drop down. Then in the 'Columns' tab place the MAX dervation ...
by davidnemirovsky
Tue Nov 30, 2004 8:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 plugin - Unable to initialize plug-in:
Replies: 7
Views: 3864

In what order did you install the DB2 Client drivers and Datastage Server on the box? I had a similar problem with Oracle8i while trying to import plugin metadata definitions. I had installed the Oracle8i client after I had installed Datastage. After re-installed the Datastage server the installatio...
by davidnemirovsky
Fri Nov 26, 2004 12:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: generate Timestamp
Replies: 13
Views: 5767

Out of interest I ran that code in a routine and the answer returned was: 61243.812

We are running DS 5.2 on a Windows server.

Is there an EXACTNUMERIC type parameter in the Windows version or is that an AIX specific operating system variable?
by davidnemirovsky
Wed Nov 24, 2004 12:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: accessing a Oracle Database on a differnet server
Replies: 4
Views: 1129

You should be using the exact same credentials as you've used for SQL Plus.

Make sure you're using the correct 'Plug-in Metadata Definitions' in the Manager ie. Ora8i for Oracle8i, Ora9i for Oracle9i etc.
by davidnemirovsky
Wed Nov 24, 2004 12:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: generate Timestamp
Replies: 13
Views: 5767

Code: Select all

Oconv(Date(), "D-YMD[4,2,2]") : " " : Oconv(Time(), "MTS")
Use different Oconv conversion codes to format to other desired formats.
by davidnemirovsky
Wed Nov 24, 2004 12:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: accessing a Oracle Database on a differnet server
Replies: 4
Views: 1129

Install the Oracle Client on the Datastage server.

Make sure your "tnsnames.ora" file on the Datastage server has the entry for the Oracle Database on the Oracle DB Server.
by davidnemirovsky
Tue Nov 23, 2004 5:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can i change value of job parameter at run time.
Replies: 11
Views: 5560

Remove the last stage of your job (job1) and save the input rows for that stage into a temporary staging file (either a sequential file or hashed file). Output the parameter you want to catch into a Sequential file or Database table. Create another job (job2) that uses the temporary staging file as ...
by davidnemirovsky
Mon Nov 22, 2004 12:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reject Special characters
Replies: 4
Views: 2153

tada!

Simple and effective.
by davidnemirovsky
Sun Nov 21, 2004 11:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reject Special characters
Replies: 4
Views: 2153

In a Transformer stage create an extra output link leading to a sequential file stage, call it 'Rejects'. On your "good" output link have an expression/routine that only allows alphanumeric characters through (for example writing a routine that reads each character and checks it's ASCII va...
by davidnemirovsky
Thu Nov 18, 2004 10:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Type conversion functions
Replies: 1
Views: 1736

Re: Type conversion functions

, 1. double to decimal 2. double to char 1. You will have to write a transform to do this. Use the FMT function to do this. Look it up in the help. 2. You don't need to do this in Datastage. Everything in Datastage is a 'string' so you will not need a function to do this. What did you want to accom...
by davidnemirovsky
Wed Nov 17, 2004 8:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Compiled version of DS.UNLOCK from Ascential Support
Replies: 0
Views: 566

Compiled version of DS.UNLOCK from Ascential Support

Does anybody have a compiled version of DS.UNLOCK for DS 5.x? It was talked about in this forum: <a href="http://www.dsxchange.com/viewtopic.php?t=85570"> Click Here</a> http://www.dsxchange.com/viewtopic.php?t=85570 This would be a great tool as we do not have ROOT access to our server. T...
by davidnemirovsky
Thu Nov 04, 2004 12:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using different Oracle user
Replies: 5
Views: 2719

Oops! No I'm not. Not using PX. Sorry about that. :oops:
by davidnemirovsky
Wed Nov 03, 2004 11:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Naming a Job
Replies: 8
Views: 2668

Thanks Siva. That was a good idea. Now my job names are far more readable. This also works for link names!

Too bad the Alt+255 character doesn't work for routine names too.
by davidnemirovsky
Wed Nov 03, 2004 11:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Naming a Job
Replies: 8
Views: 2668

Finally the abililty to use underscores! Hallelujah!

Does this apply to link names? Hashed files? etc.

It makes for my easier reading of names, that's for sure.
by davidnemirovsky
Wed Nov 03, 2004 11:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using different Oracle user
Replies: 5
Views: 2719

How are you building the query for this transaction in DataStage?

Are you using the 'Fully Generated Query' option in the 'SQL' tab of your Oracle stage?

This way it might fill in the 'Derivation' field in the 'Columns' tab.

Blank out the derivation. That should fix it.