Search found 4605 matches

by kduke
Sat Sep 16, 2006 7:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: reset surrogatekey
Replies: 2
Views: 1002

We use a naming convention that the column name is the key. So CustomerID becomes the key for CustomerDim. We reseed these values right before we use them. I provided this job in EtlStats. It is called ETL_Reseed_SDKSequences. If you do a search on "reseed" then you will find other posts about this ...
by kduke
Fri Sep 15, 2006 9:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing parameters in a sequencer
Replies: 16
Views: 4822

Your key to the hashed file is 1? What was your key in the job you described?
by kduke
Fri Sep 15, 2006 5:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing parameters in a sequencer
Replies: 16
Views: 4822

How are you updating the hashed file?
by kduke
Fri Sep 15, 2006 3:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: profiles passing
Replies: 7
Views: 1524

Yes you can use environment variables as parameter values. There are several other best practices like having a ini file or a text file which is read with all the parameter values like pSourceDsn=MyDsn pSourceUser=EtlUser pSourcePwd=MyPassword Do a search on DSParams to see how parameters are can be...
by kduke
Fri Sep 15, 2006 3:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading and writing from the same file?
Replies: 13
Views: 4896

If you read and write to the same hashed file then there is a possibility you can process the same record more than once. Records are stored randomly in a hashed file so you can read a record and write it back to somewhere deeper into the file. This is especially true if read with one record id and ...
by kduke
Fri Sep 15, 2006 3:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Readin the first item in a hash file
Replies: 3
Views: 1165

There is no first record in a hashed file. It is stored randomly. You can get a list of the item ids with a select list.

Code: Select all

open 'MyHashedFile' to FilePtr then
   SELECT FilePtr
   loop while readnext ItemId
   repeat
end


This will get you close.
by kduke
Fri Sep 15, 2006 1:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing parameters in a sequencer
Replies: 16
Views: 4822

You cannot do it directly. You have to write it somewhere in the job so the sequence can read it using UtilityHashLookup or a similar routine. The surrogate key routine is a similar concept. Some process needs to put the first value in SDKSequences hashed file. Each call to the routine adds one to t...
by kduke
Fri Sep 15, 2006 1:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Details of all jobs running in various projects
Replies: 4
Views: 1418

I would start with

ps -ef | grep phantom

Now the problem is what project do these jobs belong to.
by kduke
Fri Sep 15, 2006 1:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage Startup and stop scripts
Replies: 3
Views: 2401

That is all you need. In UNIX the uv.rc script starts and stops at bootup. It maybe called ds.rc now. Not sure.
by kduke
Fri Sep 15, 2006 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with DSExecute command
Replies: 3
Views: 1367

Mark

Welcome to the dark side. I see you are posting now. Great. Have fun.
by kduke
Fri Sep 15, 2006 5:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: New KgdGenHtml zip posted
Replies: 13
Views: 4831

It was okay. I needed to know. Just don't want to encourage others to post private messages to the top posters. It is a little overwhelming sometimes.
by kduke
Thu Sep 14, 2006 10:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSX File
Replies: 4
Views: 1040

Yes. If you choose selective restore then you can pick either one. I think.
by kduke
Thu Sep 14, 2006 9:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSX File
Replies: 4
Views: 1040

If you import all then they are imported in the order in the DSX. The appended one will go last therefore it will import both but the last one will overwrite the first one.
by kduke
Thu Sep 14, 2006 9:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Consolidating Job log files of all the projects
Replies: 2
Views: 1614

You could script it with dsjob. dsjob -report is what you need. There is a script I posted which loops through all jobs in one project to get the bmp images provided by %Designer% /H=%Host% /U=%User% /P=%Password% /SaveAsBmp=%BackupDir%%DsxDate%\%%i.bmp %Project% %%i >> %LogFileName% The script is c...
by kduke
Thu Sep 14, 2006 9:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Universe Stage Query problem
Replies: 2
Views: 1314

Most of the jobs which extract from DS_JOBS or DS_JOBOBJECTS have dictionary otems that may need to be created. They should be included in the zip file but if you cannot find them then post a question. I think these jobs are very useful.