Search found 53125 matches

by ray.wurlod
Thu Nov 29, 2007 2:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to peorfrm insert and update using merge stage?
Replies: 2
Views: 851

Is this a server job question (you posted in the server edition forum) or a parallel job question (you marked the job type as parallel)? Merge stage in the two different editions performs radically different tasks. Why are you insisting particularly on the Merge stage anyway? It's almost certainly n...
by ray.wurlod
Thu Nov 29, 2007 2:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Query regarding Lookup Stage
Replies: 2
Views: 1362

Most lookups performed by a Lookup stage are "in-memory" lookups, in that the reference table is pre-loaded into a virtual Data Set. This is manifested as a composite operator consisting of LUT_CreateOp and LUT_ProcessOp operators; the first loads the table, the second uses it to perform lookups. Yo...
by ray.wurlod
Thu Nov 29, 2007 2:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read Continous Records, No delimeter
Replies: 4
Views: 908

All you need is no Record Delimiter property, and Record Length = Fixed on the Format tab (and, by implication, First Line is Column Names = False on the Properties tab). When importing the table definition for the Sequential File, you specify that it is fixed width format, and the width of each col...
by ray.wurlod
Thu Nov 29, 2007 1:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Needs to remove duplicate words with in the column
Replies: 1
Views: 823

Only with a custom routine or Build stage. The algorithm (psuedocode) would look something like:

Code: Select all

resultarray initialized to empty
foreach word in string
   if ! (word exists in resultarray)
      add word to resultarray
   endif
end foreach
by ray.wurlod
Thu Nov 29, 2007 1:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: @VM logic In PX
Replies: 2
Views: 1291

The BASIC Matches operator is not being used for pattern matching in your example. Even in a server job I would not have used it. Your logic is more efficiently satisfied (in either environment, server or parallel) by: If vProdCode ="B" Or vProdCode = "C" Then "1100" El...
by ray.wurlod
Thu Nov 29, 2007 1:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running server on Version 8 Enterprise - Mutex error
Replies: 1
Views: 1459

Welcome aboard. Mutex locks are one way that semaphores are implemented. You can search the forum for examples. You don't actually wait on a mutex lock - you "spin" (keep re-trying until you obtain the lock). Whatever has happened has taken too long; more time than is permitted. It could be a wait o...
by ray.wurlod
Thu Nov 29, 2007 1:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Looping a Job on Windows
Replies: 12
Views: 3390

You can most easily accomplish this with a job control routine. Where do the twelve sets of parameter values come from? The following example assumes one set of parameter values per line in an input file. $IFNDEF JOBCONTROL.H $INCLUDE DSINCLUDE JOBCONTROL.H $ENDIF $INCLUDE UNIVERSE.INCLUDE FILEINFO....
by ray.wurlod
Thu Nov 29, 2007 1:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to convert the date format yyyy-mm-dd to dd-mm-yyyy
Replies: 4
Views: 1638

Or just move the substrings around.

Code: Select all

InLink.TheDate[9,2] : "-" : InLink.TheDate[6,2] : "-" : InLink.TheDate[1,4]
by ray.wurlod
Thu Nov 29, 2007 1:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: is there any command to export all jobs log to a text file i
Replies: 3
Views: 1333

No. Each job log is a separate database table in the Repository.

I guess you *could* theoretically create a UNION ALL of all those tables, but I suspect you would hit some command line length limit for a sufficiently large number of jobs.
by ray.wurlod
Wed Nov 28, 2007 7:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: About trim function
Replies: 7
Views: 1675

No. You need one Trim() function per character.

You may like to Search the forum for a parallel version of the Ereplace() function.
by ray.wurlod
Wed Nov 28, 2007 3:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: where to find WSPack ?
Replies: 16
Views: 5184

"Free". Is this true in version 7, or only in version 8?
by ray.wurlod
Wed Nov 28, 2007 3:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to import a table definition from a sequential file
Replies: 6
Views: 1445

When importing an Oracle table definition prefer the Orchestrate ( orchdbutil ) method. This is known to import the metadata, particularly for decimal numbers, more accurately than other methods. There is no published tool, either IBM or third party, for importing a table definition from DDL. This i...
by ray.wurlod
Wed Nov 28, 2007 3:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Internal data error
Replies: 10
Views: 2974

It's not a 2GB problem; otherwise the BLINK address would have been 0x80000000. The file may be repairable using fixtool; again, run this under advice from your support provider. Take a backup copy of DS_JOBOBJECTS before attempting any form of repair. Even the repair tool may have to discard some d...
by ray.wurlod
Wed Nov 28, 2007 3:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DRS Stage Rows Affected - Netezza
Replies: 1
Views: 1011

You might try the output link variable LASTERR.

Otherwise, create a routine (possibly an after-job routine) to read the dbase log and write the message into the DataStage log. It ought not to be too difficult.
by ray.wurlod
Wed Nov 28, 2007 3:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformers columns and value
Replies: 8
Views: 1778

Column values only exist while a row is being processed. They are not stored anywhere within DataStage. Therefore the answer to your original question is that it is not possible to "get" the values other than within the job design itself, as others have noted.