Search found 4605 matches

by kduke
Tue Nov 16, 2004 6:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance statistics in a log file
Replies: 5
Views: 1723

Go to either my tips page or ADN and download EtlStats.zip. This is a few jobs to get row counts and store them in tables. Do a search. I have explained this in detail on both web sites. Very easy to run and setup. We store row counts in our data warehouse so we can look back over time and see if a ...
by kduke
Tue Nov 16, 2004 6:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Storing log files
Replies: 4
Views: 1692

TCL is like sqlplus for Universe. Universe is the database DataStage uses. If you telnet into your DataStage server then you need to run uv. This command is in the DSEngine/bin directory. You need to be in the project directory before you run uv. Do a search this has been covered a lot. Anyway you c...
by kduke
Mon Nov 15, 2004 3:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is scratchdisk?
Replies: 7
Views: 2659

Ray

I know swap space is not the same as UVTEMP but it is sometimes called scatch space. It functions in a similar manor as UVTEMP for the OS. UNIX also uses /tmp for scatch or temp space.
by kduke
Mon Nov 15, 2004 10:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Resetting jobs
Replies: 2
Views: 869

I was wondering if that method would give you the multiple instances? Also I am not sure there is a shortcut to getting status without attaching to a job.
by kduke
Mon Nov 15, 2004 10:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is scratchdisk?
Replies: 7
Views: 2659

Sometimes called temp space or swap space. In Universe it is defined by UVTEMP.
by kduke
Mon Nov 15, 2004 10:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SEARCH DS_JOBOBJECTS
Replies: 8
Views: 3640

Here you go: SELECT DS_JOBS.NAME AS JOB_NAME, DS_JOBS.CATEGORY, DS_JOBOBJECTS.NAME AS OBJECT_NAME, DS_JOBOBJECTS.OLETYPE, EVAL DS_JOBOBJECTS."if index(upcase(@RECORD),'DEALORDERDIM',1) > 0 then 'FOUND' else ''" AS FOUND FMT '5L' FROM DS_JOBS, DS_JOBOBJECTS WHERE DS_JOBS.JOB...
by kduke
Sun Nov 14, 2004 8:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SEARCH DS_JOBOBJECTS
Replies: 8
Views: 3640

The SEARCH command requires input. You have to use a DATA statement. You need a blank DATA statement as well to finish input. This will only a list of keys. You would need to use that in a SELECT to get JOBNO. Next you would need to use JOBNO to go against DS_JOBS to get job name. This is not a bad ...
by kduke
Thu Nov 11, 2004 2:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: query which job is using aggregator stage in project?
Replies: 3
Views: 684

You could almost guess it. Each stage type has a corresponding OLETYPE in DS_JOBOBJECTS. select distinct OLETYPE from DS_JOBOBJECTS ; Recently I posted a SQL query to join DS_JOBOBJECTS to DS_JOBS. If you cannot find it then ask. You need to get the job name from DS_JOBS. The JOBNO is the common fie...
by kduke
Thu Nov 11, 2004 2:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get the last record from transformer
Replies: 10
Views: 11027

You can buy DwNav or download EtlStats.zip from ADN or my tips page. It is my understanding that MetaStage will also get rows counts. EtlStats has dsx files to import into Ds7.1 or newer. If you are running on older versions then there are several API routines to call to get row counts. You have to ...
by kduke
Mon Nov 08, 2004 7:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: i need to see the job names, of a table name given
Replies: 5
Views: 896

If you could limit it to specific stage types then it is possible. Ray posted one for hash files. What stage types do you need?

Otherwise buy DwNav. That is why I wrote it.
by kduke
Mon Nov 08, 2004 11:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unlocking jobs
Replies: 17
Views: 6390

The UNLOCK verb only exists in the UV account. You can copy it by creating a Q-pointer to the VOC in the UV account or you can LOGTO UV.
by kduke
Fri Nov 05, 2004 4:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing parameters dynamically to more than one jobs
Replies: 4
Views: 1041

If you look at this post then you can do exactly what you want to do. I wanted to get the max surrogate key from a hash file so I used a UV stage. SELECT MAX(#SurrogateKey#) FROM #HashFile# then output this to SDKsequences. This hash file was a crossref file with source keys and would lookup the sur...
by kduke
Fri Nov 05, 2004 4:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: I want to conver varchar to integer
Replies: 4
Views: 1390

Please post question in the correct category like Ascential DataStage Server Edition.
by kduke
Fri Nov 05, 2004 9:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find path to a hash file from a routine
Replies: 4
Views: 962

The second field in the VOC record has the path to the data side of a hash file. The third field is the path to the dictionary side of a hash file. Field one should have an "F". You should probably do error checking around all these little details but this is good enough. You should be able to finis...