Search found 53125 matches

by ray.wurlod
Wed Oct 18, 2006 3:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rare Error Messsage
Replies: 20
Views: 9221

RECORD.SIZE performs a calculation to set GROUP.SIZE and LARGE.RECORD. The problem's probably there. It's not a required tuning parameter and should therefore be left blank.
by ray.wurlod
Wed Oct 18, 2006 1:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: uvregen - Decimal places greater than 15
Replies: 6
Views: 2771

Put the compiler declaration PRECISION 14 at the top of your code.
by ray.wurlod
Wed Oct 18, 2006 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delete one record from file
Replies: 7
Views: 3398

To answer the original question, one method would be to use the ODBC driver for text files. You know the name/value for the first row, you can build that into a DELETE statement. But it will be slow.
by ray.wurlod
Wed Oct 18, 2006 1:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trim the row values
Replies: 10
Views: 2313

Most of the answers will still work there.
by ray.wurlod
Wed Oct 18, 2006 12:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dates (Datetime) comparison in Routines
Replies: 10
Views: 2844

Code: Select all

Field(TheTimestamp, " ", 2, 1) 
will always return what follows the first space (and precedes the second space). All of the data you've cited in this thread have a space between the date and time parts.
by ray.wurlod
Wed Oct 18, 2006 12:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File Delimiter - Project level setting
Replies: 4
Views: 1023

The Sequential File stage that you use in the job is an object that instantiates the class of Sequential File stages. This is stored as a record in the DS_STAGETYPES table in the repository. You could hack this and change the defaults. Open the properties of the stage type in Manager (or Designer) t...
by ray.wurlod
Wed Oct 18, 2006 12:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read Binary (BCD) file with variable length records
Replies: 4
Views: 3920

That's fine. If you can represent that as a COBOL format and import from that (put it in a file) then you can readily use the CFF stage. Is every field BCD, or do you have a mix of encodings? Otherwise you can read the entire record as a VarChar (I've assumed that each line has a line terminator) an...
by ray.wurlod
Wed Oct 18, 2006 12:36 pm
Forum: General
Topic: Recompiling all jobs following upgrades is slow.
Replies: 13
Views: 6686

It is claimed (at IOD) that the multi-job compile through the GUI is "much faster" in Hawk. Did not ask (yet) about dscc.
by ray.wurlod
Wed Oct 18, 2006 12:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic Exception and Rejection Handling
Replies: 5
Views: 1766

You can create business rules routines and store their names in a hashed file keyed by some kind of rule ID. You can then create a routine that invokes the named routine using late binding (also known as indirect call).

Code: Select all

SubrName = Arg1
Call @SubrName(Ans, Arg2)
by ray.wurlod
Wed Oct 18, 2006 12:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading files Dynamically and setting JOB parameters
Replies: 8
Views: 1962

The StartLoop activity can be controlled by a "list of things" that can be an explicit list or a regular expression that generates such a list. This is probably the easiest. To learn it, create a job sequence with just a StartLoop, Routine and EndLoop activity. The Routine can call UtilityInfoToLog,...
by ray.wurlod
Wed Oct 18, 2006 12:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: reading file names from a windows dir
Replies: 7
Views: 1914

... and be sure that C:\Temp\Bkup folder exists and is writable.
by ray.wurlod
Tue Oct 17, 2006 7:40 pm
Forum: General
Topic: Upgrade path for Information Server Release
Replies: 5
Views: 3294

Client: minimum 2GB memory. Server: minimum 2GB memory; at least 8GB recommended. Source: Information on Demand conference paper IBM Information Server (Hawk) Migration and Installation presented today by Jim Tsimis from IBM Advanced Technical Support. No information on software cost; my guess is th...
by ray.wurlod
Tue Oct 17, 2006 7:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Consecutive Generic stages problem...
Replies: 6
Views: 2267

Put a Copy stage between them, as advised earlier in this thread.
by ray.wurlod
Tue Oct 17, 2006 7:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to avoid warngs when convert from varchar(10) to char(4)
Replies: 16
Views: 7008

Your replacement value for null does not contain four characters. It must, if it's destined for a string[4] field.

Irrespective of that, Modify is very verbose about what it's doing. Create a message handler to demote this warning to an informational message.
by ray.wurlod
Tue Oct 17, 2006 7:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Column Generator Default Value
Replies: 3
Views: 979

What algorithm are you using in the Generator property? All you have to do is use a Cycle and specify it as the correct number of spaces. But you do have to configure each generated column separately.