Search found 42189 matches

by chulett
Tue Jul 26, 2005 1:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Table Definition Migration or Promotion
Replies: 5
Views: 1411

Version Control.
by chulett
Tue Jul 26, 2005 8:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Flat file clear and append
Replies: 13
Views: 3132

The job runs twice a day , and when it runs i have 18 links comming out. Instead of writing to different files and merging or concatenating the files, I am trying to write them to one file with all append option but this file needs to be cleared everytime as this is a full data extraction and not i...
by chulett
Mon Jul 25, 2005 10:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Flat File as intermediate vs Hash Table; which may be faster
Replies: 8
Views: 2728

The fastest method would be to not land the data on disk at all, going straight to the output stage writing to DB/2 You might be surprised how often that is not the case in a Server job. Can't speak directly to DB2, but take an Oracle job with two OCI stages with a Transformer in between. Nothing f...
by chulett
Mon Jul 25, 2005 9:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Return code 141 from 'dsjob -jobstatus'
Replies: 8
Views: 2432

I haven't ask "them" yet.
by chulett
Mon Jul 25, 2005 6:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Not Updating the Existing rows in the Database
Replies: 6
Views: 1141

The key columns are only used for the Update action. As noted, unless the Insert fails the update will never happen. The failure that is expected to trigger the insert is from some kind of unique constraint violation - without anything like that in your target table you should not be using that acti...
by chulett
Mon Jul 25, 2005 5:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Return code 141 from 'dsjob -jobstatus'
Replies: 8
Views: 2432

Thanks, that's something I am seriously considering having the ^M folks do. :wink:
by chulett
Sun Jul 24, 2005 9:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Array Size and its effect on OCI error reporting
Replies: 6
Views: 1866

I built some specific test cases and they are showing a problem with the Array Size set to anything other than 1. Sent 200 rows to an Oracle target and used an array size of 100. Made sure two of the rows (13,69) in the first 100 would be bad and cause an ORA-01400 'cannot insert null' failure. It w...
by chulett
Sun Jul 24, 2005 7:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: char to integer32
Replies: 6
Views: 1965

Umm... nothing. :? There's nothing wrong with what's happening. Any number of character zeroes sent to an integer field will become a numeric zero.

About the only way to 'avoid this transformation' would be to redefine your target field to be character as well.
by chulett
Sun Jul 24, 2005 1:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Function calls in Batch script
Replies: 3
Views: 1047

Again, refer to the Command Line Interface help. Both #1 and #2 are achieved using the dsjob command, while #3 is just a call to whatever you've got installed to handle email based on a returned status code. Something like blat for a Windows server, for instance.
by chulett
Sun Jul 24, 2005 1:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Return Codes
Replies: 1
Views: 685

Re: Return Codes

naveendronavalli wrote:Can Datastage return error codes to the calling batch (.BAT) script?

Sure, check the Command Line Interface section of the Server Job Developer's Guide - specifically the -wait and the -jobstatus options of the dsjob command.
by chulett
Sun Jul 24, 2005 7:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Return code 141 from 'dsjob -jobstatus'
Replies: 8
Views: 2432

You don't have to, but you are correct that I in fact do have a script involved here. Not sure how it could have changed what came back from the job, but I'll certainly ponder that. Perhaps involve my SAs...
by chulett
Sat Jul 23, 2005 2:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Batch scripts for DataStage
Replies: 1
Views: 878

Click me -> :D <- for one example. Yes, it's a UNIX script - but it should give you an idea or two.
by chulett
Sat Jul 23, 2005 8:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Array Size and its effect on OCI error reporting
Replies: 6
Views: 1866

Array Size and its effect on OCI error reporting

Is anyone finding that in more recent versions of DataStage and the OCI stages (say, 7.x) that there is still a problem with error reporting and the array size? In the past, if you wanted ORA errors to be properly reported you needed to leave the Array Size at 1. That way if it said you had three du...
by chulett
Sat Jul 23, 2005 6:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: STAGESTARTTIMESTAMP , STAGEENDTIMESTAMP
Replies: 9
Views: 1682

Nope. Unless there are dependant sections in your job and you are checking from the 'other side' of the dependancy, none of the stages complete until the job completes.
by chulett
Fri Jul 22, 2005 7:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Scheduling jobs with CNTRL-M
Replies: 2
Views: 1031

Typically, people 'wrapper' their call to dsjob in a nice little package (like a Korn shell script or batch file) to make the call more robust. You'll find at least one example posted in the forum. Ours, for example and amongst other things, verifies the project and job, resets the job if needed, bu...