Search found 4605 matches

by kduke
Tue Nov 21, 2006 6:43 am
Forum: General
Topic: Plagiarising Premium Posts?????
Replies: 5
Views: 2737

What about jobs and scripts? I think that is worse. I tend to over comment in scripts and sometimes BASIC code so it is easy to see my code in other people's work. To pawn other people's work as your own is worse. It is expected that others will reword something expecting it to be more easily unders...
by kduke
Tue Nov 21, 2006 6:36 am
Forum: Site/Forum
Topic: Someplace to upload files...
Replies: 1
Views: 1963

I don't mind as long as it is just Craig. Mail it to me.
by kduke
Mon Nov 20, 2006 8:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: User defined SQL issues - AKA: am I making this too hard??
Replies: 13
Views: 4047

Why not?

Code: Select all

UPDATE #SchemaName#.#TableName# SET TRIGGER_STATUS = '0' WHERE SEQ_NUM = ? AND STATUS_FLAG IN (1,2)


I agree with Craig. This should work.
by kduke
Mon Nov 20, 2006 8:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot find record JOBPARAMINSTS in executable job
Replies: 10
Views: 4493

The job number is 2417. You could do a

SELECT * FROM DS_JOBS WHERE JOBNO = '2417';

To find out which job it is then try to fix this one job.
by kduke
Mon Nov 20, 2006 8:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ETL Comparison
Replies: 8
Views: 2307

I think Vincent is on the right path. In Reporting Assistant's doc_tool.mdb. The columns are stored in DSColumns and in DSProperties. You could select column names not in the list from the other job.
by kduke
Sat Nov 18, 2006 9:42 pm
Forum: General
Topic: Server to Parallel Transition Lab
Replies: 1
Views: 1720

Send me a copy. I will give you my opinion.

Thanks Ray.
by kduke
Sat Nov 18, 2006 4:12 pm
Forum: General
Topic: Universe Stage
Replies: 11
Views: 5868

Sure the lex parsimoniae (law of succinctness). http://en.wikipedia.org/wiki/Occam's_razor Easy for us simple minded folks.
by kduke
Fri Nov 17, 2006 7:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read SQL query from File
Replies: 1
Views: 789

You could use a parameter like #SqlStmt#. You could also change utility hash file read to do an openpath to the directory where your script was. Next the key is the filename of the SQL file.

This is not a simple solution but I think you can figure it out.
by kduke
Fri Nov 17, 2006 7:16 pm
Forum: General
Topic: Universe Stage
Replies: 11
Views: 5868

I like the simple ones.
by kduke
Fri Nov 17, 2006 7:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Pass values from a table to Parameters?
Replies: 3
Views: 1084

I land them into a hashed file just like this post http://www.dsxchange.com/viewtopic.php?t=105239
by kduke
Fri Nov 17, 2006 7:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pass valus to UNIX script fromDS control job
Replies: 9
Views: 1711

Ray is correct. Most of the time I add -c.
by kduke
Fri Nov 17, 2006 6:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pass valus to UNIX script fromDS control job
Replies: 9
Views: 1711

You need to quote it right as well to get the arguments correct. Under the covers these command are calling the execute command in BASIC.

Code: Select all

Cmd = 'SH "ShellScript Arg1 Arg2"'
execute Cmd capturing Output returning ReturnCode
by kduke
Fri Nov 17, 2006 6:42 am
Forum: General
Topic: Universe Stage
Replies: 11
Views: 5868

You need ";" at the end of your SQL statement.
by kduke
Fri Nov 17, 2006 6:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Set Variables in DataStage?
Replies: 4
Views: 6900

I land the values in a hashed file. I use the utility hash read routine to read it into a variable in a sequence to load it into a parameter.
by kduke
Wed Nov 15, 2006 6:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage server directory running out of space
Replies: 17
Views: 5263

#!/bin/ksh # 500mb find . -size +500000000c -exec ls -l {} \; The find command has lots of options. The . is the directory it starts to look in. You cn make this / to look in every directory on the system. Usuaully you need to be root to do this or you get lots of errors. The -size says r...