Search found 53125 matches

by ray.wurlod
Thu Jul 17, 2003 6:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup 1 Key in a 2 Key Hash
Replies: 10
Views: 2365

There is a single command you can use, called SETFILE. It will prompt for any argument not given. Syntax is: SETFILE pathname localname [OVERWRITING] pathname is the pathname of the hashed file (data portion) localname is the unqualified name that goes in the VOC file Example SETFILE /data03/hashedf...
by ray.wurlod
Thu Jul 17, 2003 6:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS Mapping Error
Replies: 6
Views: 3278

Which Transformer stage reported the NLS mapping error, the one that was writing to the hashed file or the one that was reading from the hashed file? Was the NLS map for each link NONE?
by ray.wurlod
Thu Jul 17, 2003 6:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can any1 let me know How to Use PIVOT Stage?
Replies: 2
Views: 852

Manuals for all plug-in (= optional) stages are on the DataStage CD, in a folder called Packages (sub folder Docs). Plug-in stages can be installed when DataStage server is installed or re-installed, or separately using DataStage Package Installer. Ray Wurlod Education and Consulting Services ABN 57...
by ray.wurlod
Thu Jul 17, 2003 6:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: seq. file stage: 2 inputs append to existing file
Replies: 2
Views: 879

A sequential file is just that. Whatever arrives is appended to it. To avoid interleaved lines the operating system prohibits two writers at the same time. There is no way that a single Sequential File stage can bypass this operating system restriction. You might experiment with the two input links ...
by ray.wurlod
Thu Jul 17, 2003 6:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance loading DB2
Replies: 2
Views: 831

It's really going to depend on many variables, not least the size of the table in question, but also on what else the DB2 server may be doing at the time, what else the operating system may be doing at the time, and so on, and even on whether your two tests are genuinely comparable (in a statistical...
by ray.wurlod
Thu Jul 17, 2003 6:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read config/sequence from database
Replies: 20
Views: 3674

You can use a different text file for each job, or a different record in a hashed file. Or you can pay for a licensed ODBC driver and learn how to write code using BCI functions (consult the archives). And, to answer one of your earlier posts, BCI supports only ODBC. If you want to create C function...
by ray.wurlod
Wed Jul 16, 2003 9:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read config/sequence from database
Replies: 20
Views: 3674

This is the first time you've mentioned that you're using DB2; everyone has posted examples of using Oracle sequences. Normally the whole point of using a sequence (which is an object in the database that delivers its next number) is so that you don't have to do so within DataStage. In your example ...
by ray.wurlod
Wed Jul 16, 2003 6:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: numeric and char series generators
Replies: 5
Views: 1578

My usual observation.
That kind of code only works with ASCII alphabetic characters.
It may need modification to work with alphabetic characters in other character sets (for example Greek, Russian and so on) in the NLS world.

Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
by ray.wurlod
Wed Jul 16, 2003 6:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS Mapping Error
Replies: 6
Views: 3278

The correct mapping for hashed files is always NONE, since these are an internal part of DataStage (no further mapping is required). This is not part of your problem - just an observation. The ISO8859-1 map should be able to handle Ctrl-Y quite happily.
by ray.wurlod
Wed Jul 16, 2003 6:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: [RESOLVED]Basic SQL Interface Client (SQL.SUCCESS)
Replies: 4
Views: 524

The SQL.NO.DATA.FOUND you are getting is the status of the SQLError function. It found no error information attached to the handle. When connecting to SQL Server there is almost always information attached to the connection handle; I usually specifically ignore this. ConnStatus = SQLConnect(hDBC, DS...
by ray.wurlod
Wed Jul 16, 2003 5:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to do Row Convention in DataStage?
Replies: 5
Views: 2377

If you really want to do this within DataStage, you need twenty input streams each carrying E_ID and one of the other columns. Each of these has its own Transformer stage which performs a lookup and outputs a row if the lookup succeeds. The result can be inserted into the same target table from each...
by ray.wurlod
Wed Jul 16, 2003 1:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to do Row Convention in DataStage?
Replies: 5
Views: 2377

While you could do this in DataStage performing twenty separate lookups the fact that all the columns are in one table and there is only one lookup table and that both these are in the same database, my suggestion would be to build a query to extract the desired result directly from Oracle, ensuring...
by ray.wurlod
Wed Jul 16, 2003 12:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read config/sequence from database
Replies: 20
Views: 3674

Depends on the database and whether you have a licensed ODBC driver to connect to it. If yes, you can create code that uses BCI (BASIC SQL Client Interface functions) - search the archives of this site for examples. If no, your code can run a small job that retrieves the value in question into a tex...
by ray.wurlod
Tue Jul 15, 2003 6:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS Mapping Error
Replies: 6
Views: 3278

0x19 is Ctrl-Y. Has whoever created the data had to use this key to control when/where data are placed in the application and, if so, can this be prevented? It's very surprising that Ctrl-Y generates a mapping error; as it's in the C0 control set it should be included in every possible map. What is ...
by ray.wurlod
Tue Jul 15, 2003 6:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with DOUBLE type in Client Access v5r1
Replies: 7
Views: 750

In general DataStage processes do NOT run as services. The only exceptions are the resource service, which remains attached to shared memory so that it is not cleaned up, the telnet service and the rexec service. You can see these from the DataStage applet in Control Panel. Other DataStage processes...