Search found 53125 matches

by ray.wurlod
Sun Mar 12, 2006 5:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TIme out message while calling a job
Replies: 6
Views: 2417

Welcome aboard. :D Curiously, you're not the first to have encountered this, which is usually symptomatic of an overloaded system. At the top of the screen is a menu, on which there is a Search option. Use this to see what others have found when investigating this particular message. Search can save...
by ray.wurlod
Sun Mar 12, 2006 5:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: intermediate result set required from a recordset
Replies: 19
Views: 6014

Take a look at the hashed file's file variable (HashedFile.fvar). It's declared to be in COMMON, and is accessible at all recursion levels. Any variable in COMMON contains the value that was most recently assigned to it. Therefore, if you assign a value at the innermost level, it will be available a...
by ray.wurlod
Sun Mar 12, 2006 1:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate Sequence in Oracle DB in PX jobs.
Replies: 6
Views: 4102

Why don't you just use the sequence when inserting the rows with user-defined SQL? For example

Code: Select all

INSERT INTO table(col1, col2, col3)  VALUES (tableseq.NEXTVAL, :1, :2);
by ray.wurlod
Sun Mar 12, 2006 11:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: initialize statment before reading
Replies: 2
Views: 730

Depending on exactly what you want to do, you also have row filtering (start row number and end row number) on the stage properties page, the ability automatically to generate FILLER columns on the column selection page the ability to specify pre-sorting of data during read (useful in some downstrea...
by ray.wurlod
Sun Mar 12, 2006 10:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem in using server routine
Replies: 2
Views: 898

Assuming you have version 7.5 or later: Field(RoutineActivity.$ReturnValue, ";", 1, 1) and Field(RoutineActivity.$ReturnValue, ";", 2, 1) However, your code isn't doing what you want it to do. The final assignment statement always prevents Ans from being "File not...
by ray.wurlod
Sun Mar 12, 2006 10:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: initialize statment before reading
Replies: 2
Views: 730

DataStage/390 is designed to stream data from a sequential file. As you note, the generated COBOL includes an INITIALIZE. I'm assuming here that you're using a Fixed Width Flat File stage or a Delimited Flat File stage. While there's nothing you can do in DataStage, there's nothing to stop you from ...
by ray.wurlod
Sun Mar 12, 2006 10:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: intermediate result set required from a recordset
Replies: 19
Views: 6014

Col1 is Arg at the innermost call. Lodge it in a COMMON or system variable such as @USER.RETURN.CODE.
by ray.wurlod
Sun Mar 12, 2006 7:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dataset, Fileset
Replies: 15
Views: 5138

Yes, but there are other options. For example, a Lookup stage can perform a "sparse" lookup directly to a DB2 or Oracle table. Almost no impact on memory whatsoever. Ask yourself whether a lookup to a Lookup File Set loads a virtual Data Set first? If not, again little impact on memory. That's anoth...
by ray.wurlod
Sun Mar 12, 2006 7:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: most frequently used stages?
Replies: 5
Views: 2737

That's true as far as it goes, but remember that the libraries produced by compiling the Transformer stage have to be dynamically linked at run time. So there is also the call overhead. I prefer to use stage types that use operators directly, because the Orchestrate engine is geared to the explicit ...
by ray.wurlod
Sat Mar 11, 2006 5:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: most frequently used stages?
Replies: 5
Views: 2737

No. Only if those are the tasks you need to perform. But they're as good a starting point as any, provided you don't overlook the technicalities of getting the passive stages to work right. Otherwise you won't be able to do the "E" and "L" parts of "ETL"! And you really will need one or both of Modi...
by ray.wurlod
Sat Mar 11, 2006 1:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: most frequently used stages?
Replies: 5
Views: 2737

Welcome aboard. :D You did not state whether you are coming from a server edition background or are entirely new to DataStage EE. I doubt that you will get much consensus. DataStage EE has many more stage types than server, because it follows a philosophy of one stage, one task (unlike the Transform...
by ray.wurlod
Sat Mar 11, 2006 8:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unrecognized Argument
Replies: 5
Views: 10611

My guess is that there was an inadvertent & in the SQL statement.
by ray.wurlod
Sat Mar 11, 2006 6:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dataset, Fileset
Replies: 15
Views: 5138

That's not quite true. The File Set control file gives the location of the data files, and these are quite readable by humans and outside processes. The point is, however, that the File Set is partitioned, so that some of the data (rows) are on each processing node. That may inconvenience outside ap...
by ray.wurlod
Fri Mar 10, 2006 6:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: intermediate result set required from a recordset
Replies: 19
Views: 6014

Here's a sketch of the algorithm. Open the hashed file into a variable in COMMON if it's not already open. You will, as noted above, need a DEFFUN declaration. FUNCTION ReadRec(Arg) DEFFUN ReadRec(X) Calling "DSU.ReadRec" COMMON /ReadRec/Initialized, HashedFile.fvar If Not&...