Search found 4605 matches

by kduke
Wed Aug 10, 2005 1:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File Locking for Key Management
Replies: 19
Views: 4166

A FILELOCK does exactly what it says it keeps other people from updating the whole file. You almost never need a FILELOCK.
by kduke
Wed Aug 10, 2005 1:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File Locking for Key Management
Replies: 19
Views: 4166

When you post your code please use the code tag to save indentation. Do not use FILELOCK. You want to use record locks. If you change the routines in the SDK then please rename them as well. When you upgrade then these will be overwritten. A READU was in the original routine. This would allow you to...
by kduke
Tue Aug 09, 2005 10:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsexport.exe
Replies: 1
Views: 993

Try exporting to a local file. It maybe the network file.
by kduke
Tue Aug 09, 2005 8:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to create bitmap image of jobs from command prompt?
Replies: 5
Views: 1633

The script is more to show how to do these type of things on more than one job. Also to show the exact syntax. I think examples are more powerful training tools than any other teaching tool.

Vincent you should post your additions.
by kduke
Tue Aug 09, 2005 5:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SCD type at column level
Replies: 5
Views: 1272

I still think this is ugly. I think on a certain level they want to know what is an elogant solution and not ugly. I think the trade off is mutiple records versus a single record. It is easier to compare previous values if it is stored all in one record. How often is this a requirement in your repor...
by kduke
Tue Aug 09, 2005 4:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: determining job parameters at runtime
Replies: 7
Views: 2236

As far as how to use other parameters then use sequences they will know what jobs have what parameters.
by kduke
Tue Aug 09, 2005 4:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: determining job parameters at runtime
Replies: 7
Views: 2236

This has been covered a lot. Do a search for KeyMgtGetNextValue. You need to do an exact search. In routines there is a folder called sdk. Under it there is KeyMgt. This routine is under it. It reads and writes to a hash file named SDKSequences. You need to seed this with a job. This job will need t...
by kduke
Tue Aug 09, 2005 8:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to create bitmap image of jobs from command prompt?
Replies: 5
Views: 1633

You can download DSaveAsBmp.bat on my tips page. It will create a bmp image for every job in a project. It is also available on ADN. I also posted one to get a report on all jobs.
by kduke
Mon Aug 08, 2005 1:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Filling Gaps in tables
Replies: 4
Views: 1202

Please post your solution.
by kduke
Mon Aug 08, 2005 1:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: using .netrc with an FTP shell script
Replies: 5
Views: 2606

On some UNIX machines it is possible to allow or not allow redirection into ftp. The .netrc is for inbound ftp. I would try it first.
by kduke
Mon Aug 08, 2005 1:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to do file Attchement option for sending mail
Replies: 7
Views: 1450

Here is a shell script I use. #!/bin/ksh ## # Email.ksh jobname file1 file2 subject # Written by: Kim Duke # To use in DataStage: # SH Scripts/Email.ksh GenReport KimD/Sql2Html/RtLog1.html Test Log ## if [ $# -lt 3 ] then echo "Usage: $0 kim|all jobname file1 file2 subject" exit 2 fi case ...
by kduke
Fri Aug 05, 2005 3:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: In which directory/file name on UNIX, the job log is stored?
Replies: 3
Views: 1444

The log is stored in a hash file named RT_LOGnnn where nnn is the job number. Do a search there are lots of posts on how to retrieve this data.
by kduke
Fri Aug 05, 2005 10:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: What si Common Block
Replies: 6
Views: 1314

Ramesh A COMMON block is a way to save a set of variables and their values between calls to a routine. Therefore it saves time because complicated values or something that takes time like opening a hash file does not have to be done over and over. I would use row buffering. I would try to replace CO...
by kduke
Thu Aug 04, 2005 2:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: use of hash files
Replies: 10
Views: 1835

The main function of hash files is for fast lookups.
by kduke
Thu Aug 04, 2005 10:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage returns fake return code
Replies: 18
Views: 6528

After I process input1 using DS Job -wait -jobstatus


There is no -jobstatus in code posted. I also think that DataStage needs time to clean up between jobs. You need to sleep a few seconds between jobs.