Search found 53125 matches

by ray.wurlod
Tue Jul 29, 2008 4:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read sequential variable length file
Replies: 5
Views: 2514

How strange. Can you please try using Char instead of VarChar for the length?
record
{final_delim=end, delim=none}
(
RecNum:string[18];
RecLength:string[3];
Other:string[max=50];
)
by ray.wurlod
Tue Jul 29, 2008 4:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal Stage Termination error *Unique*
Replies: 12
Views: 2570

In Administrator client command window SELECT NAME,JOBNO FROM DS_JOBS WHERE NAME = 'InsCpsClaimAdj'; That will give you the job number. On the server look in a directory called RT_BPnnn, where nnn is that job number. A file whose name ends in TRANSnn is the source code generated by the Transformer s...
by ray.wurlod
Tue Jul 29, 2008 4:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to abort a job from back end process
Replies: 8
Views: 2537

This is all so bad!

The "proper" way to abort a job (if there is any "proper" way, which I doubt) is to have some mechanism that the job sequence itself can detect, such as the existence/non-existence of a file.
by ray.wurlod
Tue Jul 29, 2008 4:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: return error code with deffun fucntion ?
Replies: 8
Views: 2496

You require line number 3 of the output.

Code: Select all

OutputExploitable = Output<3> + 0

(The arithmetic removes leading/trailing space.)
by ray.wurlod
Tue Jul 29, 2008 4:25 pm
Forum: General
Topic: Purchased Premium Membership
Replies: 4
Views: 2103

Weekends can be a delay too, because it's a manual process.

Please mark this thread as Resolved.
by ray.wurlod
Tue Jul 29, 2008 3:07 am
Forum: General
Topic: client and server connection Set up
Replies: 5
Views: 2344

Welcome aboard. You connect initially to IBM Information Server, by specifying the name of the machine where that server is installed and its port number (usually 9080). Your authentication (user ID and password) are processed by IBM Information Server. If successful, the client connection dialog's ...
by ray.wurlod
Mon Jul 28, 2008 10:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Command execute activity
Replies: 12
Views: 4056

What you get back from wc is the result followed by a newline.
When this comes into DataStage, the newline is converted into a field mark.
You need to trim the field mark or extract the field from the returned dynamic array.

Code: Select all

Trim(ECActivity.$CommandOutput,@FM,"T")
by ray.wurlod
Mon Jul 28, 2008 7:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Importing table definition via ODBC
Replies: 4
Views: 4239

They are normally installed automatically with DataStage server components.
by ray.wurlod
Mon Jul 28, 2008 7:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 11788

Select * means that you will get the default column widths. LIST.DICT hashedfile will give you a "file dictionary" (table definition) listing. You can get the column names from that - anything with a type "D" or "I" can be used in a SELECT query. "15L" decodes as 15 characters wide, left justified. ...
by ray.wurlod
Mon Jul 28, 2008 6:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: HASH Function?
Replies: 5
Views: 5492

There is no HASH function available. You can write your own, either as a parallel routine or as a Build stage.
by ray.wurlod
Mon Jul 28, 2008 6:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning at Source
Replies: 4
Views: 1212

If your Lookup Failed rule is "Continue" then all fields on the reference input need to be nullable, as do any output fields derived from them. With "Continue" you are effectively doing a left outer join, with the reference input the right hand side of that join.
by ray.wurlod
Mon Jul 28, 2008 6:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Poor performance on Sunfire T2000
Replies: 2
Views: 1199

Welcome aboard. Define "performance" in an ETL context. What measurements are you taking about resource consumption? DataStage starts processes. Allocation of those processes to CPUs is a function of the operating system. Eight cores should theoretically be the same as eight single-core CPUs in stan...
by ray.wurlod
Mon Jul 28, 2008 6:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 11788

You have to use your column names, not mine.
by ray.wurlod
Mon Jul 28, 2008 4:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 11788

Code: Select all

cd $ProjectDir

. ${DSHOME}/dsenv

${DSHOME}/bin/dssh "SELECT @ID FMT '15L', F1 FMT '15L', F2 FMT '15L' FROM hashedfile;"
by ray.wurlod
Mon Jul 28, 2008 4:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 11788

Get the metadata correct, or use command line overrides to get the display widths sufficiently large.

Code: Select all

SELECT @ID FMT '15L', F1 FMT '15L', F2 FMT '15L' FROM hashedfile;