Search found 91 matches

by suse_dk
Fri Oct 21, 2011 1:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: insert or upsert the records based on condition
Replies: 1
Views: 1518

One job. Two output links from the transformer based on the conditions you mention, each link ends in a connector. So, you'll have a connector for inserts and one for upserts.
by suse_dk
Thu Oct 20, 2011 5:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Heap allocation error - ODBC stage
Replies: 6
Views: 3345

Are you able to run your job on just a single node?
by suse_dk
Thu Oct 20, 2011 5:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Enterprise cannot able to read "Date" datatyp
Replies: 5
Views: 2787

The mapping for the DATE type from Oracle is described to be timestamp in the connectivity guide from Oracle (Oracle Enterprise stage)

Just guessing that it might be the same when using the ODBC Enterprise stage.
by suse_dk
Thu Oct 20, 2011 4:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Enterprise cannot able to read "Date" datatyp
Replies: 5
Views: 2787

Which stage/connector are you using? ...and from which database are you trying to extract data from?
by suse_dk
Wed Oct 19, 2011 6:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate key error in transformer
Replies: 10
Views: 4982

The state file was introduced on DS v.8, and does not exist on v.7x

However you can create a new state file using the surrogate key generator stage and assign an initial value for the file.
by suse_dk
Wed Oct 19, 2011 3:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Record delimiter string vs final delimiter string
Replies: 4
Views: 4279

example:

Field delimiter ','
Final delimiter '|'
record delimiter '\'

...having 3 fields would then give:

test1,test2|test3\
by suse_dk
Mon Oct 17, 2011 12:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning level in Datastage jobs
Replies: 2
Views: 3762

I think it is per session and not per user the warning limit are set.

Another option could perhaps be to use the function DSSetJobLimit?
by suse_dk
Mon Oct 17, 2011 12:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Caching in Lookup stage
Replies: 2
Views: 1313

That is a sparse lookup in DataStage... and I think the Oracle Enterprise Stage supports it.
by suse_dk
Sun Oct 16, 2011 3:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Capture Stage Behaviour
Replies: 4
Views: 8263

The CDC stage cannot handle duplicate keys. You'll need to remove duplicates before processing datasets.
by suse_dk
Thu Oct 13, 2011 4:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Could not see the table while importing the table in DS
Replies: 4
Views: 2445

...and your user are still connected to SQL server when you try to import the table?
...and the DS user have the right permissions for the database?
by suse_dk
Thu Oct 13, 2011 2:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Could not see the table while importing the table in DS
Replies: 4
Views: 2445

Did you create a local or global tmp table?
by suse_dk
Wed Oct 12, 2011 12:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC stage doesn't run valid SQL statement
Replies: 5
Views: 42923

You can use the WITH clause in the ODBC connector, for instance this CTE works... WITH Emp_CTE AS ( SELECT EmployeeID, ManagerID, Title, EmployeeID AS HighParent, 'Y' AS HighestLevel, 0 AS Level FROM dbo.MyEmployees WHERE ManagerID IS NULL UNION ALL SELECT e.EmployeeID, e.ManagerID, e.Title, ecte.Hi...
by suse_dk
Mon Oct 10, 2011 7:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 IN clause
Replies: 10
Views: 8059

What can I say... using the ODBC connector stage and extracting from a SQL server database the it works.

p_List parameter defined in job properties: "001","002"

OCBD Connector:

SELECT ...
FROM ....
WHERE DER_AUTH_CD IN (#p_List#)
by suse_dk
Mon Oct 10, 2011 6:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 IN clause
Replies: 10
Views: 8059

Well... neither does SQL server - however this actually works on SQL server...
Try it out!
by suse_dk
Mon Oct 10, 2011 5:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 IN clause
Replies: 10
Views: 8059

You can also have a list of sting values passed as a parameter, you just have to put each of them in "" (that is the double quote character and NOT just two adjendent single quotes)