Search found 4992 matches

by kcbland
Wed Feb 23, 2005 11:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple Conditions
Replies: 2
Views: 1074

You could write your own INLIST type function, such as one posted here: m to simplify some of what you're doing. Ray's suggestion to use a stage variable to hold the 3 char substring you're using over and over is another good idea. You may consider writing a BETWEEN type function so that you can sim...
by kcbland
Wed Feb 23, 2005 11:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Searching and Removing data from file
Replies: 3
Views: 1287

Try "man grep" on your version of Unix. The "-v" option should be available for returning non-matching rows.
by kcbland
Wed Feb 23, 2005 10:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Setting up DS 7.5 on Windoze 2003 Server with UTF8 enabled
Replies: 5
Views: 1239

Setting up DS 7.5 on Windoze 2003 Server with UTF8 enabled

DS is setup for NLS. From Administrator General tab, I choose hit NLS button. I go to Client/Server map in use pull down and choose UTF8. Error message comes up: Map 'UTF8' is unsuitable for client/server use - Does not map the UniVerse mark character IM to a single byte. I hit okay, message comes u...
by kcbland
Wed Feb 23, 2005 2:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Before/After sql
Replies: 7
Views: 1713

Re: Before/After sql

madhonrougeuri wrote:Hi,
Could any body tell me in what case is before/after sql used in OCI stage..any examples?

Thanks.


For Oracle, you could find uses such as:

Code: Select all

ALTER SESSION DISABLE PARALLEL QUERY;

Or

Code: Select all

ALTER SESSION ENABLE PARALLEL DML;

Or

Code: Select all

Grants, Drops, Creates, Stored Procs, etc
by kcbland
Wed Feb 23, 2005 1:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ds job run errors
Replies: 6
Views: 1170

Parameters are fed as:

Code: Select all

 -param JOBPARAMETERNAME=value


You aren't specifying which parameter gets what value.
by kcbland
Wed Feb 23, 2005 11:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Code
Replies: 17
Views: 8251

ray.wurlod wrote:The expression (If Club = 'c' THEN COUNTRY_CDE = '2' else '0') can only return "2" or "0".



Ray's statement is wrong. He should not have the "COUNTRY_CDE = '2'", just " the '2' portion. Craig has been trying to point this out.
by kcbland
Wed Feb 23, 2005 11:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Change detection between projects
Replies: 3
Views: 983

See this post: m You can use DS_AUDIT as a means of identifying what objects have changed in a project, but for internally on the object, you must do a .dsx comparison. However, this may not work because of the internal numbering scheme on object designs. The internal numbers change as you do things...
by kcbland
Tue Feb 22, 2005 4:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Code
Replies: 17
Views: 8251

You must return your answer in a variable called 'Ans'.

Code: Select all

If Club = 'c' THEN Ans = '2' else Ans= '0' 
by kcbland
Tue Feb 22, 2005 12:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: multiple inputs to flat file.
Replies: 6
Views: 1161

Execute a Unix concatenate statement. If you carefully used a naming convention where there is a common portion of the filename, then simply use a cat statement with a wildcard. Example: All of your jobs wrote out an error file for "FRED" table under the name "FRED_yourjobname.dat". You can then exe...
by kcbland
Tue Feb 22, 2005 11:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: multiple inputs to flat file.
Replies: 6
Views: 1161

To add onto Arnds points, you also have an UNRESTARTABLE design, which you should always try to avoid. Job A --> creates sequential file and writes 1000 rows. Job B --> appends to file 1000 rows = 2000 rows total Job C --> appends to file 1000 rows = 3000 rows total Job D --> appends to file 500 row...
by kcbland
Mon Feb 21, 2005 9:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Performance
Replies: 8
Views: 2870

Use multiple job instances and divide the source data into N groups. Use N instances to process the data in 1/N less time, where ideally N is the number of cpus available. Remove all database reference lookups, using hash files. If a single instance fails, re-run just that instance.
by kcbland
Mon Feb 21, 2005 6:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS-Director : Error getting job status.
Replies: 3
Views: 1085

Something internally is messed up. Export and import the job.
by kcbland
Fri Feb 18, 2005 12:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Phantom Error: Zero length string used
Replies: 4
Views: 897

You have a incorrect variable or column name being used in an expression, problably as part of a conditional (IF..THEN..ELSE) that occasionally will take the opposite path. When doing so, it encounters the coding error. Search this forum for looking at RB_BPxxx files to read the physical job code an...
by kcbland
Fri Feb 18, 2005 11:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FTP Stage
Replies: 1
Views: 452

Please search the forum, we've been having lively discussions about it lately.