Search found 15603 matches

by ArndW
Mon Aug 21, 2006 4:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write failed record ID
Replies: 10
Views: 2352

elavenil wrote:..Is there any way to handle this situation?...

We don't know what the situation is yet, so it cannot really be handled. Is the error now reproduceable or has it not happened again?
by ArndW
Mon Aug 21, 2006 4:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Intermittent Abnormal Abort - Messages From Previous Run
Replies: 5
Views: 1387

I looked at
Fault occurred in BASIC program DSD.BCIPut at address 64a."
to get that information. If you replace your database output with a sequential file output and the error goes away then you have ruled out the XML input.
by ArndW
Mon Aug 21, 2006 4:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieve Warning messages at run time
Replies: 17
Views: 4544

The easiest method is to capture those rejected records with their warning messages from the job itself and write them to a sequential file. This can then be used for error tracking. It is much easier to implement and maintain than a separate job that extracts warning messages from log files and the...
by ArndW
Mon Aug 21, 2006 4:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Joblogging
Replies: 12
Views: 4003

The easiest way is to have the after job routine create a text file with the information, then call up a DataStage job which loads that to a table.
by ArndW
Mon Aug 21, 2006 4:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Intermittent Abnormal Abort - Messages From Previous Run
Replies: 5
Views: 1387

Hello JonD,

If you are at 7.5 then the error is at the SQL execution of a internal "SQLParamOptions" call. So it seems to be a problem with the write to your output database.
by ArndW
Mon Aug 21, 2006 3:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Truncate in DB2
Replies: 11
Views: 8256

I know it might sound silly, but what if you explicitly add a semicolon to your statement?
by ArndW
Mon Aug 21, 2006 3:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieve Warning messages at run time
Replies: 17
Views: 4544

Re: retrieve warning messages

.. so plz gimme suggestions. Do you mean to say "please give me suggestions"? Or did I misunderstand? First off, are you trying to analyze or act on these warnings from another job or within the job itself? DSGetLogSummary() can be called from a routine or the same functionality can be called from ...
by ArndW
Mon Aug 21, 2006 3:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to abort the job
Replies: 11
Views: 4275

The DSLogFatal is not called as a function but as a routine, which is why you are getting the error. I would recommend putting a transform output link into your job that is set to fail the job if any rows go down that link; this is simple to do and easy for people looking at the job to understand.
by ArndW
Mon Aug 21, 2006 3:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write failed record ID
Replies: 10
Views: 2352

Are you deleting & re-creating your file at each run? If you are, perhaps you had a corrupted file on the previous error run. If your key value is 100% free of control characters then a broken file is the most likely explanation for a failed write. Also, are you buffering your writes to the hash...
by ArndW
Mon Aug 21, 2006 3:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieve Warning messages at run time
Replies: 17
Views: 4544

You might get better answers if you explain in more detail. When writing to certain database stages you can capture the SQL error information in a transform stage before that link and redirect this to other output links. Is this what you wish to do?
by ArndW
Fri Aug 18, 2006 9:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: replacing
Replies: 11
Views: 2897

Ray - but he also want to replace all "<" with "&LT" and once ereplace won't do that.
by ArndW
Fri Aug 18, 2006 9:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Joblogging
Replies: 12
Views: 4003

It is much easier to log the job runtime informater after the job has finished, then you can use the documented calls such as DSGetJobInfo() to return this information.
by ArndW
Fri Aug 18, 2006 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: replacing
Replies: 11
Views: 2897

The convert and ereplace functions won't work in this , since you are dealing with multiple strings of different lengths. You can't use CONVERT since that replaces characters 1-for-1. You can sequential conversions in stage variables, i.e. Var1 = EREPLACE(In.Column,'<','&LT') then Var2 = EREPLAC...
by ArndW
Thu Aug 17, 2006 10:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 API DOUBLE THE RECORDS
Replies: 7
Views: 1422

Kumar, I opened up the stage in designer and tried to change it, plus looked at the documentation and didn't find anything regarding a "round robin" allocation for DB/2 and find that it doesn't really make logical sense, but then again, very little makes sense to me (I always walk around work confus...
by ArndW
Thu Aug 17, 2006 10:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Record count from datasets
Replies: 7
Views: 3263

kumar_s wrote:$dsrecords ds_name

Thanks, that is probably more efficient than firing up the whole orchadmin.