Search found 41 matches

by bandish
Tue Feb 20, 2007 3:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capture Error Message in Server Routine (Transform Function)
Replies: 5
Views: 2577

In the routine I can use the following functions to fetch log entries: 1. DSGetLogEntry Function 2. DSGetLogSummary Function 3. DSGetNewestLogId Function But in a particular job there can be multiple fatal errors. So, how to fetch the exact EventID for fatal error which has the Error code : 1017 and...
by bandish
Tue Feb 20, 2007 1:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capture Error Message in Server Routine (Transform Function)
Replies: 5
Views: 2577

Capture Error Message in Server Routine (Transform Function)

Hi, I need to populate two columns ERR_C ERR_MSG_T ERR_C will contain the error code describing the exception condition which caused the job to abort. ERR_MSG_T will have the error message of the exception condition which caused the job abort. For example: ERR_C=01017 ERR_MSG_T=Invalid Username/Pass...
by bandish
Tue Jan 02, 2007 9:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Function to Replace a string with replacement string ?
Replies: 11
Views: 6715

My requirement is String Replacement. So convert will not work.

For Ex:

Replace "ABC" with "PQRST"

Input String: ABCXYZABC
Output String: PQRSTXYZPQRST
by bandish
Tue Jan 02, 2007 12:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Function to Replace a string with replacement string ?
Replies: 11
Views: 6715

We should have a function similar to Ereplace in Parallel jobs too .. ! So there are two options to implement it: 1. Use Basic transformer in Parallel job. 2. Write a parallel rouitne in C to accomplish the same. Option 1, Basic transformer will slow down the performance of parallel job, If I am not...
by bandish
Fri Dec 29, 2006 11:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Function to Replace a string with replacement string ?
Replies: 11
Views: 6715

Function to Replace a string with replacement string ?

Do we have a function in Parallel jobs to replace every occurrence of a string with replacement string?

Example:

Replace "ABC" with "PQR"

Input String: ABCXYZABC
Output String: PQRXYZPQR
by bandish
Tue Dec 26, 2006 1:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TIMESTAMP(6) converted to Unknown while loading Metadata
Replies: 7
Views: 2614

bandish Posted: Sat Dec 23, 2006 6:57 am -------------------------------------------------------------------------------- I would like to know, why DataStage is unable to identify a TIMESTAMP(6) column while importing metadata ? If Datatype of this column is specified to TimeStamp, Length = 38, Sca...
by bandish
Sat Dec 23, 2006 6:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TIMESTAMP(6) converted to Unknown while loading Metadata
Replies: 7
Views: 2614

I would like to know, why DataStage is unable to identify a TIMESTAMP(6) column while importing metadata ?

If Datatype of this column is specified to TimeStamp, Length = 38,
Scale = 6, we are able to view data and run our jobs.
by bandish
Sat Dec 23, 2006 6:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to handle the warnings when using the stingTodate
Replies: 8
Views: 3358

There might be NULL values in the input column.
by bandish
Wed Dec 06, 2006 11:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TIMESTAMP(6) converted to Unknown while loading Metadata
Replies: 7
Views: 2614

TIMESTAMP(6) converted to Unknown while loading Metadata

Hi, In the Database we have Timestamp Fields with Datatype TIMESTAMP(6). When I imported this table definition to Datastage using Datastage Manager, it got Converted to Unknown Datatype with Length Not Specified and Scale = 6. Now when we try to view data from this table in datastage, we get the fol...
by bandish
Wed Dec 06, 2006 3:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Script to assign default value to an ENVIRONMENT Variable?
Replies: 1
Views: 888

Script to assign default value to an ENVIRONMENT Variable?

Hi,

Can we write a script to assign default value to Datastage ENVIRONMENT variables?

If yes, then is it a good practice or not ?

Bandish
by bandish
Mon Aug 07, 2006 4:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Input Error --> Xalan fatal error: Expected equal sig
Replies: 12
Views: 11278

No its still pending !
Just trying out by decreasing the size of my original xml file.
by bandish
Fri Aug 04, 2006 5:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Input Error --> Xalan fatal error: Expected equal sig
Replies: 12
Views: 11278

Format details are as below:

Code: Select all

Record Level
Final Delimiter = none
Record Delimiter = null

Field Defaults
Delimiter = none
Quote = none
Thanks
Bandish
by bandish
Fri Aug 04, 2006 4:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Input Error --> Xalan fatal error: Expected equal sig
Replies: 12
Views: 11278

I am able to run the job and load into a dataset using xml doc provided by you !
I think you are missing something in the format tab of source Sequential file.

Thanks
Bandish
by bandish
Fri Aug 04, 2006 3:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Input Error --> Xalan fatal error: Expected equal sig
Replies: 12
Views: 11278

On the Stage --> General tab , have you checked the options to not reject fatal or error records. I think thats why you are not getting any warnings.

Will try the design suggested by you.