Search found 53125 matches

by ray.wurlod
Thu Oct 11, 2007 1:32 am
Forum: General
Topic: Make a process using a list of files
Replies: 4
Views: 1517

Don't hold your breath waiting. Your specification is too vague to give any more than a vague answer, and that has been given. Now create a proper specification; what's in the file, how you plan to read it, what you need to do with its contents, and so on. Post that (in the server forum, not here) a...
by ray.wurlod
Thu Oct 11, 2007 1:29 am
Forum: General
Topic: What is the best update strategy
Replies: 0
Views: 951

If you used Red Brick you could have automatically-maintained aggregate tables. But no, you don't. Are the changes to fully additive facts (totals and counts)? If so, you could update the record with the required delta operation (addition/subtraction). Other than that, unload then reload the summary...
by ray.wurlod
Wed Oct 10, 2007 10:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running job in control M
Replies: 16
Views: 17532

Why do you assume that?
:?
by ray.wurlod
Wed Oct 10, 2007 10:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sort String
Replies: 18
Views: 3792

I made it up sitting in an airport lounge. What specific warnings did you get? How did you try to create the routine? Irrespective, if does have some minor errors. Here's a working one. FUNCTION SortList(TheList, TheDelimiter) * Change to undefine to perform unique sort (remove duplicate...
by ray.wurlod
Wed Oct 10, 2007 5:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sort String
Replies: 18
Views: 3792

You need a routine. It's not hard; an insert sort will do it. FUNCTION SortList(TheList, Delimiter) * Change to undefine to perform unique sort (remove duplicates). $DEFINE PreserveDuplicates * Validate input arguments. If UnAssigned(TheList) Or UnAssigned(TheDelimiter...
by ray.wurlod
Wed Oct 10, 2007 5:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing Control and Non-ASCII characters
Replies: 9
Views: 12412

Convert() does not support ranges or octal representation, but you can set up a stage variable containing a string of all the characters to be converted, and a single Convert() function can then be used to replace them with " " from a stage variable containing the same number of space characters as ...
by ray.wurlod
Wed Oct 10, 2007 5:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert accented characters to english
Replies: 9
Views: 9218

Try it without Char(128) in the mix. Char(128) is (by default) DataStage's internal represntation of NULL, and Microsoft's internal representation of the Euro character. With NLS enabled this is mapped to the private use area. You only need one Convert function. Set up a two stage variables, one con...
by ray.wurlod
Wed Oct 10, 2007 5:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQLSTATE=IM003 error after doing all
Replies: 4
Views: 2272

Please post the pertinent entries from .odbc.ini and uvodbc.config

It may also be that your DB2 configuration file has something invalid in it.
by ray.wurlod
Wed Oct 10, 2007 5:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence Number
Replies: 14
Views: 2797

Execute Command activity to read the file, perhaps using cat command.
Use $CommandOutput activity variable - maybe needing to trim field marks - to supply the job paramter value. Search the forum for details - it's been explained before.
by ray.wurlod
Wed Oct 10, 2007 5:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequencer Entered Never Exited with Any Mode
Replies: 2
Views: 847

I can not understand your job sequence design. Please wrap it in Code tags, then use Preview to get it right.
by ray.wurlod
Wed Oct 10, 2007 5:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Parameter as part of DataSet name
Replies: 4
Views: 1132

With a Data Set (or File Set) you are specifying the name of its control file. This certainly can include job parameter references - it's a regular "pathname". Please note that the name of a Data Set control file must have a suffix of ".ds". Best practice is to allocate a directory (perhaps a subdir...
by ray.wurlod
Wed Oct 10, 2007 5:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to load current table records to historical table in tgt
Replies: 5
Views: 1489

As you're doing the load perform a lookup against the target (or a copy of same) to determine existence, and set your flag accordingly.
by ray.wurlod
Wed Oct 10, 2007 4:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: View Data in ODBC Stage for Teradata
Replies: 5
Views: 2002

Welcome aboard. Try creating and running a small job to see if the job can access data (the data browser is a different beast).
ODBC -----> Peek
by ray.wurlod
Wed Oct 10, 2007 4:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Special character  getting trimmed in DataStage
Replies: 9
Views: 10256

The Char() function requires a decimal argument. Try Char(160).
by ray.wurlod
Wed Oct 10, 2007 4:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: can we call routine in the Transformer stage
Replies: 4
Views: 1466

You need to create an entry in the Routines branch of the Repository - a "new parallel routine". This entry is not actually the routine, it is instructions to DataStage about how and where to find it, the number and types of its arguments (for checking purposes) and so on. Until you have done this, ...