Search found 53125 matches

by ray.wurlod
Mon Sep 22, 2008 3:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Unix commands in datastage
Replies: 17
Views: 39207

In job sequences you have the Execute Command activity available. Does that name suggest its possible purpose?
by ray.wurlod
Mon Sep 22, 2008 3:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Varchar to Date format
Replies: 42
Views: 10909

Oracle wants a timestamp. Give it one. That means (almost certainly) year-month-day order in the date portion and "proper" delimiters. In short, what you get when you SELECT this field from Oracle.

Code: Select all

Fmt(InLink.Field1,"L####-##-## 00:00:00") 
by ray.wurlod
Mon Sep 22, 2008 1:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replacing DB2 enterprise stage with teradata enterprise stag
Replies: 11
Views: 2839

Well, according to John's figures you should be able to finish the whole lot in about 3000 minutes.
by ray.wurlod
Mon Sep 22, 2008 1:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: No Design time information
Replies: 1
Views: 973

Gosh, two on the one day, and neither of them thought to Search!
by ray.wurlod
Mon Sep 22, 2008 1:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pass SQL Query as Parameter Thru Unix Script
Replies: 12
Views: 13132

Re: Pass SQL Query as Parameter Thru Unix Script

The input source query to the DB2 stage needs to be passed as a parameter to the job. Why? How do you propose to handle other queries that might return other than a single integer column? Have you really thought this through properly? Why are there no quotes surrounding a string that contains space...
by ray.wurlod
Mon Sep 22, 2008 1:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Varchar to Date format
Replies: 42
Views: 10909

DATATIME I doubt; DATETIME I'd believe. Did you import the Oracle table definition? Did it come in as Date or Timestamp?
by ray.wurlod
Mon Sep 22, 2008 1:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: The item has no design time information
Replies: 0
Views: 1332

Doesn't Search work for you? Lots of folks have encountered this; the error is one of omission when exporting.
by ray.wurlod
Mon Sep 22, 2008 1:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Varchar to Date format
Replies: 42
Views: 10909

There are NO DATA TYPES in server jobs. You can use any operator you like.
by ray.wurlod
Mon Sep 22, 2008 1:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Manual Bulk Loader
Replies: 2
Views: 1174

Umm.. don't give multiple values of user ID?

Unless you post your code we can't be more targeted than that.

Interesting also that you're getting LRM error rather than ORA error. But we'll let that ride for the moment.
by ray.wurlod
Mon Sep 22, 2008 1:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal Termination of stage:TRN (Transformer Stage)
Replies: 5
Views: 2084

What's different, what has changed? "Nothing" is not the correct answer, it may be the data, it may be the hardware, etc. Did you reset the job and, if so, was there any additional diagnostic information logged?
by ray.wurlod
Mon Sep 22, 2008 1:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unable to delete job
Replies: 10
Views: 4464

I'm going to get you to do a slightly unnecessary step that will make following explanations clearer. I want you to execute the same command but to include the headers from the list_readu command. list_readu | head -2 ; list_readu | grep CMN_GET_BATCH_ID_JBS Please post the result, as I am not at a ...
by ray.wurlod
Mon Sep 22, 2008 12:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: BINARY data automatically gets converted
Replies: 1
Views: 665

Welcome aboard.

You will not get any sensible answers here because this forum is for server jobs. You needed to post on the job for Enterprise Edition (parallel jobs).

What's different between your development and production environments?
by ray.wurlod
Mon Sep 22, 2008 12:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Varchar to Date format
Replies: 42
Views: 10909

Use substrings and concatenation - it's far more efficient. Right(InLink.TheString,2) : "/" : InLink.TheString[5,2] : "/" : Left(InLink.TheString,4) If you must use Oconv() include the delimiter in the format specification. Oconv(Iconv(Inlink.Field1,'DYMD[...
by ray.wurlod
Sun Sep 21, 2008 10:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: conversion from varbinary to varchar
Replies: 2
Views: 1522

323032303230 is the hex equivalent of "202020". So, somewhere, a "raw to hex" conversion was being performed, either automatically because you're reading it into a VarChar or because you asked for it somehow. You can convert this back to raw (VarBinary) form using Oconv() with "MY" as the conversion...
by ray.wurlod
Sun Sep 21, 2008 8:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Listing Stages From Executable Of A DataStage Job
Replies: 8
Views: 4030

Still doesn't obviate the need to loop over all projects. An export file can pertain only to one project.