Search found 53125 matches

by ray.wurlod
Sun Jul 20, 2008 10:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Name check
Replies: 2
Views: 2339

Convert all the valid characters to "" using a single Convert() function then test using Len() function to determine whether anything remains. The following expression is true if TheField contains a valid value, false if not. Len(Convert("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ&.,"...
by ray.wurlod
Sun Jul 20, 2008 10:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge
Replies: 8
Views: 1619

OK, we're not getting enough from the error message alone. Somewhere, perhaps in your source data, there is a value "R" that is not being successfully converted to a timestamp. Can you please therefore post (a) your job design and (b) the column definitions of your source data?
by ray.wurlod
Sun Jul 20, 2008 6:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Handle DataQuality?
Replies: 3
Views: 1374

Initial skepticism is what I've always found to be best. Disbelieve everything you are assured about data quality (if it's good) and CHECK. Profile the data to learn what's really there (ProfileStage is good here, and AuditStage is good for verifying compliance with business rules*). Based on the pr...
by ray.wurlod
Sun Jul 20, 2008 5:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Do Groups or Loops
Replies: 2
Views: 751

Alas, that is not how the product works, unless you create your own stage (probably a Build stage). In the "out of the box" stage types, you configure the processing requirements of each field separately.
by ray.wurlod
Sun Jul 20, 2008 2:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Copy Stage
Replies: 7
Views: 3480

Ah, the Force option in the Copy stage itself. Well, that's basically there so that you can require the compiler to include a copy operator even though one is not, strictly speaking, needed. Another way is to use the Copy stage to do something, even something trivial like re-naming a column. You say...
by ray.wurlod
Sun Jul 20, 2008 2:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file issue
Replies: 2
Views: 1018

This is not a hashed file issue. It is an issue with your Oracle query. The ORAnnnn form of the error message code indicates that this is so. There are several possible causes of "snapshot too old": enlist your DBA to help to track down why yours is occurring. The message is being generated by an "i...
by ray.wurlod
Sun Jul 20, 2008 2:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Connecting to oracle through Subroutine??
Replies: 2
Views: 1033

Search the forum for "BCI" (BASIC SQL Client Interface) for one approach, however this will need an ODBC driver. You might also search for techniques using sqlplus invoked from a shell script.
by ray.wurlod
Sat Jul 19, 2008 10:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Copy Stage
Replies: 7
Views: 3480

Don't know where you read that. The Copy stage is compiled out irrespective if it's not needed (that is, makes an identical copy of its input). Force compile has nothing whatsoever to do with it.
by ray.wurlod
Sat Jul 19, 2008 3:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting date from dd/mm/yy to yyyy/mm/dd in parallel
Replies: 5
Views: 1279

Search for CENTURYPIVOT both here and in the manuals.
by ray.wurlod
Sat Jul 19, 2008 3:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert and update the data in the sqlserver200 table
Replies: 3
Views: 1086

Because you are relatively new, let me gently suggest that Search is your friend here. Yours is a fairly common requirement in DataStage and others before you have posed exactly the same question - and had it answered. Yes you can use Upsert, but this tends to be less efficient; for example "update ...
by ray.wurlod
Sat Jul 19, 2008 3:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Callingstor edprocedure in the datastage
Replies: 4
Views: 982

Can you mark this thread as Resolved?
by ray.wurlod
Sat Jul 19, 2008 3:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to fetch info from scheduler
Replies: 5
Views: 2024

Open the file with WordPad rather than Notepad. The squares are newline characters: AT uses UNIX line terminators. You can, therefore, use a Sequential File stage that specifies UNIX-style line termination. Otherwise, the WordPad output will give you all you need to know about parsing the output. Th...
by ray.wurlod
Sat Jul 19, 2008 3:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Abort a job
Replies: 7
Views: 1913

It just occurred to me that, since you apparently don't want to use a job sequence (not a Sequencer - that's something you have IN a job sequence) that you could also effect whatever tests you like in a before-job subroutine. Setting the ErrorCode argument to any non-zero value will cause the job to...
by ray.wurlod
Sat Jul 19, 2008 3:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Importing MS-ACCESS File
Replies: 5
Views: 1219

The only way you will do this directly from UNIX is if you have a UNIX-based ODBC driver for MS Access. No such driver ships with DataStage, so it is up to you to find one. An alternative is to dump your table(s) from Access into some kind of flat file format on Windows, FTP those files to UNIX, and...