Search found 4605 matches

by kduke
Tue Aug 26, 2008 8:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Shelll Script for row count
Replies: 16
Views: 4217

There is a video on how to install it. The DSJobReportDbDriver job runs a job called DSJobReportDb. This job does all the work. You can change this to meet your needs. It writes row counts to hashed files and tables. You can delete one or the other just to get it working. DSJobReportDbDriver has a p...
by kduke
Fri Aug 15, 2008 4:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: BLOB Data
Replies: 19
Views: 12167

The max length of an ODBC record is controlled also in the ODBC setup. There are several good posts about this.
by kduke
Fri Aug 15, 2008 4:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Routine
Replies: 2
Views: 1146

Why are you JobHandle = DSAttachJob(AfterJob, DSJ.ERRNONE) I would do this at the end. You are still attached to DSJ.ME. I have had issues attaching to multiple jobs. As a comment, I hate this way of getting row counts. IBM consults do this a lot. First of all you slow down your job stream b...
by kduke
Wed Aug 13, 2008 8:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to calculate dataset size created during job execution
Replies: 1
Views: 727

If you save the metadata for the column names in the link for the dataset then there is a routine in my downloads on my tips page to estimate disk space based on the length on records saved in DataStage. The source code is included so you can tweak the calculations. I think I used 80% of a varchar l...
by kduke
Wed Aug 13, 2008 8:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue about DSEXPORT.exe
Replies: 13
Views: 3667

A friend of mine Preston wrote a Perl script to strip out the shared containers and all the dependent objects. He based it on a script called dsx_split.pl or something close to that posted on this forum. We took the DataStageBackup.bat script on my tips page and turned it into DataStageMigrate.bat. ...
by kduke
Mon Aug 11, 2008 10:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob -run -local command can not pass encrpted type paramet
Replies: 4
Views: 1326

Need to pass it unencrypted.
by kduke
Mon Aug 11, 2008 10:56 pm
Forum: General
Topic: How to find a project size
Replies: 2
Views: 3313

Code: Select all

DSHOME=`cat /.dshome`
cd $DSHOME
cd ../Projects
du -s ProjectName


du - disk usage
by kduke
Mon Aug 11, 2008 10:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Automating Design work
Replies: 7
Views: 1828

There is FastTrack which can generate jobs. I have a poor man's version of the same. It takes a sample DSX and changes by replacing source and target columns. It assumes a fixed number of lookups.
by kduke
Wed Aug 06, 2008 9:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: List jobname and its category
Replies: 16
Views: 7947

This is kind of a poor mans reporting tool. These all show the SQL but that is an option to leave the SQL off and just show the results.
by kduke
Wed Aug 06, 2008 9:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: List jobname and its category
Replies: 16
Views: 7947

This is all part of EtlStats. If you install it then it can run any of these SQL commands against DS_JOBS or whatever repository tables and send the results to any email address. The report is a nicely formatted html document attached to the email. It can run any SQL statement against any ODBC conne...
by kduke
Wed Aug 06, 2008 9:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Email Notification
Replies: 2
Views: 824

If you are using 7.5 or above then email has attachments. Earlier versions need to use blat.exe or some UNIX commands to do the attachments. EtlStats has a routine included to show you how to do it in either UNIX or DOS. The UNIX diff command can show what has changed. If you can do your diff in SQL...
by kduke
Fri Jul 11, 2008 3:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS server crash
Replies: 4
Views: 1341

You need system level stats to see what is happening at the server level as well. Are you paging? How much RAM do you have? How much is being used? Is your database on the same server? Are you out of disk space or scratch space when you crash? Lots of things can cause this. Answer Arnd's question th...
by kduke
Thu Jul 10, 2008 8:51 pm
Forum: General
Topic: Updated auto-export script as per kDuke
Replies: 3
Views: 1667

I do not use V8 yet so I have not converted it. Maybe someone else has.
by kduke
Thu Jul 10, 2008 8:45 pm
Forum: General
Topic: Apologies for using non standard words
Replies: 4
Views: 982

There are a lot of posters whose primary language is not English. Keep asking questions. Keep trying to improve and we will gladly help fill in the gaps in your English as well as your DataStage skills.