Search found 4605 matches

by kduke
Thu Dec 07, 2006 10:33 pm
Forum: General
Topic: Automatic Job Generator - does one exist??
Replies: 39
Views: 18825

Sure you can write directly to DS_METADATA. It is a simple table. There is very little risk too. If you mess up then just clear the table and reload from export. I would think Ray's routine which exported this table to a XML file would be the place to start. I expect the XML file would also import b...
by kduke
Thu Dec 07, 2006 7:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: illegal variable name/number
Replies: 13
Views: 3804

There is one in the SDK under Utility. These hashed files have more than one key column like project and jobname. So you need @TM in between so your key becomes MyProject :@TM: JobName.
by kduke
Thu Dec 07, 2006 6:49 am
Forum: Site/Forum
Topic: Great Work!!
Replies: 7
Views: 3197

DSGuru2B great job.
by kduke
Wed Dec 06, 2006 7:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routines and subroutines in datastage
Replies: 6
Views: 4551

I give a lot of routines away on my tips page and the Tools4DataStage link below.

"Take, adapt and shine" in the words of a friend.

EtlStats alone has about 15.
by kduke
Wed Dec 06, 2006 7:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: illegal variable name/number
Replies: 13
Views: 3804

How is that possible? The dsjob command is the before job routine. It outputs a sequential file for all 3 tables. The same file is the source for all 3. Before Job: dsjob -> KimD/JobName.xml Job: KimD/JobName.xml -> ETL_JOB_HIST KimD/JobName.xml -> ETL_ROW_HIST KimD/JobName.xml -> ETL_PARAM_HIST Thi...
by kduke
Wed Dec 06, 2006 6:39 am
Forum: General
Topic: Automatic Job Generator - does one exist??
Replies: 39
Views: 18825

I doubt if anyone is going to share these types of tools. First of all it is a difficult thing to support. Second it is a competitive advantage to have tricks like these. If you want to share these then I could post on my web site until the upload feature is released on this site. I would like to se...
by kduke
Tue Dec 05, 2006 9:44 pm
Forum: General
Topic: Automatic Job Generator - does one exist??
Replies: 39
Views: 18825

I wrote one a few years ago. I think Craig has written one too. Mine takes a DSX for 4 jobs and replaces the column metadata with the new columns. It assumes basically it is a straight table copy from one table to another. It does assume it is a source table to a dimension table. The table names are...
by kduke
Tue Dec 05, 2006 9:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: illegal variable name/number
Replies: 13
Views: 3804

I think the last run is stored in a hashed file for easy access with a routine. The key does not include any date. Take a look at DSJobReportDb.
by kduke
Tue Dec 05, 2006 6:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Import a table definition using a command line utility
Replies: 4
Views: 1266

There is a import command which will import any DSX file. The dsimport.exe command will do the trick. You need to be able to create a DSX file. I am not sure it can import XML files but I would try it if I was you. Ray posted the program to create XML files from DS_METADATA the internal table of Dat...
by kduke
Mon Dec 04, 2006 8:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import Jobs from Command line
Replies: 14
Views: 7359

Your are welcome. I will add a for more soon.
by kduke
Mon Dec 04, 2006 6:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: generating jobs reports
Replies: 60
Views: 24753

Your SELECT will not work without a EVAL. I would fix the html after generating it. You need to probably replace '\' with '_'.
by kduke
Fri Dec 01, 2006 7:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: creating datadictionary
Replies: 3
Views: 806

If you use CREATE TABLE then it will create your dictionary items for you.
by kduke
Thu Nov 30, 2006 8:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding dsutilities
Replies: 5
Views: 1033

You may need to change PRJ_DATA_DS_JOBOBJECTS to DS_JOBOBJECTS.
by kduke
Thu Nov 30, 2006 7:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import Jobs from Command line
Replies: 14
Views: 7359

After you export the jobs you need to check in to PVCS. You need to post the syntax of the command line check in.