Search found 19 matches

by ailuro
Thu Nov 03, 2005 10:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: recursive Routine
Replies: 3
Views: 1603

Try assigning the value returned by your Routine to a variable, i.e.

Code: Select all

YourVar = GetWorkDayFromHash(HashTable,HashKey)
by ailuro
Mon Apr 25, 2005 7:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture oracle exceptions in DS Px
Replies: 12
Views: 5913

Hi Mike Ah, we're using v7.5. Can you manually specify the table definition of the reject link? In v7.5, the columns are read-only and automatically taken from the input link with the additional sqlcode . If you can, try to specify the table definition as v7.5 would. PS. "děkuji" means &qu...
by ailuro
Sun Apr 24, 2005 8:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture oracle exceptions in DS Px
Replies: 12
Views: 5913

Re: SQLCODE is included in reject link from Oracle Ent. stag

Hi mmorelli

Make sure that:
Ora Ent Stage > Input > Properties > Write Method = Upsert

The column sqlcode:Integer will then be included as the last item under:
Output > Columns

Also, don't forget to set:
Input > Properties > Output Reject Records = True


děkuji.
by ailuro
Tue Feb 01, 2005 7:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture oracle exceptions in DS Px
Replies: 12
Views: 5913

Automatically included in the reject link of an Oracle Enterprise stage with properties mentioned in vmcburney's reply is the sqlcode (Integer).

E.g., -1400 (cannot insert NULL)
by ailuro
Tue Feb 01, 2005 12:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Startup Failed Error, No Child Processes.
Replies: 11
Views: 7383

Have you specified a value for the property
Oracle Enterprise > Input > Properties > Connection > Remote Server?
by ailuro
Sun Nov 28, 2004 8:14 pm
Forum:
Topic: Unable To Login
Replies: 8
Views: 5050

The username to use to log on to windoze should be a valid/authorised MetaStage user. As Ray said, try the username you used during installation. On the other hand, the username to use in the MetaStage login box should be an authorised user or the owner of the MetaStage Hub (a.k.a. the database wher...
by ailuro
Fri Nov 26, 2004 2:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Oracle parameters in Oracle stage
Replies: 6
Views: 2870

Better just create a symbolic link to it

   $ ln -s liborchoracle.so orchoracle.so
by ailuro
Fri Nov 26, 2004 1:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Oracle parameters in Oracle stage
Replies: 6
Views: 2870

During the installation of DS EE, you probably did not specify the location of your Oracle installation. The installation script would have also asked you to confirm which version of Oracle you have. Anyhow, check out which libraries these symbolic links point to:    orchoracle8i.so    orchoracle9i....
by ailuro
Fri Nov 26, 2004 12:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Oracle parameters in Oracle stage
Replies: 6
Views: 2870

Create a symbolic link to the appropriate library, i.e. for 10g on SunOS:

$ cd $DSHOME/../PXEngine/lib
$ ln -s liborchoracle10gsun4.so orchoracle.so

HTH
by ailuro
Sun Nov 21, 2004 8:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamically generate where clause-Urgent
Replies: 11
Views: 5317

In fact you can pass where clause conditions as job parameters (including column names, operators and constants) e.g., STATUS = 'A', STATUS IN ('A', 'B', 'C').

Just define a job parameter, say CONDITION, and put #CONDITION# in your ODBC stage's Outputs > Selection > WHERE clause.
by ailuro
Thu Nov 18, 2004 7:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help needed to stop the Job
Replies: 3
Views: 2916

How about using:

  Director > Job > Cleanup Resources
    :: Release All, and
    :: Logout

and then Clear Status File and/or recompile the job...
by ailuro
Tue Nov 16, 2004 3:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Sequencer Job
Replies: 4
Views: 1985

Then how do you add a sequencer job in Job Control (Under Properties) in Add Job list box.?

They're already there. It's just that the list box items are grouped and sequences appear after the jobs.
by ailuro
Tue Nov 09, 2004 7:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: $APT_ORAUPSERT_COMMIT_ROW_INTERVAL
Replies: 1
Views: 1827

Ravi, you might want to set this EV, too

  $APT_ORAUPSERT_COMMIT_TIME_INTERVAL
by ailuro
Mon Nov 08, 2004 1:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Null value in Key - ODBC stage Input/Update
Replies: 7
Views: 2943

Julie, try this user-defined SQL:

Code: Select all

UPDATE YOURTABLE SET COL1=?,COL2=?,COL3=? 
WHERE KEY1=? AND KEY2=? AND NVL(NULLABLEKEY,-99999) = NVL(?,-99999)
If your NULLABLEKEY is made up of CHARs, use a specific string instead of -99999.
by ailuro
Thu Nov 04, 2004 2:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job dynamic warning limit
Replies: 1
Views: 939

"By default a controlled job inherits any row or warning limits from the controlling job. These can, however, be overridden using the DSSetJobLimit function." In a BASIC job control maybe, but in a sequence it seems (to me at least) that there is no obvious way of changing the inherited li...