Search found 4605 matches

by kduke
Mon Nov 29, 2004 10:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Counting Duplicates
Replies: 14
Views: 2785

Do a search. There has been several discussions using stage variables.
by kduke
Mon Nov 29, 2004 8:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Usage of uv and uvsh commands
Replies: 4
Views: 4353

I was told that uv executes as root and sets the ulimit then runs uvsh if you are on UNIX. So unless you are accessing large files then you can execute uvsh directly. The uvsh command is like sqlplus for Oracle. It is an easy way to execute a SQL script and redirect the output to a file. This would ...
by kduke
Tue Nov 23, 2004 8:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple HASH Lookups
Replies: 6
Views: 1166

I don't type it in. I drag it to the target and then drag it back. I am not sure when you could drag from right to left from the target derivation to a lookup key field but it saves time. It is more accurate too. I am uncomfortable with it being red anyway.
by kduke
Tue Nov 23, 2004 6:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need help with universe metadata!!!
Replies: 15
Views: 4025

How "open" will it be? Does anyone know?
by kduke
Tue Nov 23, 2004 6:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple HASH Lookups
Replies: 6
Views: 1166

Michael

Even Ray uses this feature. Don't you Ray?
by kduke
Tue Nov 23, 2004 6:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can i change value of job parameter at run time.
Replies: 11
Views: 3947

I think you could modify the routine in http://www.dsxchange.com/viewtopic.php?t=89419 post and change a parameter value in the current job.
by kduke
Tue Nov 23, 2004 6:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Restore JOBS
Replies: 2
Views: 974

You could of corrupted an index. DS.TOOLS can rebuild the index. Do a search. This is also one of the FAQ.
by kduke
Tue Nov 23, 2004 6:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing Log files
Replies: 7
Views: 3019

I think what they want is to archive logs to some kind of flat file. There have been several solutions posted even recently. Do a search for RT_LOG and archive.
by kduke
Tue Nov 23, 2004 5:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Julian Date to YYYYMMDD
Replies: 3
Views: 908

You need to find out the difference between thier date in internal format and DataStage's.

NewDate = oconv(TheDate - 104314 + iconv("2004-11-09 ", "D-YMD[4,2,2]"), "D-YMD[4,2,2]")

Something like this should work.
by kduke
Mon Nov 22, 2004 7:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can i dump the result of the job to a XML file?
Replies: 1
Views: 751

dsjob -report Project Job XML Will output job start and end times and row counts. You may want to download EtlStats.zip from my tips page or ADN. I process the output of this command and route it to several tables to store current and historical row counts. As far as executing the next job then all ...
by kduke
Mon Nov 22, 2004 7:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reject Special characters
Replies: 4
Views: 1495

You can also use convert() and compare it to the original field to look for a specific character like "&".

if InLink.ColumnName <> convert("&","", InLink.ColumnName) then @true else @false
by kduke
Fri Nov 19, 2004 9:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Estimate table or disk space routine.
Replies: 3
Views: 1342

This is a server routine. When you save metadata in a link then it gets saved to DS_METADATA. If you know how many records are in a table and you haved saved or imported the metadata then you can use this to estimate disk space. This would work on sequential and hash files as well. I have never want...
by kduke
Fri Nov 19, 2004 7:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamically generate where clause-Urgent
Replies: 11
Views: 3686

You need 2 lookups. Have 2 outputs with constraints for each situation. Another way maybe using stage variables with if STATUS='A' set and second set of assignments if that is not true and the second situation 'STATUS' is either 'A' or 'B' or 'C' is true.
by kduke
Thu Nov 18, 2004 7:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help needed to stop the Job
Replies: 3
Views: 1913

You may need to kill -9 PID. Normally you can just kill PID but in your case force the kill command.