Search found 53125 matches

by ray.wurlod
Fri Aug 15, 2003 6:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CRLF at the end of a record
Replies: 2
Views: 694

It's simply not possible with WriteSeq, since this statement "writes a line to the operating system file". A line ends with the appropriate end-of-line character for that operating system. What you can do is append the LF character yourself to the line of data you wish to write, and use the WriteBlk...
by ray.wurlod
Fri Aug 15, 2003 6:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dropping and Recreating Table
Replies: 8
Views: 1236

Is it not possible to set a default schema (and owner, if apposite) name as an environment variable? If so, this would get around your problem. Otherwise, if you add the schema name to the table name field in the stage type, then surely the generated DDL would include the schema name. Normally, when...
by ray.wurlod
Fri Aug 15, 2003 6:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to pick first/ last CHAR value based on key
Replies: 12
Views: 2282

(Vladimir) It is true that server jobs can be encapsulated in shared containers and these can then be used in parallel jobs, though there are some restruictions. Even though you don't have PX licensed, you do have the Parallel Job Developer's Guide installed with your DS client software and so can r...
by ray.wurlod
Fri Aug 15, 2003 6:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sensing for a particular field value in source
Replies: 13
Views: 1264

Stephan, Another thing you can do, which I sometimes do with code in these posts, is to precede it with the <pre> tag (pre-formatted) and follow it with the </pre> tag. For example: LOCATE Arg1 In CodeList By "AL" Setting Location Else Ins Arg1 Before CodeList End Craig, Anything is poss...
by ray.wurlod
Fri Aug 15, 2003 3:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NT - Unix portability
Replies: 1
Views: 840

Yes. The main things to watch out for are pathnames (which should be job parameters anyway), calls to ExecDOS (which must become calls to ExecSH on UNIX), and calls to DSExecute to invoke operating system commands (parameterize the Shell argument, or use System(91) to determine the platform). Ray Wu...
by ray.wurlod
Fri Aug 15, 2003 3:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Version Control
Replies: 4
Views: 1084

1. Yes. Read about Custom Folders in the Version Control manual. 2. Yes, you can separate them by the batch number under which they were imported into Version Control, or by the auto-incrementing version number that Version Control applied because the names were the same. 3. Yes. Whenever you want t...
by ray.wurlod
Fri Aug 15, 2003 3:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sensing for a particular field value in source
Replies: 13
Views: 1264

This stuff is all HTML-based. I suspect it's seeing your < as the beginning of an HTML tag. You can use & L T ; (with no intervening spaces) to represent < and, similarly, & G T ; for >.
by ray.wurlod
Fri Aug 15, 2003 3:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to pick first/ last CHAR value based on key
Replies: 12
Views: 2282

The whole point of PX is to avoid touching down on disk wherever possible. A data set, in PX, is essentially a memory resident table. But it is not accessed via SQL.
by ray.wurlod
Fri Aug 15, 2003 3:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transaction Handling
Replies: 6
Views: 1654

The table name is a property of the link, not of the stage.
A stage connects to a database instance. A link connects to a table.
by ray.wurlod
Fri Aug 15, 2003 12:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to pick first/ last CHAR value based on key
Replies: 12
Views: 2282

The "trick" that Vladimir described works because all writes to hashed files are destructive overwrites. However, parallel jobs do not have a hashed file stage, so you need to write to some kind of data set or table with a "replace existing rows" rule, for example a DataSet stage with "Overwrite" as...
by ray.wurlod
Thu Aug 14, 2003 11:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transaction Handling
Replies: 6
Views: 1654

You don't get transaction grouping with multiple stages. You can only get transaction grouping with multiple inputs into the same passive (for example ODBC) stage. You can have multiple outputs from a Transformer stage running into the same passive stage. +------+ +------+ | | -----> | | ----->| Tfm...
by ray.wurlod
Thu Aug 14, 2003 11:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sensing for a particular field value in source
Replies: 13
Views: 1264

Aha! In DataStage BASIC, NULL always takes the ELSE path, on the grounds that it can't be asserted to be true. Therefore, field 'Y' as an output constraint will not select rows where field IS NULL.
by ray.wurlod
Thu Aug 14, 2003 8:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: partitionaer and collector
Replies: 5
Views: 1093

Link Partitioner and Link Collector stage types (and IPC stage too) are only for server jobs, but they provide functionality for server jobs that is inherent in parallel jobs. Yes, you do need multiple transformers. At 6.0 there is not copy and paste, so you need to be careful, or embed the transfor...
by ray.wurlod
Thu Aug 14, 2003 5:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sensing for a particular field value in source
Replies: 13
Views: 1264

If other values than 'Y' and 'N' can exist, simply change the logic to where field 'Y'.[:D]

Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
by ray.wurlod
Thu Aug 14, 2003 4:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal termination of stage (Solved)
Replies: 14
Views: 3336

The Aggregator stage does not request all the memory it requires up front, because it can not know a priori how many distinct values it will need to group. Instead, it allocates an initial space (default 8KB), then increments this by a small multiplier (default 2) until a particular threshhold is re...