Search found 4605 matches

by kduke
Wed Mar 08, 2006 10:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Initiating a DataStage Job from the UNIX command line
Replies: 16
Views: 12123

Ken script is great but I think it is hard to understand. I think this script http://www.dsxchange.com/viewtopic.php? ... ght=runjob is a little easier to understand.
by kduke
Wed Mar 08, 2006 6:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Best Practices For ETL Development and Datastage Usage
Replies: 6
Views: 4313

Start with naming convetions like link names should be the table or file name. This is so Director shows link names and it makes more sense to monitor a job this way. Stage names should be database names. Transform names should start with t1, t2, t3 and so on. Project names should be DWDEV, DWTEST a...
by kduke
Wed Mar 08, 2006 6:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing parameters to Hashed file
Replies: 12
Views: 2792

That is exactly what I meant. Very nice so far. I think you need to add DSPrepareJob. I would also get the row counts at the same time. I posted code to do that as well. If you can't find it then I will post it again if I need to. You could post your code to go from the sequential file to the hash f...
by kduke
Tue Mar 07, 2006 6:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing parameters to Hashed file
Replies: 12
Views: 2792

You could replace every job activity with this as a routine activity.
by kduke
Fri Mar 03, 2006 7:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: What is the use of Field function
Replies: 3
Views: 1265

Field will parse a string.


Var='12345~flkflkf~789=234'
F1=field(Var,'~',1)
F2=field(Var,'~',2)
F3=field(Var,'~',3)
F2_3=field(Var,'~',2,2)
X2=field(Var,'=',2)

Would mean:

F1 = '12345'
F2 = 'flkflkf'
F3 = '789'
F2_3 = 'flkflkf~789'
X2 = '234'
by kduke
Wed Mar 01, 2006 9:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Re-Organizing DataStage jobs
Replies: 8
Views: 2193

I would use DataStage Manager. It is easier to move things around. Otherwise you can use a SQL update on DS_JOBS.
by kduke
Wed Mar 01, 2006 7:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsexport scheduling on the server
Replies: 4
Views: 1396

You need to use DataStageBackup.bat. You can easily schedule with this. You can download it on ADN or my tips page. It will create a directory with yyyymmdd then name the dsx Server_Project.dsx. It will backup one or all projects on this server. We put this on our test server and backup our developm...
by kduke
Tue Feb 28, 2006 7:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Clear Status File
Replies: 6
Views: 1005

If you really want the SQL to automate deleting old instances then let me know.
by kduke
Tue Feb 28, 2006 7:23 pm
Forum: Enhancement Wish List
Topic: DSJobReport for a Job Sequence
Replies: 1
Views: 1293

EtlStats can be run if the sequence fails or is successful. You need to have an exception handler run the main job. Otherwise run this job as the last job of the sequence. It translates 99 into the correct description. It will get row counts for all jobs, one job, all jobs in a sequence or all jobs ...
by kduke
Mon Feb 27, 2006 6:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DsJobReport failed to open directory
Replies: 3
Views: 3441

It might be DsJobReport. This is a routine you need to download from ADN.
by kduke
Fri Feb 24, 2006 7:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Interface with Datastage
Replies: 4
Views: 1485

Why not use a named pipe?
by kduke
Thu Feb 23, 2006 11:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ETlstats
Replies: 1
Views: 524

There is no Get_Job_Status job.
by kduke
Thu Feb 23, 2006 8:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: All Job Info
Replies: 2
Views: 636

Do a search for EtlStats. It is free.