Search found 53125 matches

by ray.wurlod
Wed Feb 06, 2008 7:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data extract from source
Replies: 5
Views: 1624

Edited my previous post to correct typo.
:oops:
by ray.wurlod
Wed Feb 06, 2008 3:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to View the native characters in sequential file
Replies: 5
Views: 1098

Yes, provided you used the correct map. It may be that your "Asian characters" are not encoded using UTF-8. There are many other possible maps.
by ray.wurlod
Wed Feb 06, 2008 3:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capturing rejected records
Replies: 13
Views: 4409

Yes, but the UNIX "black hole" is /dev/null, not NULL. In Windows it's .\NUL (there is one in every folder). Hmm, maybe that tells us something about the O/S! I still prefer the Copy stage. Add an annotation and/or a description in the Copy stage to alert the next developer to what you intend by hav...
by ray.wurlod
Wed Feb 06, 2008 3:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to enable TRACING on parallel/server jobs individually?
Replies: 3
Views: 1556

Parallel jobs can be compiled in trace mode, in which case all column values on all links are traced using Peek events in the log (hint: don't run very many rows!). Active stages in server jobs can be traced via the Tracing tab on the Job Run Options dialog when submitting a job run request. There a...
by ray.wurlod
Wed Feb 06, 2008 3:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: tracing log from director using parallel routines
Replies: 8
Views: 2704

Indirectly via an after-job subroutine. Better (in the sense of more easily maintained) would be via a Routine activity in the job sequence that invoked the parallel job.
by ray.wurlod
Wed Feb 06, 2008 3:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert char to date
Replies: 10
Views: 2391

Code: Select all

StringToDate(InLink.Eff_Year : "-" : InLink.Eff_Month : "-01")
by ray.wurlod
Wed Feb 06, 2008 3:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capturing rejected records
Replies: 13
Views: 4409

dspxlearn wrote:What if you want ONLY the rejected records(unmatched) records from the lookup stage and the matched records are not be be captured anywhere?


Send the matched records into a Copy stage with no output link. It will eat them happily.
by ray.wurlod
Wed Feb 06, 2008 3:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify - String_To_Timestamp
Replies: 8
Views: 3203

Don't you need percent signs on the time components in the format string also?

Code: Select all

%yyyy-%mm-%dd %hh:%nn:%ss
              ^   ^   ^
by ray.wurlod
Wed Feb 06, 2008 3:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PRINTER memory segment removed
Replies: 7
Views: 1944

Search to learn the cause. Then take appropriate steps to prevent. Run dsrpcd. Don't run the script under different user IDs at too short an interval.
by ray.wurlod
Wed Feb 06, 2008 3:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Tab File column validations
Replies: 2
Views: 778

Write out the precise specification of what you want to do. You will, as Arnd identified, be reading rows from the files as single strings. Therefore you could use one of the comparison stage types for the column headings question, having dumped the table column names into a file. Why does it matter...
by ray.wurlod
Wed Feb 06, 2008 3:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how can we add parameters in transformer stage
Replies: 17
Views: 2703

I always use a state file and Surrogate Key Generator (or SCD) stage. I guess that's why I never spotted it.
by ray.wurlod
Wed Feb 06, 2008 3:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Environiment parameters for DB2 Enterprise Stage
Replies: 1
Views: 620

Welcome aboard. The answer is "whatever your particular DB2 installation requires". Consult with the DBA.
by ray.wurlod
Wed Feb 06, 2008 3:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert from char data type to date data type
Replies: 3
Views: 1484

You got AN answer. Care to mark the thread as Resolved?
by ray.wurlod
Wed Feb 06, 2008 3:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data extract from source
Replies: 5
Views: 1624

For something that simple, you could nest the Field functions.

Code: Select all

Field(Field(InLink.MyString, "-", 2, 1), "^", 1, 1)

The MatchField() function can also be used here.

Code: Select all

MatchField(InLink.MyString, "0X'^'0X'-',0X",3)
by ray.wurlod
Wed Feb 06, 2008 3:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Stage succeeds but do not execute all sql request
Replies: 9
Views: 2143

Get your DBA to check whether there are any reported failures at the Oracle end, for example "failed to start listener" or "no more listeners".

Do you get row counts (even if zero) reported on all ten output links?