Search found 20 matches

by in_finity307
Tue Jul 06, 2010 10:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pattern matching
Replies: 8
Views: 5334

Okay. Thanks again :-)

Could you please suggest a way to implement the above logic?
by in_finity307
Tue Jul 06, 2010 10:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pattern matching
Replies: 8
Views: 5334

I am sorry, this is for a parallel job. My mistake, i didn't see the forum name. I don't know how to move it to the parallel forum.

Thanks if you could move it to the right forum.
by in_finity307
Tue Jul 06, 2010 9:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pattern matching
Replies: 8
Views: 5334

Pattern matching

Hi, I have the following requirement. There is a table containing some patterns like _ _ _ A B C A _ _ * * * A B C * * * Now, from the input stream, lets say we get an input field value as X Y Z A B C. We have to do pattern matching for this record using the following rules. 1) We check if the lengt...
by in_finity307
Thu Feb 18, 2010 2:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Server Batch Job aborting in DS 8.1
Replies: 2
Views: 1917

Server Batch Job aborting in DS 8.1

Hello, I have written a Server batch job in datastage Enterprise Edition. It was running fine in the previous projects. Now I have created a new project on the same Datastage Server but now the Server job is aborting with the error: Attempting to Cleanup after ABORT raised in job JC_RUN_BATCH_R2_KCH...
by in_finity307
Wed Feb 03, 2010 2:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Searching for %Value% in a lookup table
Replies: 8
Views: 4554

No, I haven't used a sparse lookup. I have included the lookup condition in the SQL Query itself. I haven't used a lookup stage in Datastage.

Check out the query I have posted earlier.
by in_finity307
Mon Feb 01, 2010 3:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Searching for %Value% in a lookup table
Replies: 8
Views: 4554

Thanks for the reply. But I solved it another way. I inserted the values in table B by enclosing the column B values within the wildcard characters '%' . For example, instead of inserting 'MB', I inserted '%MB%' and then wrote the following SQL Query Select * from A, B where A.A like B.B I guess thi...
by in_finity307
Mon Feb 01, 2010 12:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Searching for %Value% in a lookup table
Replies: 8
Views: 4554

Searching for %Value% in a lookup table

Hello, I have a requirement to implement the following logic. if column A from table A is like '%columnB%' from table B return target value from B Here A is the primary table, B is the reference / lookup table. This means that if column A from table A has the value 'A MB C' and column B from table B...
by in_finity307
Fri Jan 22, 2010 8:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading Column names with spaces in between
Replies: 4
Views: 3276

Name containg #

I have another problem now. The Column name is 'Customer #'.
I am reading it as

SELECT [Customer #] as Customer from XXX

in the ODBC Connector stage. But on running the job, the job aborts giving the error thet 'Execute failed don the Select statement'.

Any workaround for this>?
by in_finity307
Wed Oct 21, 2009 7:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading Column names with spaces in between
Replies: 4
Views: 3276

the source database is Microsoft Access.
by in_finity307
Wed Oct 21, 2009 7:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading Column names with spaces in between
Replies: 4
Views: 3276

Reading Column names with spaces in between

Hi, I am trying to read data from a table which has column names defined as [Original Cost] on a source system. I am using an ODBC Connector Stage to write a select query like 'Select A."Original Cost" as Original_Cost from A". But I am getting an error for incorrect syntax. How can w...
by in_finity307
Wed Jun 17, 2009 6:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running a stored procedure through datastage
Replies: 4
Views: 3015

Running a stored procedure through datastage

Hi,

I have a stored procedure with no input and output parameters. I want to call it through a Datastage job. Which stage can be used?
by in_finity307
Wed Jun 17, 2009 6:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Four update SQLs in one DS job
Replies: 8
Views: 3575

Thanks. I used the SQL Enterprise stage and the CASE statement worked fine in it.
by in_finity307
Fri Jun 12, 2009 12:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Four update SQLs in one DS job
Replies: 8
Views: 3575

I mean that there are 4 conditional updates on the table. I can execute them on the database using the CASE statement, but ODBC connector does not accept the CASE synatx.
by in_finity307
Thu Jun 11, 2009 11:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Four update SQLs in one DS job
Replies: 8
Views: 3575

Four update SQLs in one DS job

Hi, I need to execute 4 update SQLs on the same table in SQL Server database in a DS job. I cannot put the 4 Update SQLS together in one ODBC Connector stage. I want the SQLS to execute one after the other because if the SQLs are fired simulatneously, then a deadlock of table occurs. If I use 4 diff...
by in_finity307
Fri May 22, 2009 3:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Replicating Input Records based on a column value
Replies: 8
Views: 2721

The maximum length in the database is defined as 2000