Search found 4605 matches

by kduke
Wed Sep 06, 2006 9:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to move one record by record
Replies: 3
Views: 945

I think what Arnd is trying to say also was treat each line as if it is one field. You need several stage variables like FirstWord = field(InputLine, " ", 1) SecondWord = field(InputLine, " ", 2) States = if FirstWord = "OLEType" then SecondWord else States Name = if FirstWord = "Name" then SecondWo...
by kduke
Wed Sep 06, 2006 8:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: creating job statistics from joblog created in datastage
Replies: 11
Views: 6035

EtlStats is on my tips page below my signature or the other link. When you unzip it there is a text file on how to install it. It is a bunch of jobs and source code to the jobs and routines. It also needs a few sequential files or directories to store sequential files. Instructions show you how to c...
by kduke
Tue Sep 05, 2006 6:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Search
Replies: 7
Views: 1766

Ray went really old school on that one.
by kduke
Tue Sep 05, 2006 12:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing parameters in a sequencer
Replies: 16
Views: 4822

There is a routine activity stage as well. You need to create a user variable before you use it. So if you need a parameter calculated then you can call either a routine activity or create a user variable before or both. In the formula for a user variable you can call routines as well just like in a...
by kduke
Sat Sep 02, 2006 10:09 pm
Forum: Site/Forum
Topic: Warehouse Architecture and Modelling Section
Replies: 5
Views: 3212

Good idea. Why not a QA section as well?
by kduke
Sat Sep 02, 2006 10:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to automated the datastage jobs import/export process
Replies: 4
Views: 2726

This topic explains how http://www.dsxchange.com/viewtopic.php? ... c&start=15 This allows you export one job at a time which you can import with the above command. The export is done with dsexport.exe and not dscmdexport.exe.
by kduke
Fri Sep 01, 2006 9:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: List of JobNames from a Sequnce
Replies: 11
Views: 4286

You are welcome.
by kduke
Fri Sep 01, 2006 8:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Looking for Oracle's instance information
Replies: 7
Views: 1962

You need to add ORACLE_HOME and the other variables to dsenv. Do a search this has been covered in great detail. You may need to start and stop DataStage.
by kduke
Fri Sep 01, 2006 8:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Partitioned Table
Replies: 4
Views: 2025

You can hard code this partition into the table name. You could also create a parameter which represents the name and feed it into the job.

But I doubt if that was what you were really asking.
by kduke
Fri Sep 01, 2006 8:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS Installation
Replies: 13
Views: 4532

I thought I was the only one who had worked for the Discovery channel.
:wink:
by kduke
Fri Sep 01, 2006 1:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: List of JobNames from a Sequnce
Replies: 11
Views: 4286

I noticed you have double quotes in your SQL statement. That gets a little more tricky. You may need a backslash in front of your embedded double quotes. You will have to try it.

Post your solution please.
by kduke
Fri Sep 01, 2006 1:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: List of JobNames from a Sequnce
Replies: 11
Views: 4286

Add a uvsh or dssh in front of the SQL with double quotes around all of it. You need to cd to the project dirctory first.
by kduke
Fri Sep 01, 2006 1:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Macro
Replies: 11
Views: 2034

What do you want the routine name? Or are you asking does DSJobName work in a routine?
by kduke
Fri Sep 01, 2006 1:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fetch job Stats
Replies: 8
Views: 2137

Most of what I have in EtlStats is using dsjob -report XML. I can also retrieve old job runs by reading the job log directly. There is no other way to get an old run. The API only deals with the last run. There is a last run for every job instance though. If you autopurge your logs then that option ...