Search found 4605 matches

by kduke
Fri Sep 08, 2006 3:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RowCount from the DSGetLinkInfo always return zero
Replies: 20
Views: 6587

Row counts are based on link names only. If you use update and then insert then there is no way to call an API to get this count. I do not think there is a way ask Oracle how many updated versus inserted either.
by kduke
Fri Sep 08, 2006 12:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Clear hash Option
Replies: 4
Views: 853

It does not purge anything. It overwrites the whole record, every column or inserts a new record.
by kduke
Fri Sep 08, 2006 12:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Clear hash Option
Replies: 4
Views: 853

It appends or overwrites based on the key.
by kduke
Fri Sep 08, 2006 11:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage cross references
Replies: 5
Views: 1462

The BASIC code has an engine which controls it. It is a nightmare to extract anything from it. Kumar is correct it is much easier to get metadata about the job designs from the repository tables like DS_JOBOBJECTS.
by kduke
Thu Sep 07, 2006 10:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is it possible to take the output of a select into variable
Replies: 21
Views: 3760

Not sure if these are documented but they should be in a folder called sdk\Utility. The source code is even included for most of these routines. Edit them and learn how to write routines. Great learning tool.
by kduke
Thu Sep 07, 2006 7:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is it possible to take the output of a select into variable
Replies: 21
Views: 3760

Maybe it is the XP patch that takes it away.
by kduke
Wed Sep 06, 2006 10:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running Wrong Profile from Script
Replies: 3
Views: 970

Jobs run as phantoms. They have no UNIX shell like ksh therefore they do run any .profile. You need to add this to dsenv or uv.rc or as Ray's states.
by kduke
Wed Sep 06, 2006 10:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is it possible to take the output of a select into variable
Replies: 21
Views: 3760

By the way you will not add much to a project directory if you leave this hashed file in the project. It only has one record. Not a problem.
by kduke
Wed Sep 06, 2006 10:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is it possible to take the output of a select into variable
Replies: 21
Views: 3760

You won't need a RoutineActivityStage in between your Jobs. Code: JobActivity1->>JobActivity2 In your JobActivityStage2, for the last parameter, rightclick and choose DSTransform>>>sdk>>>Utility>>>UtilityHashLookUp and then pass the values in here. Kris, I am on 7.5 and I cannot right click and do ...
by kduke
Wed Sep 06, 2006 10:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Project Libraries
Replies: 1
Views: 1120

I don't think they are backward compatible. If you create a project in 7.5 I don't think you can go back to 7.1. It complained when I tried it. Version Control works well and is included with DataStage. It will keep older versions so you could roll back to an older version. It does not have a diff. ...
by kduke
Wed Sep 06, 2006 4:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is it possible to take the output of a select into variable
Replies: 21
Views: 3760

Put your hashed file in the current project then you do not need SETFILE.
by kduke
Wed Sep 06, 2006 4:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error in DSAttachJob to status other than "Finished&quo
Replies: 11
Views: 6195

EtlStats will not work across projects. So you need to install it in the other project.

dsjob can list all jobs in any project.
by kduke
Wed Sep 06, 2006 9:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is it possible to take the output of a select into variable
Replies: 21
Views: 3760

Sure, write a job to save it to a hashed file. Make the hashed file have a key and this value. Hard code the key to "Something" or whatever you like. Use UtilityHashRead to read this value into a stage variable in a job sequence. You can now use this value as a parameter. All the Utility routines ar...
by kduke
Wed Sep 06, 2006 9:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RowCount from the DSGetLinkInfo always return zero
Replies: 20
Views: 6587

It takes several calls to get this to work. You need a valid JobHandle by using DSAttach(). StageName has to be a valid stage name. Same with LinkName.
by kduke
Wed Sep 06, 2006 9:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage cross references
Replies: 5
Views: 1462

DwNav which I wrote. MetaStage which IBM sells.