Search found 53125 matches

by ray.wurlod
Wed Apr 09, 2014 5:01 pm
Forum: General
Topic: Issue with Execute command activity stage in sequencer
Replies: 10
Views: 6143

DSMaskExecArgs is one of your routines?

The error message suggests that a routine of this name has been edited (or even just opened and saved with no changes) and not yet re-compiled.
by ray.wurlod
Wed Apr 09, 2014 2:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert varchar to timestamp
Replies: 11
Views: 3950

Except that the middle one needs to be SUBSTRINGS (I assume you made a typo here) that will work.

Another possbility - which I believe is better self-documented - is

Code: Select all

Fmt(InLink.TheValue, "L####-##-## ##:##:00") 
by ray.wurlod
Wed Apr 09, 2014 2:49 pm
Forum: General
Topic: Error Logging
Replies: 5
Views: 1578

The Exception Handler has activity variables that report which activity failed, an error number (not much use) and an error message.
by ray.wurlod
Tue Apr 08, 2014 2:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the last link of an etl job?
Replies: 10
Views: 4180

Fix the 20%.
by ray.wurlod
Tue Apr 08, 2014 2:04 pm
Forum: General
Topic: Error Logging
Replies: 5
Views: 1578

Use activity variables from the Exception Handler in the subject of the email sent from Notification activity.
by ray.wurlod
Tue Apr 08, 2014 2:03 pm
Forum: General
Topic: Looking for Datastage user related info
Replies: 4
Views: 1807

That information is not documented.
by ray.wurlod
Mon Apr 07, 2014 9:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Equivalent to UtilityRunJob
Replies: 6
Views: 1741

As Craig notes, use a server job. In the Sequential File stage specify that it uses a Filter command and setup the filter command as cat file1 file2 file3 ... The stage will read stdout of the filter command rather than the file name you (have to) supply. Add downstream logic to discard any header r...
by ray.wurlod
Mon Apr 07, 2014 7:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to filter XML records
Replies: 2
Views: 1195

What have you tried? We're really here to help you to develop your skills, rather than to provide solutions. (Some of us are in business doing the latter, but that doesn't count in this discussion.) So please post any analysis you may have done of the problem (apart from "ask DSXchage how to do...
by ray.wurlod
Mon Apr 07, 2014 4:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Equivalent to UtilityRunJob
Replies: 6
Views: 1741

What Craig said, but stronger. If you were to write your own you would need to encapsulate the DataStage C API in order to have the ability to set parameters, request runs, discover status, and so on. A review of the source code for UtilityRunJob will give you the logic. You would also need to take ...
by ray.wurlod
Mon Apr 07, 2014 4:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dropping Component warning on the Difference Stage
Replies: 4
Views: 4100

DataStage is telling you that it can't transfer two identically named columns to the output of the stage. You could rename - or make copies of - the columns on one of the input links if you need both in the output.
by ray.wurlod
Mon Apr 07, 2014 4:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the last link of an etl job?
Replies: 10
Views: 4180

If you use link naming conventions, for example naming an output link tablename_OUT, then your task will become a lot easier.
by ray.wurlod
Mon Apr 07, 2014 4:59 am
Forum: General
Topic: @RECORD
Replies: 1
Views: 1727

@RECORD is a system variable that contains the entire record (as a dynamic array) from a DataStage hashed file. DS_JOBOBJECTS is a hashed file. There is no metadata associated with @RECORD. The structure of records in DS_JOBOBJECTS varies depending on what kind of job object is being stored. Metadat...
by ray.wurlod
Sun Apr 06, 2014 5:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IIS 8.5 Datastage with MongoDB
Replies: 3
Views: 3865

You can download a connector for MongoDB from developerWorks. It's intended for 9.1 and later, but source code is there so you may be able to tweak something that works from 8.5. No guarantees, however.