Search found 53125 matches

by ray.wurlod
Wed Oct 27, 2004 3:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Assigning sequential numbers with some conditions
Replies: 4
Views: 1405

But what happens when you process the 101st Type B ?
by ray.wurlod
Wed Oct 27, 2004 3:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Runnig multiple SQL statment in DB2 stage
Replies: 1
Views: 783

I'd recommend separate DataStage jobs for each step. The results of Step 1 are stored in a file (text file, hashed file, doesn't really matter) which becomes the input for Step 4 and Step 5. You didn't specify what Step 2 and Step 3 do, it may be needed there too. Wrap a job sequence around the lot,...
by ray.wurlod
Wed Oct 27, 2004 3:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading columns in the target database
Replies: 1
Views: 953

Of course there is, and you do it the same way you'd do it with SQL. Insert the first batch of rows, with suitable default values for those columns to be loaded in the second pass. In the second pass, update the rows with appropriate column values, but only for the columns you need to update. In thi...
by ray.wurlod
Wed Oct 27, 2004 3:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: linking tables in target database
Replies: 1
Views: 886

Not sure what you mean by "link". In DataStage, there is no awareness of relationships between tables, though this information is captured when you import a table definition. Effectively you have two choices. You can update both tables in the one job, putting the same value into column A in each tab...
by ray.wurlod
Wed Oct 27, 2004 3:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can we use a Parallel shared container inside a Server Job
Replies: 1
Views: 841

If you don't have the Parallel Extender software installed, the answer is a definite NO. If you do have the Parallel Extender software installed, the answer is still, as far as I am aware, NO. What you could do, on the other hand, is to effect parallelism in your server job by using parallel streams...
by ray.wurlod
Wed Oct 27, 2004 3:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Table Select and Update
Replies: 1
Views: 969

Take a look at how these stages are set up. Updates and inserts are handled on the Inputs tab of the stage. This means that they would occur first. Selects occur on the Outputs tab. This means that, if the stage has inputs and outputs, the Select operation occurs last. I read between the lines in yo...
by ray.wurlod
Wed Oct 27, 2004 5:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential File update based on field list
Replies: 4
Views: 1146

You're right, not simple. Where are you going to keep your flags? Does the on/off setting affect the location of a field in the text file record? I'd probably consider a routine, with two arguments, one of them being a dynamic array of your column data values and the other being a 163-character stri...
by ray.wurlod
Wed Oct 27, 2004 1:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting error : ds_loadlibrary: error in dlopen
Replies: 3
Views: 959

I've just tried exactly the same thing, but did not get the error. DS 7.1, Informix CLI stage connecting to Informix 9.31. View Data was totally successful. It seems odd that you can view the tables - and, presumably, import them - but not view the data. Can you try the import data again, but this t...
by ray.wurlod
Wed Oct 27, 2004 12:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting error : ds_loadlibrary: error in dlopen
Replies: 3
Views: 959

You haven't provided nearly enough information to allow accurate diagnosis. For example: What stage type are you using? If DRS, what access protocol (DB Type setting) are you using? Can you view the table from the DataStage server machine using any different software? Are all the settings (parameter...
by ray.wurlod
Wed Oct 27, 2004 12:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can not move the file
Replies: 5
Views: 1181

If the file already exists at the destination, MOVE will be trying to prompt for an "OK to overwrite" response (which you can't provide). Get around this by specifying the /Y switch. Otherwise, if the file is still open for reading or for writing by another process, MOVE will not succeed. In this ca...
by ray.wurlod
Tue Oct 26, 2004 9:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: folder size in affregator
Replies: 2
Views: 882

Welcome aboard! :D I'm not sure what you're asking here. The Aggregator stage tries as much as possible to do all its work in memory, so the concept of a folder doesn't really come into the discussion. Are you asking about tuning the amount of memory used by the Aggregator stage? If so, can you plea...
by ray.wurlod
Tue Oct 26, 2004 9:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Assigning sequential numbers with some conditions
Replies: 4
Views: 1405

You've made the statement of the problem too complex. What you need are separate sequences. You can initialize them how you will. You can create your sequences in stage variables, or use a routine such as KeyMgtGetNextValueConcurrent from the SDK, using a separate sequence name for each ITEM_TYPE. I...
by ray.wurlod
Tue Oct 26, 2004 8:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file in account/directory path
Replies: 4
Views: 1400

I also have no great preference. In my projects I generally arrange for the hashed files to be in a directory (or sometimes more than one, functionally grouped). This means that the project directory itself doesn't grow out of control! However, I also arrange for VOC pointers to exist so that UniVer...
by ray.wurlod
Tue Oct 26, 2004 4:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DATE COMPARISION in Transformer
Replies: 2
Views: 871

Welcome aboard! :D "DDMY" will be sufficient with Iconv(). See Date Conversion Demystified to learn why this is. Therefore your expression can be @DATE > Iconv(Ln_Histor_Data_In.FICHE_DEBUT_VALIDITE_CH, "DDMY") And @DATE < Iconv(Ln_Histor_Data_In.FICHE_FIN_VALIDITE_CH, "DD...
by ray.wurlod
Tue Oct 26, 2004 4:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Informix ODBC Drivers - Error
Replies: 1
Views: 1068

Informix ODBC drivers are notoriously finicky about matching versions. Check with your support provider, or with IBM (who now own Informix IDS), about whether you're using a correct version of the ODBC driver for your version of the database.