Search found 53125 matches

by ray.wurlod
Tue Jul 22, 2003 10:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aggregation performance
Replies: 15
Views: 3260

Ken once made the comment that Red Brick users are spoiled with their bulk loader. He's right. Another way that they're spoiled is that the bulk loader can be made to update the aggregate tables automatically! [8D] (Off the same data set that is used to load the main tables.) Ray Wurlod Education an...
by ray.wurlod
Tue Jul 22, 2003 10:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parameter Passing through Object?
Replies: 10
Views: 1858

Parameters are properties of job objects (which are instances of the job class). So the only methods that are available are DSGetParamInfo and DSSetParam, or their implicit or inherited equivalents in Job Activities in job sequences or in stage or pin objects. Because of the way that DataStage is de...
by ray.wurlod
Tue Jul 22, 2003 5:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading seq files from BASIC job
Replies: 6
Views: 1261

The array of fields is one-based, not zero-based; that is, the first field number is 1, not zero. DataStage BASIC has a shorthand notation called "delimited substring extraction" that you may prefer; though it generates exactly the same compiled code as the FIELD function. For example: Field001 = Re...
by ray.wurlod
Tue Jul 22, 2003 5:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HashFile Issue
Replies: 4
Views: 685

Truncating the hashed file will probably gain you nothing, since all writes to hashed files are destructive overwrites. The usual way to "truncate" the hashed file is to check the "clear file before writing" check box on the hashed file stage Inputs tab. However, if you'd like to try it as a command...
by ray.wurlod
Tue Jul 22, 2003 4:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Querying a DSN from within a controlling job
Replies: 13
Views: 2463

For DataDirect drivers visit their website: m (These are the drivers currently shipped with DataStage.) For Merant drivers visit their website: m (Are these guys still in the driver business?) For OpenLink drivers visit their website: m (An alternative.) Ray Wurlod Education and Consulting Services ...
by ray.wurlod
Tue Jul 22, 2003 4:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Upadate Action
Replies: 2
Views: 369

As Kim says, it's a matter of which is attempted first. Note, though, that these are both inefficient in that there will be failed attempts made against the database in either case. Best practice is to split the stream of data into those rows that need to be inserted (don't already exist in the data...
by ray.wurlod
Tue Jul 22, 2003 4:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to index an UV file
Replies: 2
Views: 355

CREATE.INDEX does not generate any output. Note, too, that this command only creates the structure; if there are already data in the hashed file, you will need to build the index. The LIST.INDEX command will report whether there are any secondary indices defined for the file. CREATE.INDEX filename c...
by ray.wurlod
Tue Jul 22, 2003 4:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sybase data type 'CS_TEXT_TYPE'
Replies: 1
Views: 277

"Not supported" means exactly that.

Try declaring the column in DataStage as VarChar, and (if necessary) using used-defined SQL to CAST the column AS VARCHAR.

SELECT ..., CAST (COLUMN_TEXT AS VARCHAR(255)) FROM ...

Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
by ray.wurlod
Tue Jul 22, 2003 4:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error Export with the option 'By Category'
Replies: 3
Views: 893

Cleanup project among other things rebuilds the indexes in the repository database. Since everything in the repository is indexed on CATEGORY, this explains why cleaning up the project fixes the problem; the indexing had either not been built properly or had become out of synchronization. Ray Wurlod...
by ray.wurlod
Tue Jul 22, 2003 4:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Developer Licenses
Replies: 7
Views: 3316

Number of developers is licensed separately from the number of telnet users. In version 6 most things that used to be uv... are now ds..., so you need to use dslictool.exe. Syntax is: dslictool report_lic (There is another option, clean_lic -a, to clean up after users become defunct.) At version 6.0...
by ray.wurlod
Tue Jul 22, 2003 12:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Querying a DSN from within a controlling job
Replies: 13
Views: 2463

You have two choices. One is to code using BCI functions, which mimic ODBC functions. To do this from a UNIX-based DataStage server, you will need to have licensed your ODBC driver. The other is to construct a small job that executes the SQL statement via ODBC and deposits the result in, for example...
by ray.wurlod
Tue Jul 22, 2003 12:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Externally Running DS through VB
Replies: 5
Views: 929

vmdsapi.dll is the Windows object that exposes the functions documented for the DataStage Job API. If you have NLS enabled, you will see names that include the language, for example vmdsapiENU.dll for English (US) or vmdsapiJPN.dll for Japanese. uvclnt32.dll does not exist for DataStage 6.0.1; it is...
by ray.wurlod
Mon Jul 21, 2003 8:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datastage 6.01 behavior
Replies: 5
Views: 783

What you see in Director as the status of the job is a column from the RT_STATUSnn table for that job. This is updated periodically by the running job. If you kill the job, the "status" column can not be updated by the running job. This is why the job appears still to be running. This is also why ev...
by ray.wurlod
Mon Jul 21, 2003 5:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to do Row Convention in DataStage?
Replies: 5
Views: 2377

I think you'll be surprised how fast the UNION (or UNION ALL) approach works, provided you don't include an ORDER BY clause in it.
by ray.wurlod
Mon Jul 21, 2003 5:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File
Replies: 2
Views: 609

The second one. All writes to hashed files are destructive overwrites of the entire row.


Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518